Home Forums Chart Support using database data to draw charts Reply To: using database data to draw charts

#41745

This mysqli example is exactly what I am looking for! Thanks.

To expand on it a little bit, what if I had 2 (or more) datasets that I wanted on a line graph? Im having some difficulty determining how to format the data from the database and send to canvasjs. Do I just add a label and include ALL the datapoints in an array and canvasjs is smart enough to know the different labels are different lines?