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

Annotations are anchored on plotArea when there are more than 50 series points. #7534

Closed
Denyllon opened this Issue Dec 13, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@Denyllon
Contributor

Denyllon commented Dec 13, 2017

Expected behaviour

Annotations should be hidden while their x,y values are out of axes extremes range.

Actual behaviour

When zooming or panning a chart, the annotations which are currently out of extreme values are still visible on plotArea.
We can observe it on bar and column chart types.

Live demo with steps to reproduce

JSFiddle

  1. Zoom or try to use panning (with SHIFT key) to see the incorrect behaviour of annotation.

@Denyllon Denyllon changed the title from Annotations are anchored on plotArea, when there are more than 50 series points. to Annotations are anchored on plotArea when there are more than 50 series points. Dec 13, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Dec 14, 2017

Contributor

The point limit comes from cropThreshold: https://jsfiddle.net/BlackLabel/1qa51ues/1/

Workaround - increase the cropThreshold: https://jsfiddle.net/BlackLabel/1qa51ues/2/

Contributor

KacperMadej commented Dec 14, 2017

The point limit comes from cropThreshold: https://jsfiddle.net/BlackLabel/1qa51ues/1/

Workaround - increase the cropThreshold: https://jsfiddle.net/BlackLabel/1qa51ues/2/

@KacperMadej KacperMadej added the Bug label Dec 14, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej
Contributor

KacperMadej commented Dec 14, 2017

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Dec 19, 2017

Collaborator

Use the Chart.isInsidePlot function to test.

Collaborator

TorsteinHonsi commented Dec 19, 2017

Use the Chart.isInsidePlot function to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment