Incubator-echarts: scatter在地图中的颜色和设置的颜色不符

Created on 9 Feb 2020  ·  3Comments  ·  Source: apache/incubator-echarts

Version

4.3.0

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xUhovyiwR&v=1

Steps to reproduce

直接打开

What is expected?

scatter颜色为自己设置的颜色

What is actually happening?

scatter颜色不对

bug pending author

Most helpful comment

@AN-535 Since you've config visualMap. In series that controlled by visualMap, if a data item needs to escape from controlled by visualMap, you can set like this:

data: [{
       name: '拉萨',
       visualMap: false,
       value: geoCoordMap['拉萨'].concat([100]),
}],

refer to: https://www.echartsjs.com/en/option.html#visualMap

All 3 comments

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

@AN-535 Since you've config visualMap. In series that controlled by visualMap, if a data item needs to escape from controlled by visualMap, you can set like this:

data: [{
       name: '拉萨',
       visualMap: false,
       value: geoCoordMap['拉萨'].concat([100]),
}],

refer to: https://www.echartsjs.com/en/option.html#visualMap

close it since inactivity

Was this page helpful?
0 / 5 - 0 ratings