aliensurfer
aliensurfer

Reputation: 1650

Flex 3.0 : Showing data in the legend of a Pie Chart

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.

Upvotes: 1

Views: 5172

Answers (3)

James Hay
James Hay

Reputation: 12720

Here's a really useful link for you. 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 (broken link)

Upvotes: 1

user114958
user114958

Reputation:

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!

Upvotes: 2

Chinmay
Chinmay

Reputation: 5151

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

Upvotes: 1

Related Questions