echarts icon indicating copy to clipboard operation
echarts copied to clipboard

When using dual y-axis, any way I can keep them same splitNumbers and avoid the double splitLine?

Open codTango opened this issue 9 years ago • 4 comments

One-line summary [问题简述]

When using dual y-axis, if the scale of lines are diverged differently, sometimes the left and right y-axis will have different number of ticks and labels, and will display two splitLines for left and right y-axis separately. screen shot 2017-03-17 at 9 28 51 am

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.4.0
  • Browser version [浏览器类型和版本]: latest Chrome
  • OS Version [操作系统类型和版本]: Mac OS

Expected behaviour [期望结果]

Hope there's a way that I can force the two y-axis having same splitNumber and using the same splitLine.

codTango avatar Mar 17 '17 14:03 codTango

Maybe you can use the max and min to control ,What do you think of this method?

mangoZT avatar Apr 11 '17 01:04 mangoZT

is there any way to do that whats asked in question when data are loaded dynamically and doesnt have same unit on y axis?

prempopatia avatar Sep 01 '20 09:09 prempopatia

I've ran into this situation to. I solved it by removing the line on one axis and keeping it on the other. Would be nice if you could scale it the same

allanpope avatar Oct 19 '20 03:10 allanpope

Actually, this feature is ongoing. #13210

susiwen8 avatar Oct 19 '20 04:10 susiwen8