Home Forums Chart Support Prevent Autoscroll after render

Prevent Autoscroll after render

Viewing 2 posts - 1 through 2 (of 2 total)
  • #14078

    Every time i render the chart the window scrolls to center the charts in the middle of the window. How can i prevent this functionality?

    #14080

    karimmaurice,

    There can be various reasons due to which the page scrolls to the chart. Are you rendering the chart on trigger of some event? Or does that happen even for the first chart render without any event associated to it? If you are rendering it on trigger of some event, prevent the default action of that event using event.preventDefault();. If this doesn’t solve your issue, please create a jsFiddle so that we can further look into the issue.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.