views:

3032

answers:

3

Hi, I'm a newbie to Adobe Flex 3.0. I need to show data within the Pie Chart Legend, alongside the colored markers. I have a few vague ideas about how to go about it. (Maybe I would have to write my custom legendMarkerRenderer.) Could anybody give any pointers? There aren't many examples on the net regarding this.

Thanks in advance!

P.R.

+1  A: 

Here's a really useful link for ya. The Flex 3 Component explorer... It has examples of how to implement the majority, if not all, of the adobe flex components. If you want something more complex you may need to extend legend and create you own component. By the sounds of things it should give you enough to go on

Flex 3 Component Explorer

James Hay
+1  A: 

You can always customize the UI controls in flex as per ur requirements. So you can extend the legend class

have a look @ this also:liveDocs

Chinmay
+2  A: 

To show the data on the Legend you will need to extend LegendItem class. Example you can see in my blog: http : // northam.blogspot.com/2009/05/flex-showing-data-in-legend-of-pie.html

Enjoy!

northam