echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open the-string-val opened this issue 1 year ago • 1 comments

Version

5.4.2

Link to Minimal Reproduction

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

the-string-val avatar Jun 20 '24 14:06 the-string-val

In the official documentation, you can find yAxis.min,yAxis.max, image just like this image image

fandi-1205 avatar Jun 28 '24 07:06 fandi-1205