I think there is some ambiguity about JSON with this API.  There's a
lot of documentation about using JSON as a response format, but it is
more complicated than just producing a json output.  I'm trying to get
data out of a Postgresql database and initially thought I could simply
us the "asJson" function.   Nothing in the Data Source pages gives a
clue about how to format an sql query (or any other data format for
that matter) so that the visualization can read it.

I'd love to see a complete example, or tutorial even, showing how to
get data out of a mysql or postgresql database in the proper format.
I'd love to use this API, but can't quite figure out how to...


-Steve



On Oct 14, 9:48 am, Bug Chart <[email protected]> wrote:
> Hi,
> currently, this is not available.
>
> You said that you are getting your JSON from a DB,
> I'm not sure exactly what you're doing but,
> my suggestion to you is to implement a data source,
> like it is explained 
> here:http://code.google.com/apis/visualization/documentation/dev/implement...
> and specifically in 
> here:http://code.google.com/apis/visualization/documentation/dev/dsl_intro...
>
> and then you would be able to use the toolbar.
>
> HTH,
>
> BugChart.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to