Home forums Using CanvasJS How to display multiple charts Reply To: How to display multiple charts



An HTML document can only have one html tag and one body tag. To display multiple charts in a page, you can have multiple chart-containers (div in this case) and have just one script-tag where you create both chart1 and chart2 and render them. Please take a look at this tutorial on Rendering Multiple Charts in a Page.

Also please take a look at tutorial on HTML and this stackoverflow thread for more info.

Vishwas R
Team CanvasJS