Using PHP to Populate Google Charts Data Breaks Interactivity
I am currently using Google Charts with PHP to populate the data but the interactivity of the chart ceases to work and I don't know why.
The code is as follows:
Incase anyone asks the the js isn't in the head tags it's because I am also displaying a table populated with the results of the sql query and calculating totals based off those results for use in the chart.
I have since found this page but don't see why that would alter anything: https://developers.google.com/chart/interactive/docs/php_example
I meant to update a lot sooner but the problem lay elsewhere - Google Charts works perfectly fine when using php to populate the chart data.