You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "yzhonglin94 (via GitHub)" <gi...@apache.org> on 2025/07/16 02:47:56 UTC
[I] [Line chart] Support keep the visual when set Y axis min and max value instead of filtering out data points [echarts]
yzhonglin94 opened a new issue, #21105:
URL: https://github.com/apache/echarts/issues/21105
### 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?
<img width="542" height="341" alt="Image" src="https://github.com/user-attachments/assets/027c1a37-bfb6-4bf2-8bd9-7ba8757079cc" />
Fig. 1 The original chart
<img width="550" height="341" alt="Image" src="https://github.com/user-attachments/assets/30e2df79-470f-4f7a-a30e-82836fd39b45" />
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?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org