Home forums Using CanvasJS memory leak Reply To: memory leak

#6292

Daniel Silva
Participant

Tried a different approach, works great 🙂

if(charts[key]==undefined){
   //create chart....
   charts[key]=chart;		
}else{
   chart = charts[key];
   chart.options.data[0].dataPoints=points;
}				
chart.render();
  • This reply was modified 2 years, 6 months ago by  Daniel Silva.
  • This reply was modified 2 years, 6 months ago by  Daniel Silva.