@mikehellen,
If you are integrating CanvasJS with PHP, please take a look at this example on rendering chart data from database.
If integrating with ASP.NET, please take a look at these step-by-step instructions in our documentation on adding data to chart from the database.
__
Priyanka M S
Team CanvasJS