Highchart scroll top on initialization
Posted: 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.
There is a way to disable this behavior ?
Best regards,
Dupont François
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)
Best regards,
Dupont François