Home Forums Chart Support How can i get access to a canvasJS chart through a DOM-Container Reply To: How can i get access to a canvasJS chart through a DOM-Container

#19812

@merajahmed,

Please use var c = $("#chartContainer").CanvasJSChart();. Also take a look at this updated jsfiddle.

And please use the jQuery plugin (https://cdn.canvasjs.com/jquery.canvasjs.min.js) instead of Javascript.

___________
Indranil Deo,
Team CanvasJS