Hi Bruno. You could apply a sort to the data on the client before
assigning it to the chart.
 
Ely.
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bruno.navert
Sent: Monday, February 26, 2007 8:48 AM
To: [email protected]
Subject: [flexcoders] pie chart: group small values together



I'm quite new to Flex, so please forgive me if this is a no-brainer.

I have a Pie Chart control that shows a lot of wedges, and I would
like it to automatically group together smaller wedges (say all those
whose percentage value is lower than 1-2%) and display something like
"Others - x%", x being the sum of all the grouped wedges.

Is there some quick & painless way to get this to work ?

Obviously the data comes from an external data provider, which sources
the data from a database, so I don't have direct control over it (i.e.
the grouping has to be done at run time)

thanks,
Bruno



 

Reply via email to