apache / echarts

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

[Feature] geo3D地图和geo地图使用散点图,散点不能使用html模板 #18814

Open KTM1290SDR opened 1 year ago

KTM1290SDR commented 1 year ago

What problem does this feature solve?

如果地图上需要标记的点结构足够复杂,目前的散点使用切图+label的方式无法满足,请问目前有解决方案吗

What does the proposed API look like?

希望散点能提供html模板渲染并附带散点信息的参数formatter:(info)=><div>${info}</div>

echarts-bot[bot] commented 1 year ago

@KTM1290SDR 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** [Feature] geo3D maps and geo maps use scatter plots, and scatter points cannot use html templates **BODY** ### What problem does this feature solve? If the structure of the points that need to be marked on the map is complex enough, the current scatter using the cut map + label method cannot be satisfied, is there a solution at present? ### What does the proposed API look like? Expect the scatter to provide HTML template rendering with scatter information parameters: (info)=>'
${info}
'
Ovilia commented 1 year ago

不支持 html,但是可以用富文本 rich 实现比较灵活的写法

KTM1290SDR commented 1 year ago

不支持 html,但是可以用富文本 rich 实现比较灵活的写法

貌似geo3D也不支持rich,请问还有其他的解决方案吗?因为日常开发中高定制的散点需求还是比较多的