[Line chart] Support keep the visual when set Y axis min and max value instead of filtering out data points
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
I am using a line chart to render the visual (Fig. 1). However, when I slightly adjust the Y-axis minimum and maximum values, the resulting visual behaves unexpectedly (Fig. 2). Specifically, the chart appears to filter out data points that fall outside the specified Y-axis range, causing the connections between points to change entirely. Is there a configuration option to crop the visual instead of filtering out the data points?
Fig. 1 The original chart
Fig. 2 Change the max value slightly
### What does the proposed API look like?
I have tried several ECharts options, like the crop properties in the Series. It does not work. Can anyone tell me whether this feature is supported or not? If yes, how can I achieve my objectives?
Contributor guide
Assessment
This issue has not been assessed yet.