echarts-bot[bot] commented on issue #18640:
URL: https://github.com/apache/echarts/issues/18640#issuecomment-1552522291

   @spirit-boy-guan It seems you are not using English, I've helped translate 
the content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Feature] visualMap pieces Areas overlap
   
   **BODY**
   
   ### What problem does this feature solve?
   
   ```
   visualMap: [
     {
       pieces: [
          {gt: 100, lte: 200, color: 'red'},
         {gt: 150, lte: 300, color: 'blue'}
       ],
      }
    ]
   ```
   For line charts, when the pieces area overlaps, echarts will automatically 
merge the pieces, and when the pieces have different colors, the merging rules 
are:
   1. Complete coverage, peice with a large display area
   2. Overlay: display the previous piece first
   
   ### What does the proposed API look like?
   
   pieces: [
       {gt: 100, lte: 300, color: 'red', level: 2},
       {gt: 150, lte: 200, color: 'blue', level: 1}
   ],
   Prioritize the display of pieces with high priority (here 1)
   </details>


-- 
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.

To unsubscribe, e-mail: [email protected]

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