Variable Radius Pie Chart.

This sample shows how to extend the capabilities of the PieSeries class from the Flex Charting Package. It’s a good tutorial for how to extend any of the built in classes, and a good reference to start thinking about building your own series type from scratch.

In this example, we extend the built in PieSeries to use the underlying data to determine both the size of the wedge, as a typical PieSeries does, as well as the radius of the wedge. The New series goes through all the steps a Chart Series must to convert data from an underlying data provider to a value that can be used rendering on screen.

Notes:

* Variable Radius Pie Chart

* view source

* download source

Feedback or thoughts on this example, as well as requests for other examples you’d like to see, are much appreciated. Leave comments, suggestions, criticisms here.


Categories