I suggest the following approach.
1. Create JSON services on the server side to serve the SQL data
2. Make AJAX request on the client side to fetch the data
4. Assign data to the chart and render.