Home Tutorial Flex Flex4 Components Chart Series Class in Flex4


Share on Google+Share on Google+
Chart Series Class in Flex4
Posted on: June 3, 2010 at 12:00 AM
The chart series classes are used for render a data in a chart control.

Chart Series Class in Flex4:

The chart series classes are used for render a data in a chart control. The series classes are used mx.charts.chartClasses.Series class package. All series classes are subclasses of this package. Every chart type has a its own series class. for example, Bubble chart has a BubbleSeries class and ColumnChart has a ColumnSeries class.
The primary use of series is what data to render in the chart. You can use the series that what field in a data provider are used. You can set these fields in x and y axis.
You will use the xField and yField property for set the fields which is used in chart.
When you create a series you will specify a displayName property. The use of this property is to show the label such as Data Tip objects for the user understanding.
You can use more than one series type for a chart. You can apply the effect for the series. The tag of series is <mx:series>.


<?xml version="1.0" encoding="utf-8"?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"



minWidth="955" minHeight="600">


<fx:Array id="data">













































<s:Panel title="Series Class Example" width="431" height="526">

<mx:ColumnChart id="cchart" dataProvider="{data}" showDataTips="true" x="15" y="14">






<!-- use of Series -->












<mx:Legend dataProvider="{cchart}" x="0" y="428"/>




Running Application:

To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.

Download this code


Related Tags for Chart Series Class in Flex4:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: June 3, 2010

Recommend the tutorial

Advertisements Advertisements