spirit-boy-guan opened a new issue, #18640:
URL: https://github.com/apache/echarts/issues/18640

   ### What problem does this feature solve?
   
   ```
   visualMap: [
     {
       pieces: [
          {gt: 100, lte: 200, color: 'red'},
         {gt: 150, lte: 300, color: 'blue'}
       ],
      }
    ]
   ```
   对于折线图,当pieces 区域重叠时,echarts会自动合并pieces, 当pieces颜色不同时,合并规则是:
   1、完全覆盖,展示区域大的peice
   2、覆盖:优先展示前面的piece
   
   ### What does the proposed API look like?
   
   pieces: [
       {gt: 100, lte: 300, color: 'red', level: 2},
       {gt: 150, lte: 200, color: 'blue', level: 1}
   ],
   优先展示优先级高(这里为1)的piece


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