Wuensch
Posts: 2
Joined: Thu Jun 24, 2021 8:38 am

Zoom to a selected area with mouse wheel click (same functionality as left mouse button zoom)

Hello,

I've been using Highcharts for a few years and I noticed that since version 8, zooming with the mouse wheel click no longer works.
I have already researched a lot and not get out.

Zooming to a selected area only works with the left mouse button. Is it possible to activate this function with a mouse wheel click?

You can see the zoom functionality with left mouse button click here: https://jsfiddle.net/q5y08s7p/7/
Zooming.png
Zooming.png (16.55 KiB) Viewed 732 times
Best regards,
S. Wuensch
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Zoom to a selected area with mouse wheel click (same functionality as left mouse button zoom)

Hi,
Welcome to our forum and thanks for contacting us with your question!

I tested and completely agree with you, the mouse wheel does'nt select the zoom area in the last version of Highcharts.
It looks like a regression bug, could you report this?
https://github.com/highcharts/highcharts/issues

Live demo:
https://jsfiddle.net/BlackLabel/z0f6r7eL/

Best regards.
Sebastian Hajdus
Highcharts Developer
Wuensch
Posts: 2
Joined: Thu Jun 24, 2021 8:38 am

Re: Zoom to a selected area with mouse wheel click (same functionality as left mouse button zoom)

Hi,

thank you very much for the quick reply.
I have created a new report as you recommended

https://github.com/highcharts/highcharts/issues/15963

Best Regrads,
S. Wuensch
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Zoom to a selected area with mouse wheel click (same functionality as left mouse button zoom)

Hi,
My colleague has already suggested a solution inside of the report.

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Usage”