Home Forums Chart Support Combining CanvasJS function : zoom panning and jquery tab Reply To: Combining CanvasJS function : zoom panning and jquery tab

#13329

@lsq_1994,

You are re-rendering chart every 15000ms (15seconds), so zoomed level disappears every 15seconds.

function updateChart(){
   $("#chartContainer1").CanvasJSChart(options1).render;
  }
  
  setInterval(function(){updateChart()}, 15000);

Removing these lines will work fine with zooming functionality within different tabs. Please check this jsfiddle.