Thank you VizBoy ... that worked exactly how i wanted. Now i am off to learn more about using DataView so instead of creating multiple datatables, i can perhaps create only one with relevant data and use views to filter out information.
Thank once again. rjamya On Apr 4, 12:46 pm, VizBoy <[email protected]> wrote: > Hi, > > There shouldn't be any problem with generating more than one visualization > on the same data table. > In general, code like this should work: > var data = new google.visualization.DataTable(); > // Popular the DataTable > var chart1 = new google.visualization.LineChart(container1); > chart1.draw(data, options1); > var chart2 = new google.visualization.Table(container2); > chart2.draw(data, options2); > > Hope this helps. If you encounter any problems, let us know. > > - VizBoy. > > > > On Sat, Apr 4, 2009 at 6:17 AM, rjamya <[email protected]> wrote: > > > Hi, > > > i am currently generating a line chart from a datatable. my > > requirement is to display line chart along with raw data. I am > > wondering if it would be possible to use same datatable to display a > > chart and a table side by side? If so are there any examples? > > > This will allow me to keep the html page size small (no duplication of > > data table) since i will be generating multiple charts per file. This > > will not be served via server. > > > rjamya --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
