You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/07/23 14:12:25 UTC

[GitHub] [echarts] susiwen8 commented on issue #15407: 当x轴为时间轴时,visualMap展示的颜色不对

susiwen8 commented on issue #15407:
URL: https://github.com/apache/echarts/issues/15407#issuecomment-885667858


   Little workaround for now
   
   ```js
                   visualMap: {
                       top: 50,
                           right: 10,
                               pieces: [
                                   {
                                       "gte": 300,
                                       "lt": 400,
                                       "color": "yellow"
                                   },
                                   {
                                       "gte": 400,
                                       "lt": 500, // add lt
                                       "color": "green"
                                   }
                               ],
                                   outOfRange: {
                           color: '#999'
                       }
                   },
   ```


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org