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/09/09 07:50:52 UTC

[GitHub] [echarts] AegeanSeaBlue opened a new issue #15698: 横向柱图visualMap颜色错误

AegeanSeaBlue opened a new issue #15698:
URL: https://github.com/apache/echarts/issues/15698


   ### Version
   5.2.0
   
   ### Steps to reproduce
   option = {
       xAxis: {
            type: 'value'
       },
       yAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       visualMap:[
           {
               type:'continuous',
               min:20,
               max:160,
               seriesIndex:0,
               inRange:{
                   color:['blue','red']
               }
           }],
       series: [{
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'bar'
       }]
   };
   
   ### What is expected?
   continuous inRange color
   
   ### What is actually happening?
   blue
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


[GitHub] [echarts] plainheart commented on issue #15698: 横向柱图visualMap颜色错误

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #15698:
URL: https://github.com/apache/echarts/issues/15698#issuecomment-916070217


   It seems to be working if you add `dimension: 0` into your `visualMap` option.


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


[GitHub] [echarts] AegeanSeaBlue closed issue #15698: 横向柱图visualMap颜色错误

Posted by GitBox <gi...@apache.org>.
AegeanSeaBlue closed issue #15698:
URL: https://github.com/apache/echarts/issues/15698


   


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


[GitHub] [echarts] echarts-bot[bot] commented on issue #15698: 横向柱图visualMap颜色错误

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15698:
URL: https://github.com/apache/echarts/issues/15698#issuecomment-915848651






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