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

[Feature] 如何让某个series不展示,以及如何设置多余legend,即某个legend不对应任何一个series,但是也能展示出来 #20513

Open lyz1991 opened 1 week ago

lyz1991 commented 1 week ago

What problem does this feature solve?

如何让某条series不展示,以及如何设置多余legend,即某个legend不对应任何一个series,但是也能展示出来

What does the proposed API look like?

如何让某条series不展示,以及如何设置多余legend,即某个legend不对应任何一个series,但是也能展示出来

echarts-bot[bot] commented 1 week ago

@lyz1991 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] How to make a series not displayed, and how to set redundant legends, that is, a legend does not correspond to any series, but can be displayed
Ovilia commented 1 week ago

You can add a series with empty data.

nikojxie commented 2 days ago

You can add a series with empty data.

Can I make this legend non clickable and hide the icon ?