I did this with php pretty easily....I used ajax to make a request on page load for all the data. php returned it as xml. javascript parsed it and constructed the chart object. -dave
On Nov 13, 6:37 am, p00kie <[EMAIL PROTECTED]> wrote: > Hi there, > > Trying to perform this task and wondering if anyone has been > successful thus far or can offer any pointers. > > I have a MySQL database back-end and currently the web interface is > using perl/cgi to create queries to the database and spitting out > results via http. I want to incorporate the google visualizations in > the data set for this. > > My solution so far is to spit out the data queried via perl to an XML > spreadsheet. Then using XMLHttpRequest, to use javascript to parse the > data, store it in variables and then populate the data table/other > google visualization gadgets that can be further possible. > > 1. Would this work? > 2. Any sample code on defining XML read-in functions as well as > parsing it? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
