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

地图系列标签设置问题 #9682

Closed
chengwubin opened this issue Jan 4, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@chengwubin
Copy link

commented Jan 4, 2019

General Questions

Issue Type

  • I have a question to ask about how to use ECharts to ...;我想提问如何使用 ECharts 实现某功能
  • I have a bug to report;我想要报 bug
  • I have a feature to request, e.g.: I'd like a new feature that ...;我需要一个新功能
  • I have a feature to enhance, e.g.: The current feature should be improved in the way that ...;我希望改进某个功能
  • There's something wrong with the documents;文档有些问题
  • Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型

Issue Details

地图label设置normal状态show为true,emphasis状态show为false
即正常状态下地图标签显示,高亮状态下标签不显示。但是并没有生效,高亮状态依然会显示标签。

Expected Behavior

期望地图标签的显示效果与配置一样在正常状态下显示,高亮状态下不显示

Current Behavior

使用下面提供的option内容,进入此页面:
http://www.echartsjs.com/gallery/editor.html?c=doc-example/map-example

Online Example

option = {
    title : {
        text: 'iphone销量',
        subtext: '纯属虚构',
        left: 'center'
    },
    series : [
        {
            name: 'iphone5',
            type: 'map',
            mapType: 'china',
            label: {
                normal: {
                    show: true
                },
                emphasis: {
                    show: false
                }
            },
            data:[
            ]
        }
    ]
};

Topics

  • Legend
  • Tooltip
  • Event
  • Performance
  • SVG
  • Map
  • ECharts GL
  • Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

Environment

  • ECharts version;ECharts 版本: {DESCRIBE_HERE}
    3.x 4.x
  • It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.