| Package | com.yahoo.astra.fl.charts.series |
| Class | public class PieSeries |
| Inheritance | PieSeries Series fl.core.UIComponent |
| Implements | ICategorySeries |
| Property | Defined 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 | ||
![]() | chart : Chart
| Series | |
| dataField : String
The field used to access data for this series.
| PieSeries | ||
![]() | dataProvider : Object | Series | |
![]() | displayName : String | Series | |
![]() | itemRenderer : Object
The class used to instantiate item renderers.
| Series | |
![]() | length : int | Series | |
| Property | Defined by | ||
|---|---|---|---|
| markerMasks : Array | PieSeries | ||
| Method | Defined by | ||
|---|---|---|---|
|
PieSeries(data:Object = null)
Constructor.
| PieSeries | ||
|
| PieSeries | ||
|
createLegendItemData():Array
Creates an Array of LegendItemData objects to pass to the chart's legend.
| PieSeries | ||
|
getStyleDefinition():Object
[static]
| PieSeries | ||
![]() |
itemRendererToIndex(renderer:ISeriesItemRenderer):int
| 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 | ||
![]() |
itemToItemRenderer(item:Object):ISeriesItemRenderer
| Series | |
|
itemToPercentage(item:Object):Number
Converts an item's value to its percentage equivilent.
| PieSeries | ||
| Method | Defined by | ||
|---|---|---|---|
|
copyStylesToRenderer(child:ISeriesItemRenderer, styleMap:Object):void
| PieSeries | ||
![]() |
invalidateMarker(marker:ISeriesItemRenderer):void
| Series | |
![]() |
isMarkerInvalid(marker:ISeriesItemRenderer):Boolean
Indicates whether special considerations should be taken for a newly created marker.
| Series | |
![]() |
validateMarker(marker:ISeriesItemRenderer):void
Makes a marker valid.
| Series | |
| Style | Description | Defined by | ||
|---|---|---|---|---|
![]() | Type: int The duration for animations that occur on data changes. | Series | ||
![]() | Type: Function The easing function for animations that occur on data changes. | Series | ||
![]() | Type: Boolean If true, data changes will be displayed with animations. | Series | ||
![]() | 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 | ||
![]() | Type: Class The size, in pixels, of each marker. | Series | ||
![]() | Type: Class The Class used to instantiate each marker's skin. | Series | ||
| categoryField | property |
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
| categoryNames | property |
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
| dataField | property |
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
| markerMasks | property |
protected var markerMasks:Array
| PieSeries | () | constructor |
public function PieSeries(data:Object = null)Constructor.
Parametersdata:Object (default = null) |
| clone | () | method |
| copyStylesToRenderer | () | method |
protected function copyStylesToRenderer(child:ISeriesItemRenderer, styleMap:Object):voidParameters
child:ISeriesItemRenderer |
|
styleMap:Object |
| createLegendItemData | () | method |
public function createLegendItemData():ArrayCreates an Array of LegendItemData objects to pass to the chart's legend.
ReturnsArray |
| getStyleDefinition | () | method |
public static function getStyleDefinition():ObjectReturns
Object |
| itemToCategory | () | method |
public function itemToCategory(item:Object, index:int):StringConverts an item to the category in which it is displayed.
Parametersitem:Object |
|
index:int |
String |
| itemToData | () | method |
public function itemToData(item:Object):NumberConverts an item to it's value.
Parametersitem:Object |
Number |
| itemToPercentage | () | method |
public function itemToPercentage(item:Object):NumberConverts an item's value to its percentage equivilent.
Parametersitem:Object |
Number |