Closed cn-xufei closed 4 years ago
发现不使用geo的情况下是正常的 http://echarts.baidu.com/examples/editor.html?c=map-labels
@chfw 确实是有问题,使用如下代码,选中中间根本不好使,难道要采用 data 里面的 selected 吗? geo: { show: true, type: "map", map: "world", roam: false, nameMap: nameMap, label: { normal: { show: false, color: "#fff" }, emphasis: { show: true, color: "#fff" } }, itemStyle: { normal: { areaColor: "#0583e9", borderColor: "#1ab7fd" }, emphasis: { areaColor: "#2a333d" } }, regions:[{ name: '中国', itemStyle:{ areaColor: 'red' }, label:{ show: true } }] },
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.
One-line summary [问题简述]
设置地图标签的formatter,但是根本不起作用,string/function都试过,都没有被调用
Version & Environment [版本及环境]
Expected behaviour [期望结果]
能正常使用formatter
ECharts option [ECharts配置项]
Other comments [其他信息]