Skip to main content

Multiple Charts One Page

Each chart needs to have a different ID. For example in the top chart , it is labeled 'curve_chart' in the duplicate copy I added I changed both spots in the duplicate emebed to say 'curve_chart2'. Please see the screenshots below.

The image shows JavaScript code for creating a line chart using Google Visualization, with a designated div for the chart.
Chart 1
The image contains JavaScript code for creating a Google Line Chart with specified dimensions.
Chart 2