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

Highchart scroll top on initialization

Fri Nov 30, 2018 10:02 am

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
Posts: 140
Joined: Wed Oct 17, 2018 10:59 am

Re: Highchart scroll top on initialization

Fri Nov 30, 2018 10:28 am

Hello Dupont François!

Could you send an online demo to work on it?

Best regards!

Return to “Highcharts Usage”