echarts icon indicating copy to clipboard operation
echarts copied to clipboard

visual map colors are not getting applied to chart

Open vasu-vvp opened this issue 8 years ago • 1 comments

One-line summary [问题简述]

visual map colors are not getting applied to chart

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

visual map colors should get applied to chart

ECharts option [ECharts配置项]

option = {
           "grid":[
            {
            
            }
        ],
        "xAxis":[
            {
                "type":"category",
                "data":["abc","pqr"],
                "show":true,
            }
        ],  
        "yAxis":[
                {
                    
                }
        ],
        "series":[
            {
            
                "type":"bar",
                "data":[
                    [
                        0,
                        783,
                        "3.423423369728052E32"
                    ],
                    [
                        1,
                        9219,
                        "3.423423503654365E26"
                    ]
                ],
            }
        ],

        "visualMap":[
        {
            "type":"piecewise",
            "seriesIndex":[],
            "dimension":2,
            "categories":[
                "3.423423503654365E26",
                "3.423423369728052E32"
            ],
            "inRange":{
                "color":[
                    "rgba(79,130,190,255)",
                    "rgba(232,196,15,255)"
                ]
        },
    }
],
};



Other comments [其他信息]

vasu-vvp avatar May 17 '18 13:05 vasu-vvp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 16 '20 13:05 stale[bot]