-
Notifications
You must be signed in to change notification settings - Fork 19.8k
地图系列标签设置问题 #9682
Copy link
Copy link
Closed
Description
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}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.