echarts [Bug] How to get min and max value plotted on yAxis of echart

2jcobegt  于 4个月前  发布在  Echarts
关注(0)|答案(1)|浏览(43)

Version

5.4.2

https://echarts.apache.org/examples/en/editor.html?c=line-simple

Steps to Reproduce

  1. open the above link for echart example
  2. In the data to be plotted on yAxis, we have 135 as min and 260 as max.
  3. How can I get the actual plotted range of yAxis from the code.

Current Behavior

There is no method or option which provides current plotted range of yAxis

Expected Behavior

any way to get those values?

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

zzwlnbp8

zzwlnbp81#

In the official documentation, you can find yAxis.min , yAxis.max ,

just like this

相关问题