wiola111
Posts: 23
Joined: Mon Dec 12, 2016 2:04 pm

Crosshair disappears after zoom in

I have a chart with crosshair, when I zoom, the crosshairs disappear, how can I keep it?
Fiddle: http://jsfiddle.net/3vudmqLa/
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Crosshair disappears after zoom in

Hi, wiola111!

Your fiddle is working fine for me. When I zoom (x or xy), the crosshair works as expected.
Could you double check and test it on different browsers/systems?

Best regards!
Rafał
Rafal Sebestjanski,
Highcharts Team Lead
wiola111
Posts: 23
Joined: Mon Dec 12, 2016 2:04 pm

Re: Crosshair disappears after zoom in

Please try different zoom combinations in Chrome, it works intermittently. The same is observed in other browsers.
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Crosshair disappears after zoom in

wiola111,

We have tested it on newest Chrome, Firefox and Edge on Windows 10 and Mac. I am sorry, but everything works perfectly for us...

Can you send us a screen or video screen? Do you have the newest versions of browsers?

Rafał
Rafal Sebestjanski,
Highcharts Team Lead
wiola111
Posts: 23
Joined: Mon Dec 12, 2016 2:04 pm

Re: Crosshair disappears after zoom in

Sure, please see the video and snapshot. I have the latest browsers. This one is from Chrome Version 69.0.3497.100 (Official Build) (64-bit).
Attachments
2018-09-28_08h45_44.png
2018-09-28_08h45_44.png (14.92 KiB) Viewed 1326 times
2018-09-28_08h52_08.gif
2018-09-28_08h52_08.gif (166.57 KiB) Viewed 1326 times
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Crosshair disappears after zoom in

wiola111,

I am a little bit confused because on the gif you sent me the crosshair appears (over (4, 144) point) as expected. You just have to move your mouse.
Maybe you want to keep it visible after zooming even without moving your mouse?

Have a good week,
Rafał
Rafal Sebestjanski,
Highcharts Team Lead
wiola111
Posts: 23
Joined: Mon Dec 12, 2016 2:04 pm

Re: Crosshair disappears after zoom in

Yes, I have to move the mouse after the zoom. The crosshairs is visible on the wrong point (the one that I move the cursor to). It should be visible on the point directly after zooming - point 2, 110 in this example where the tooltip is. How do I do that? Thanks
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Crosshair disappears after zoom in

wiola111,

I've just realized, that it should work as you describe and isn't working only in Chrome. I have reported it as a bug. You can follow and continue this thread here: https://github.com/highcharts/highcharts/issues/9130

Thank you for catching this!
Kind regards,
Rafał
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Usage”