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

2D世界地图无数据地区label无法改成中文 #8244

Closed
skyfeiz opened this issue Apr 28, 2018 · 1 comment
Closed

2D世界地图无数据地区label无法改成中文 #8244

skyfeiz opened this issue Apr 28, 2018 · 1 comment
Labels
bug stale Inactive for a long time. Will be closed in 7 days.

Comments

@skyfeiz
Copy link

skyfeiz commented Apr 28, 2018

问题参考官网链接
http://echarts.baidu.com/examples/editor.html?c=map-world
日期2018/04/28

One-line summary [问题简述]

需求:世界地图地区改成中文名称;
方法:通过label中formatter函数修改返回值来实现,但通过实验,label不管放到哪里,formatter函数只会在series中设置了数据的地区调用,其他无数据的地区(没有在series中写入)不会调用formatter,地区名称显示没有修改的英文名称。
测试版本 4.0.3 ,

Version & Environment [版本及环境]

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

Expected behaviour [期望结果]

期望echarts越来越好。

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

@100pah 100pah added the bug label Apr 28, 2018
@stale
Copy link

stale bot commented Apr 28, 2020

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.

@stale stale bot added the stale Inactive for a long time. Will be closed in 7 days. label Apr 28, 2020
@stale stale bot closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants