apache / apache/echarts

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

Open
#20,055 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### 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

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.