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

Unsnapped Crosshair Disappear on Chart Update #5287

Closed
RolandBanguiran opened this Issue May 5, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@RolandBanguiran

RolandBanguiran commented May 5, 2016

Expected behaviour

When I set crosshair:{snap:false} and hover mouse on the chart, crosshair line and label should not disappear on chart.update().

Actual behaviour

Disappear every time chart updates.

Live demo of the issue

http://jsfiddle.net/RolandBanguiran/y93Lv5xx/

Steps to reproduce the behaviour

Just hover the mouse on the chart and remain in one area for a while. Notice that when chart is updated, the vertical crosshair disappear.

Affected browser(s)

Able to reproduced on Chrome, IE, and Firefox

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Jul 13, 2016

Contributor

Internal note:
We can not simply remove axis.hideCrosshair(); part, because chart can be resized with a visible crosshair. That's why we need to update path anyway.

Contributor

pawelfus commented Jul 13, 2016

Internal note:
We can not simply remove axis.hideCrosshair(); part, because chart can be resized with a visible crosshair. That's why we need to update path anyway.

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