echarts icon indicating copy to clipboard operation
echarts copied to clipboard

可否控制取消标线markLine与series[i].name的关联

Open zhouboluo opened this issue 10 years ago • 3 comments

问题简述 (One-line summary)

需要绘制多个图形时,图形title不同,但是series含义是相同的,所以名字也相同,这时候使用markLine,只会在最后一个图形上添加标线。

版本及环境 (Version & Environment)

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

重现步骤 (Steps to reproduce)

期望结果 (Expected behaviour)

可否取消series[i].name和markLine的关联,根据series或者grids对应markLine,即不管命名如何,每个图形有单独的标线;或者使用一个标志位,控制标线是否与series[i].name关联

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {

}

其他信息 (Other comments)

zhouboluo avatar Aug 10 '16 09:08 zhouboluo

你说的关联是指?

pissang avatar Aug 11 '16 03:08 pissang

就是多个图的时候,series[i].name的值一样,给每个series[i]添加markLine,结果只有最后一个图显示标线 @pissang

zhouboluo avatar Aug 11 '16 06:08 zhouboluo

This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.

echarts-bot avatar Jul 01 '19 05:07 echarts-bot