-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Highlighting of points disappears when updating yAxis on mouseover event over point in chart #12569
Comments
Thanks for reporting this issue @vodess Bisected to commit 5e23ec2 FYI @jon-a-nygaard |
Internal note: Perhaps, when |
Internal note
Its related with commit e3f4302 and bug #2500 Its a regression, but Im not sure how to detect the "move". My idea is to check the extremes on axis, but it sounds as workaround, not solution.
@TorsteinHonsi any ideas? |
No... I guess we need to go to the offending commits and see why it now fails. Checking the extremes of the axis indeed seems like a workaround - we should have to add new conditions, just find out what made it work earlier, and why that was lost. |
Expected behaviour
Highlighting of points works exactly the same way as without any yAxis modification.
Actual behaviour
Highlighting of points somehow disappears when attempting to change some styles of an yAxis and hovering over a point in such modified chart. It looks like it is there for a millisecond, but then it's gone.
Live demo with steps to reproduce
https://jsfiddle.net/8k1zqd3x/27/
First chart in the demo contains yAxis.update call with some styling modifications. There is no permanent highlight in this scenario, as per this picture:
Second chart has yAxis.update code commented out, the highlight feature works properly:
Product version
Highcharts 7.2.1
Affected browser(s)
all
The text was updated successfully, but these errors were encountered: