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

Zooming in multi xAxis with crosshair snap false #5736

Closed
hkostia opened this Issue Sep 28, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@hkostia

hkostia commented Sep 28, 2016

Expected behaviour

Zooming in should reset overlay (when mouse button pressed)

Actual behaviour

After zoom in zoom overlay is still there

Uncaught TypeError: Cannot read property 'chartX' of undefined
drawCrosshair @ highcharts.src.js:9350
(anonymous function) @ highcharts.src.js:10537
each @ highcharts.src.js:1230
reset @ highcharts.src.js:10535
redraw @ highcharts.src.js:12434
zoom @ highcharts.src.js:19298
(anonymous function) @ highcharts.src.js:10753
fireEvent @ highcharts.src.js:1395
drop @ highcharts.src.js:10752
onDocumentMouseUp @ highcharts.src.js:10791

Live demo with steps to reproduce

http://jsfiddle.net/kmsya29v/1/

Affected browser(s)

Chrome, Firefox

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Sep 28, 2016

Contributor

Thank you for reporting the issue @hkostia. It is a regression bug, related commit: 725efc5

Works fine if: enabled snap or tooltip is not shared.

Contributor

pawelfus commented Sep 28, 2016

Thank you for reporting the issue @hkostia. It is a regression bug, related commit: 725efc5

Works fine if: enabled snap or tooltip is not shared.

@pawelfus pawelfus added the Regression label Sep 28, 2016

@borisyankov

This comment has been minimized.

Show comment
Hide comment
@borisyankov

borisyankov Oct 3, 2016

I am encountering the same bug but in different case - while dragging the series left and right.
The this.cross is not defined and the 'ifs' do not anticipate that.

borisyankov commented Oct 3, 2016

I am encountering the same bug but in different case - while dragging the series left and right.
The this.cross is not defined and the 'ifs' do not anticipate that.

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