The chart series classes are used for render a data in a chart control.
The chart series classes are used for render a data in a chart control.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"xmlns:s=" library://ns.adobe.com/flex/spark"xmlns:mx=" library://ns.adobe.com/flex/mx"minWidth=" 955" minHeight="600">dataProvider=" {data}"categoryField=" Month"/> </mx:horizontalAxis><!-- use of Series --> xField=" Month"yField=" Profit"displayName=" Profit"/> <mx:LineSeriesxField=" Month"yField=" Expenses"displayName=" Expenses"/></s:Application> |
To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.