Packagecom.yahoo.astra.fl.charts.series
Classpublic class PieSeries
InheritancePieSeries Inheritance Series Inheritance fl.core.UIComponent
ImplementsICategorySeries

Renders data points as a series of pie-like wedges.



Public Properties
 PropertyDefined by
  categoryField : String
The field used to access categories for this series.
PieSeries
  categoryNames : Array
The names of the categories displayed on the category axis.
PieSeries
 Inheritedchart : Chart
Series
  dataField : String
The field used to access data for this series.
PieSeries
 InheriteddataProvider : Object
Series
 InheriteddisplayName : String
Series
 InheriteditemRenderer : Object
The class used to instantiate item renderers.
Series
 Inheritedlength : int
Series
Protected Properties
 PropertyDefined by
  markerMasks : Array
PieSeries
Public Methods
 MethodDefined by
  
PieSeries(data:Object = null)
Constructor.
PieSeries
  
PieSeries
  
Creates an Array of LegendItemData objects to pass to the chart's legend.
PieSeries
  
[static]
PieSeries
 Inherited
Series
  
itemToCategory(item:Object, index:int):String
Converts an item to the category in which it is displayed.
PieSeries
  
itemToData(item:Object):Number
Converts an item to it's value.
PieSeries
 Inherited
Series
  
itemToPercentage(item:Object):Number
Converts an item's value to its percentage equivilent.
PieSeries
Protected Methods
 MethodDefined by
  
copyStylesToRenderer(child:ISeriesItemRenderer, styleMap:Object):void
PieSeries
 Inherited
Series
 Inherited
Indicates whether special considerations should be taken for a newly created marker.
Series
 Inherited
Makes a marker valid.
Series
Styles
 StyleDescriptionDefined by
 Inherited Type: int
The duration for animations that occur on data changes.
Series
 Inherited Type: Function
The easing function for animations that occur on data changes.
Series
 Inherited Type: Boolean
If true, data changes will be displayed with animations.
Series
 Inherited Type: Color
The base color used by objects displayed in this series.
Series
  
fillColors
Type: Array
The colors of the markers in this series. The default value is [0x729fcf, 0xfcaf3e, 0x73d216, 0xfce94f, 0xad7fa8, 0x3465a4].
PieSeries
 Inherited Type: Class
The size, in pixels, of each marker.
Series
 Inherited Type: Class
The Class used to instantiate each marker's skin.
Series
Property detail
categoryFieldproperty
categoryField:String  [read-write]

The field used to access categories for this series.

Implementation
    public function get categoryField():String
    public function set categoryField(value:String):void
categoryNamesproperty 
categoryNames:Array  [read-write]

The names of the categories displayed on the category axis. If the chart does not have a category axis, this value will be ignored.

Implementation
    public function get categoryNames():Array
    public function set categoryNames(value:Array):void
dataFieldproperty 
dataField:String  [read-write]

The field used to access data for this series.

Implementation
    public function get dataField():String
    public function set dataField(value:String):void
markerMasksproperty 
protected var markerMasks:Array
Constructor detail
PieSeries()constructor
public function PieSeries(data:Object = null)

Constructor.

Parameters
data:Object (default = null)
Method detail
clone()method
public override function clone():ISeries

Returns
ISeries
copyStylesToRenderer()method 
protected function copyStylesToRenderer(child:ISeriesItemRenderer, styleMap:Object):voidParameters
child:ISeriesItemRenderer
 
styleMap:Object
createLegendItemData()method 
public function createLegendItemData():Array

Creates an Array of LegendItemData objects to pass to the chart's legend.

Returns
Array
getStyleDefinition()method 
public static function getStyleDefinition():Object

Returns
Object
itemToCategory()method 
public function itemToCategory(item:Object, index:int):String

Converts an item to the category in which it is displayed.

Parameters
item:Object
 
index:int

Returns
String
itemToData()method 
public function itemToData(item:Object):Number

Converts an item to it's value.

Parameters
item:Object

Returns
Number
itemToPercentage()method 
public function itemToPercentage(item:Object):Number

Converts an item's value to its percentage equivilent.

Parameters
item:Object

Returns
Number