Dear All,

I am in a situation where user gets the cars data from the database based on
the selection and displays it in datagrid like below ( for example)

*Company      Model         Year        No*
GM              Chevy         2010       10
GM              Chevy         2009       5
GM             Pontiac       2010       12
Honda          Civic         2009       12



and there will be link next to datagrid to get Pie chart based on the data
displays in the data grid . The pie graph should display grouping by company
and the count .  I mean for the above example  that should give with two pie
items , one for GM showing the number of vehicles ( in this case 3 ) and
Honda showing the number of vehicles ( in this case 1 ).

I thought of getting it from the database by querying and grouping it .But
here the problem is after getting the data above in the datagrid user can
able to filter at client end ( By year or model ) and can say get graph .
This time that should only display the graph for the data visible in
Datagrid .Grouping on database for every operation is becoming expensive.
Since we have already data available at client end , is there any way to
group it at client ..?

Could some body please advise me how to  implement this ?

Thanks for your help

Regards
Kiran

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" 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/flex_india?hl=en.

Reply via email to