-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Add clip option for scatter, line, bar, lines, custom chart #11240
Comments
Agree. For the
I can give a bad case here: BTW, what the default value of the option Probably for |
@Ovilia |
I think it's fine if custom series have its own default value. |
This case probably makes sense, especially when |
@100pah @Ovilia I found this issue #11010 (comment) about overflow in candlestick series. I'm not sure if we need to clip the shape in this scenario |
I think it should absolutely be clipped without explicit configuration. Why asking? |
@ngoc308 Currently you can use |
@pissang I have to use ScatterGL to draw points due to the large dataset: ~300k points and deal with this issue. |
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. |
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks! |
Currently we have overflow issue on the axis with fixed min/max. As described in the following issues.
They are all related to the function of clipping the overflowed graphics.
So I'm planning to add a
clip
option in these series, whose default value is true.The clipping strategy varies between series to achieve a good visual quality. For example:
Series needs clip option
Q: Why not use clip path for all series?
A: Let canvas do clipping may cause visual artifacts on particular series. For example:
Reference of highcharts. https://api.highcharts.com/highcharts/series.line.clip
The text was updated successfully, but these errors were encountered: