echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] i set the option: geo.select.label.formatter,but it doesn't take effect(geo的label配置了formatter没有效果,传入回调函数都不会触发console)

Open d602221169 opened this issue 4 years ago • 1 comments

Version

5.2.1

Link to Minimal Reproduction

No response

Steps to Reproduce

1.Open the example link on the Docs of echarts, url:https://echarts.apache.org/examples/zh/editor.html?c=geo-svg-map&version=5.2.1 2.change the option geo.select.label to : { show: true, formatter:function(param) { console.log(param) return param.name + 'aaa' } } 3.just select any select point,you will not see any changes compared with settings before

Current Behavior

i was making a map chart by echarts5.2.1,and i want the provincial capital on the map to have a more unique effect after being selected,so i try to use geo.select.label.formatter to  achieve this effect

i was try it on the echarts Docs,but I have no effect after setting the formatter

Expected Behavior

i hope the option :geo.select.label.formatter can be effective

Environment

- OS:windows 10
- Browser:Chrome97.0.4692.71
- Framework:[email protected]

Any additional comments?

No response

d602221169 avatar Feb 17 '22 08:02 d602221169

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Feb 18 '24 21:02 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Feb 25 '24 21:02 github-actions[bot]