apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

[Bug] 官网模拟迁徙示例5.1.0版本以上报错,无法正常查看 #20510

Closed tseking closed 1 week ago

tseking commented 1 week ago

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=geo-lines&version=5.1.0

Steps to Reproduce

Snipaste_2024-11-13_17-49-00

Current Behavior

官网模拟迁徙示例在5.1.0及以上版本查看报错,在5.1.0及以下版本查看显示异常。

5.0.2版本: Snipaste_2024-11-13_17-53-22

最新版本: image

Expected Behavior

期望正常显示

Environment

- Browser: Chrome 版本 130.0.6723.117(正式版本) (64 位)

Any additional comments?

No response

echarts-bot[bot] commented 1 week ago

@tseking It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Bug] The official website simulated migration example version 5.1.0 or above reports an error and cannot be viewed normally.
helgasoft commented 1 week ago

not-a-bug, this ought to be a legacy example, it isn't in the official list. Even for Version 5.0.2 the map isn't there. Map china has been moved out of the official distribution long ago (says 4 years). AFAIK the only map currently included is 'world'. See for yourself by replacing 'china' with 'world' in geo.map. GeoJson map of China exists in the repo though and could be loaded - Demo. 📌 please close issue if problem solved.

tseking commented 1 week ago

好的,感谢!我是从series-lines.effect配置中进入此示例的,建议替换地址或移除。 image