score:9

i had a similar issue when destroying a chart and recreating it. my workaround was to get the scroll position before destruction and reapply it after creation. for example in jquery:

var pos = $(document).scrolltop();
if (chart != undefined)
chart.destroy();

chart = new chart(ctx, chartoptions);
$(document).scrolltop(pos);

Related Query

More Query from same tag