Also google.visulization.data.group() takes datatable object as one of the parameters. I have loaded the data fro server side using json string literal. Something like this: var data = new google.visulization.Datatable(json); can i directly pass this data variable like : in google.visulization.data.group(data,[0],..) ?
On Wednesday, September 17, 2014 12:05:27 PM UTC+5:30, Shivani Kanakhara wrote: > > Hi , > I want to make a column chart where the data passed is something like this: > > Date Customer1 Customer2 > 12/2/2014 22.3 33.5 > 13/2/2014 34.6 33.0 > 12/3/2014 55.6 34.7 > 16/3/2014 70.8 56.7 > 2/05/2015 22.6 33.7 > 7/05/2015 36.7 44.7 > 13/8/2015 12.12 12.23 > 15/8/2015 13.7 44.5 > > > I have a dropdown containing values : 1) Year 2)Month and 3) Day > Now what i want is when i select Year the data should group by according > and haxis should contain labels having years 2014,2015 > When i select months the data should be grouped according to months. > > How can it be done? > > Also i want to be able to compare data for multiple customers i.e. show > hide series. > > Pls help > -- 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. For more options, visit https://groups.google.com/d/optout.
