dynamically update google chart using dropdown menu without dashboard

1,101 views
Skip to first unread message

Jishnu U

unread,
Nov 13, 2012, 4:08:08 AM11/13/12
to google-visua...@googlegroups.com

Im trying to plot a set of data from the database using google chart (visualisation api) using Bortosky Library

http://code.google.com/p/bortosky-google-visualization/

to convert ASP.NET data table to Google Data table. I want the user to select which data table it should retrive from data base using a drop down menu. I had read a solution

updating google chart dynamically on dropdown using ajax and php

But I dont know AJAX or PHP to do this. Is there any simpler method to do this?

Sergey Grabkovsky

unread,
Nov 13, 2012, 9:43:06 AM11/13/12
to google-visua...@googlegroups.com
Hi Jishnu,

A very easy way to do what you want is to create an object in JavaScript that contains all of your data, so it would be a mapping of some ID to DataTables. It might require a little more work in ASP.NET to generate all the tables, however. Alternatively you could follow the PHP and AJAX instructions you linked to, and just replace the PHP code with ASP.NET code, since you should be able to write equivalent server-side code.

- Sergey


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/XkxkMC-w7XcJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Reply all
Reply to author
Forward
0 new messages