Formatting charts

You can customize the look and feel of your Adobe® Flex® charting controls. 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. 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.