Skip to content

mouse-wheel-zoom: options.id desappear #19178

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

Closed
MaximeNog opened this issue Jun 20, 2023 · 1 comment · Fixed by #19211
Closed

mouse-wheel-zoom: options.id desappear #19178

MaximeNog opened this issue Jun 20, 2023 · 1 comment · Fixed by #19211

Comments

@MaximeNog
Copy link

I use new feature "modules/mouse-wheel-zoom" but I have a probleme, when I use the mouse wheel, the options.id in yAxis desappear.

Live demo :

https://jsfiddle.net/bxsyqwmh/9/

Product version

Highcharts v 11.1.0

@bm64
Copy link
Member

bm64 commented Jun 21, 2023

Hello @MaximeNog and thanks for reporting the issue.

Looks like the yAxis options along with yAxis id are being overwritten by setOptions method here:

yAxis.setOptions({ startOnTick: false, endOnTick: false });

Here is a workaround (see line 131): https://jsfiddle.net/BlackLabel/n50L6wkx/

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

Successfully merging a pull request may close this issue.

4 participants