Home Forums Report Bugs How i will get canvas element wich is running? Reply To: How i will get canvas element wich is running?

#6185

You can access it via jQuery like this.

$(“#chartContainer .canvasjs-chart-canvas”).first()

If you need the dom element instead of jQuery object, you can use get method of jQuery

$(“#chartContainer1 .canvasjs-chart-canvas”).get(0)


Sunil Urs