Nick22nd opened a new pull request #14343:
URL: https://github.com/apache/echarts/pull/14343


   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   <!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
   fix markArea background color disappearing when markArea inclued selected 
area 
   
   
   ### Fixed issues
   
   <!--
   - #xxxx: ...
   -->
   - #13647: When you select a area in the same color markArea, you will find 
the markArea background color disappear.
   
   ## Details
   
   ### Before: What was the problem?
   
   <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
   when selected area was included in markArea, then point would not meet 
condition that set allClipped to false. 
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
![13647-before](https://user-images.githubusercontent.com/30228906/109098532-8101af80-775c-11eb-87ef-37b770c279e0.png)
   
   
   
   ### After: How is it fixed in this PR?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. 
-->
   add condition that check if rectangle of markArea intersects the rectangle 
of display area.
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
![13647-after](https://user-images.githubusercontent.com/30228906/109098973-3e8ca280-775d-11eb-8d85-01f18ab2fde5.png)
   
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [ ] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   
   
   
   ### Related test cases or examples to use the new APIs
   
   NA.
   
   
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to