You can read about this here: http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html <http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html>However, I'd recommend reconsidering this approach. This is useful in only the most rare cases.
On Fri, Jun 25, 2010 at 3:44 PM, TonyJ <[email protected]> wrote: > Hi all. I've come to the conclusion that the easiest way for us to > handle the multiple data sources we're going to need for a stats > 'dashboard' we're writing is to create our own response handlers, as > described in the documentation: > > Request: > http://www.example.com/mydatasource?tqx=responseHandler:myHandlerFunction > > Response > myHandlerFunction({ .... > > Where I'm stuck is what's required in the myHandlerFunction - does > anyone have a simple bit of example code I could look at? How do I > interpret the JSON data that's returned and turn into a data item that > I can pass to a visualization? What actually happens inside Google's > own response handler? > > Many thanks in advance ... > > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- 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.
