We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice if not only label annotations could be outside of the plot area.
Highcharts
You can vote for this feature by adding a thumbs-up reaction to this post.
The text was updated successfully, but these errors were encountered:
Hi @MrR341-GER
Thank you for sharing the idea!
Demo: https://jsfiddle.net/BlackLabel/Lg28w6d4/
Plugin:
(function(H) { H.addEvent( H.Chart, 'render', function() { (this.annotations || []).forEach(function(annotation) { if (annotation.shapesGroup && !annotation.options.crop) { annotation.shapesGroup.clip(); } }); } ) })(Highcharts);
API:
annotations: [{ crop: false, // <==== new option to configure cropping shapes, similar to labels shapes: [{ type: 'path', points: [{ x: 4, y: 250, xAxis: 0, yAxis: 0 }, { x: 4, y: -50, xAxis: 0, yAxis: 0 }] }] }]
Sorry, something went wrong.
Feature #15399, added crop option for the annotation.
e8c06bc
9952283
raf18seb
Successfully merging a pull request may close this issue.
Description of the feature
It would be nice if not only label annotations could be outside of the plot area.
Library related to the feature
Highcharts
Proof of Concept/Live example for the feature
You can vote for this feature by adding a thumbs-up reaction to this post.
The text was updated successfully, but these errors were encountered: