Your DataTable constructor is missing the "new" keyword:

var data = new google.visualization.DataTable(<?=$jsonTable?>);

On Friday, March 14, 2014 9:03:22 AM UTC-4, Bilal Ahmad wrote:
>
> Working on a Google chart trying to make a line chart, but having problem 
> to format the json correct.
>
> Here is the code: 
> http://stackoverflow.com/questions/22405125/line-chart-using-google-chart-api-and-json-for-datatable
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to