Dupont Francois
Posts: 10
Joined: Fri Nov 30, 2018 8:10 am

Highchart scroll top on initialization

Hi,

We use menu options items to refresh the current chart with differents data, however, when we recreate the chart, Highchart will scroll on the top of the page.
On our onclick menu item definition we return false, to ensure that the onclick event do not scroll on top.

It is really when this line is called that the scroll occurs.

Code: Select all

 Highcharts.chart(html_id, options)
There is a way to disable this behavior ?

Best regards,
Dupont François
bastss
Site Admin
Posts: 1192
Joined: Wed Oct 17, 2018 10:59 am

Re: Highchart scroll top on initialization

Hello Dupont François!

Could you send an online demo to work on it?

Best regards!
Sebastian Wędzel,
Highcharts Developer

Return to “Highcharts Usage”