Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visualMap控制map组件的颜色BUG #8799

Closed
haojay5 opened this issue Aug 2, 2018 · 1 comment · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Closed

visualMap控制map组件的颜色BUG #8799

haojay5 opened this issue Aug 2, 2018 · 1 comment · Fixed by OpenTMI/opentmi-default-gui#32 or DeviaVir/zenbot#2011 · May be fixed by dyna-dot/iClient-JavaScript-s#1
Labels

Comments

@haojay5
Copy link

haojay5 commented Aug 2, 2018

One-line summary [问题简述]

visualMap控制map组件的颜色,在数据中添加 visualMap: false属性控制部分数据不被visualMap控制,表现是并不是只有添加了这个属性的数据不被visualMap控制,而是之后的所有数据都不被visualMap控制了

Version & Environment [版本及环境]

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

Expected behaviour [期望结果]

_20180802115959

以上是官方示例

ECharts option [ECharts配置项]

option = {
 series : [
        {
            name: 'World Population (2010)',
            type: 'map',
            mapType: 'world',
            roam: true,
            itemStyle:{
                emphasis:{label:{show:true}}
            },
            
            data:[
                {name : 'Afghanistan', value : 28397.812},
                {name : 'Angola', value : 19549.124, visualMap: true},
                {name : 'Albania', value : 3150.143},
                {name : 'United Arab Emirates', value : 8441.537},
                {name : 'Argentina', value : 40374.224, visualMap: false},
                {name : 'Armenia', value : 2963.496},
                {name : 'French Southern and Antarctic Lands', value : 268.065},
                {name : 'Australia', value : 22404.488},
                {name : 'Austria', value : 8401.924},
                {name : 'Azerbaijan', value : 9094.718},
}

Other comments [其他信息]

@Ovilia Ovilia added the pending We are not sure about whether this is a bug/new feature. label Aug 3, 2018
@lixuguang
Copy link

lixuguang commented Dec 30, 2018

我也遇到了这个问题,请问有解决方案么?
I also meet this problem,did you have solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants