Hi,

Is it possible to have a pie graph and a table controlled by a
NumberRangeFilter (column Date) and CategoryFilter (column Client)
with sum aggregation on column 'Number of Equipments' ?

I have grouped the data with the following but the records not get
grouped, as you can see in table below (I want only one record for the
key Pending/20121122/Altran).


//group the data for the pie chart
'dataTable' : google.visualization.data.group(data, [0, 1, 2],
 
[{'column': 3, 'aggregation': google.visualization.data.sum, 'type':
'number'}]),


State   Date    Client  Number of Equipments
Pending 20121122        Altran  1
Pending 20121122        Altran  1
Pending 20130115        Altran  2
Waiting 20121122        Altran  2
Confirmed       20101122        Teste   2
Confirmed       20121122        Altran  3
Rejected        20121122        Altran  2

Thanks,

-- 
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.

Reply via email to