There are a number of ways you can dynamically populate your visualizations with data. If your data is in a Visualization-API compatible data source, you can use the Query object<https://developers.google.com/chart/interactive/docs/queries>to fetch data (compatible data sources include Google Docs spreadsheets and Fusion Tables, or you can implement a custom data source<https://developers.google.com/chart/interactive/docs/dev/implementing_data_source>[there are some pre-built libraries<https://developers.google.com/chart/interactive/docs/dev/implementing_data_source#tools>to help you with this]). Alternatively, if you have a non-compatible data source, you can query that with AJAX and parse the data returned into a DataTable.
On Thursday, May 30, 2013 10:33:03 AM UTC-4, vinay kumar wrote: > > I see that the X and Y axis values are given hard-coded in the JavaScript. > I want to add that dynamically. How can i do that? > > Someone please help me on this. > > Thanks..Vinay > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
