Hello, I want to create chart using google API in ASP.net please guide me to how to populate data in google.visualization.datatable() i m using this below code to call web method to get data from oracle tables and failed to fill jsontable.
$.ajax({ type: "POST", url: "getdata.aspx/GetLocation", contentType: "application/json; charset=utf-8", dataType: "json", async: true, success: function (msg1) { alert(msg1.d); datat = msg1.d; } }); // Create the data table. var data = new google.visualization.DataTable(datat); On Wednesday, 27 July 2011 01:37:35 UTC+5:30, asgallant wrote: > > There's a simple example here: > http://code.google.com/apis/chart/interactive/docs/php_example.html and > the documentation for creating a data source is here: > http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.html > > I tend to use a middle road, where I pull my data from mySQL and/or Oracle > and encode it in JSON. I use jQuery's AJAX to make requests to my source > and pass the data to the chart drawing functions. > -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.