Home Forums Chart Support Set ID of the generated CANVAS object Reply To: Set ID of the generated CANVAS object

#19955

Michael,

Yes, you can set ID for individual chart-canvas using chart.canvas.setAttribute("id", "chartCanvas"). Please take a look at this JSFiddle for complete code.

setting id for chart canvas

___________
Indranil Deo
Team CanvasJS