Altran
unread,Dec 5, 2012, 12:24:23 PM12/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
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,