| Package | org.openzet.charts.chartClasses |
| Class | public class ZetCartesianChart |
| Inheritance | ZetCartesianChart mx.charts.chartClasses.CartesianChart |
| Property | Defined by | ||
|---|---|---|---|
| checkBoxHeight : Number
height of checkBoxes.
| ZetCartesianChart | ||
| checkBoxHorizontalAlign : String
Alignment of checkBoxes.
| ZetCartesianChart | ||
| checkBoxHorizontalGap : Number
Horizontal gap between checkBoxes.
| ZetCartesianChart | ||
| checkBoxWidth : Number
width of checkBoxes.
| ZetCartesianChart | ||
| checkBoxYPoint : Number
y position of checkBoxes.
| ZetCartesianChart | ||
| showMarker : Boolean
Visibility of markers.
| ZetCartesianChart | ||
| showSeriesBox : Boolean
Flag to specify whether to show series control boxes.
| ZetCartesianChart | ||
| showVisibleBox : Boolean
Visibility of checkBoxes.
| ZetCartesianChart | ||
| Method | Defined by | ||
|---|---|---|---|
| ZetCartesianChart | |||
| Method | Defined by | ||
|---|---|---|---|
|
createVisibleBox():void
Creates series' control boxes.
| ZetCartesianChart | ||
|
updateCheckBoxLayout():void
Adjust checkBoxes' position.
| ZetCartesianChart | ||
| checkBoxHeight | property |
checkBoxHeight:Number [read-write]height of checkBoxes.
Implementation public function get checkBoxHeight():Number
public function set checkBoxHeight(value:Number):void
| checkBoxHorizontalAlign | property |
checkBoxHorizontalAlign:String [read-write]Alignment of checkBoxes.
Implementation public function get checkBoxHorizontalAlign():String
public function set checkBoxHorizontalAlign(value:String):void
| checkBoxHorizontalGap | property |
checkBoxHorizontalGap:Number [read-write]Horizontal gap between checkBoxes.
Implementation public function get checkBoxHorizontalGap():Number
public function set checkBoxHorizontalGap(value:Number):void
| checkBoxWidth | property |
checkBoxWidth:Number [read-write]width of checkBoxes.
Implementation public function get checkBoxWidth():Number
public function set checkBoxWidth(value:Number):void
| checkBoxYPoint | property |
checkBoxYPoint:Number [read-write]y position of checkBoxes.
Implementation public function get checkBoxYPoint():Number
public function set checkBoxYPoint(value:Number):void
| showMarker | property |
showMarker:Boolean [read-write]Visibility of markers.
Implementation public function get showMarker():Boolean
public function set showMarker(value:Boolean):void
| showSeriesBox | property |
showSeriesBox:Boolean [read-write]Flag to specify whether to show series control boxes.
Implementation public function get showSeriesBox():Boolean
public function set showSeriesBox(value:Boolean):void
| showVisibleBox | property |
showVisibleBox:Boolean [read-write]Visibility of checkBoxes.
Implementation public function get showVisibleBox():Boolean
public function set showVisibleBox(value:Boolean):void
| ZetCartesianChart | () | constructor |
public function ZetCartesianChart()
| createVisibleBox | () | method |
protected function createVisibleBox():voidCreates series' control boxes.
| updateCheckBoxLayout | () | method |
protected function updateCheckBoxLayout():voidAdjust checkBoxes' position.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:chartClasses="org.openzet.charts.chartClasses.*"
backgroundColor="0xFFFFFF">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var sampleAC:ArrayCollection = new ArrayCollection([
{index:1, data1:100, data2:200},
{index:2, data1:120, data2:300},
{index:3, data1:110, data2:210},
{index:4, data1:140, data2:220},
{index:5, data1:90, data2:210},
{index:6, data1:100, data2:240},
{index:7, data1:130, data2:210},
{index:8, data1:140, data2:200},
{index:9, data1:110, data2:180},
{index:10, data1:100, data2:220}]);
]]>
</mx:Script>
<chartClasses:ZetCartesianChart id="sampleChart" width="450" dataProvider="{sampleAC}" showSeriesBox="true"
checkBoxHorizontalAlign="right" checkBoxYPoint="400">
<chartClasses:series>
<mx:ColumnSeries yField="data2" displayName="Data 2" />
<mx:LineSeries yField="data1" displayName="Data 1" />
</chartClasses:series>
</chartClasses:ZetCartesianChart>
<mx:Spacer height="10" />
</mx:Application>