5

echarts折线图怎么点击某条线触发事件,而不是点击折线上的点?

 2 years ago
source link: https://www.oschina.net/question/3150723_2324670
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

echarts折线图怎么点击某条线触发事件,而不是点击折线上的点?

YeAp 发布于 今天 09:43

Echarts中可以实现点击item来触发事件,但是在我的案例中item比较多,点击不方便,而且showAllSymbol的话会显得画面比较杂乱,比如



所以我想知道可不可以通过点击折线来触发操作?

YeAp
最近登录:05/25 10:44
©OSCHINA(OSChina.NET)
开源软件推进联盟
指定官方社区

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK