echarts
echarts copied to clipboard
[Bug] How to get min and max value plotted on yAxis of echart
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-simple
Steps to Reproduce
- open the above link for echart example
- In the data to be plotted on yAxis, we have 135 as min and 260 as max.
- 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
In the official documentation, you can find yAxis.min,yAxis.max,
just like this