The DataTable constructor requires a very specific JSON format; if you 
aren't using that format, the constructor will throw an error and your 
chart will not draw.  I can help you get your chart working if you share 
your code.  I also suggest that you search this group for examples of 
creating charts from SQL queries (most examples here use PHP and MySQL, 
though you can easily substitute a different database in most cases).

On Friday, August 1, 2014 4:11:30 AM UTC-4, Ákos Kovács wrote:
>
> I have created a .json file from an SQL query. (This file is without cols 
> and rows, I do not, can be that a problem?)
> I tried to use this tutorial for generating a timeline graph, but it gives 
> a blank page.
> https://developers.google.com/chart/interactive/docs/php_example
>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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