Home › forums › Using CanvasJS › Prevent Autoscroll after render › Reply To: Prevent Autoscroll after render
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.