Formatting Charts

This topic describes how to customize the look and feel of your Adobe Flex Charting components. You can format the appearance of almost all chart elements, from the font properties of an axis label to the width of the stroke in a legend.

To set style properties in your chart controls, you can use Cascading Style Sheets (CSS) syntax or set the style properties inline as tag attributes. This section describes the methods used to format charts. As with all styles, you can call the setStyle() method to set any style on your chart elements. For more information on using the setStyle() method, see Using the setStyle() and getStyle() methods.

Contents

Applying chart styles
Adding ChartElement objects
Setting padding properties
Working with axes
Using strokes
Using fills
Adding grid lines
Using DataTips
Skinning ChartItem objects
Using Legend controls
Stacking charts

Flex 2

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/2/docs/00001241.html