Packagemx.charts.series.items
Classpublic class PieSeriesItem
InheritancePieSeriesItem Inheritance ChartItem Inheritance flash.events.EventDispatcher

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Represents the information required to render a single wedge as part of a PieSeries. The PieSeries class passes these items to its itemRenderer when rendering.



Public Properties
 PropertyDefined By
  angle : Number
The angle, in radians, that this wedge subtends.
PieSeriesItem
 InheritedcurrentState : String
Defines the appearance of the ChartItem.
ChartItem
 Inheritedelement : IChartElement
The series or element that owns the ChartItem.
ChartItem
  fill : IFill
The fill value associated with this wedge of the PieChart control.
PieSeriesItem
 Inheritedindex : int
The index of the data from the series' data provider that the ChartItem represents.
ChartItem
  innerRadius : Number
The distance of the inner edge of this wedge from its origin, measured in pixels.
PieSeriesItem
 Inheriteditem : Object
The item from the series' data provider that the ChartItem represents.
ChartItem
 InheriteditemRenderer : IFlexDisplayObject
The instance of the chart's itemRenderer that represents this ChartItem.
ChartItem
  labelAngle : Number
The angle of the label, in radians, for this wedge.
PieSeriesItem
  number : Number
The value this wedge represents converted into screen coordinates.
PieSeriesItem
  origin : Point
The origin, relative to the PieSeries's coordinate system, of this wedge.
PieSeriesItem
  outerRadius : Number
The distance of the outer edge of this wedge from its origin, measured in pixels.
PieSeriesItem
  percentValue : Number
The percentage this value represents of the total pie.
PieSeriesItem
  startAngle : Number
The start angle, in radians, of this wedge.
PieSeriesItem
  value : Object
The value this wedge represents from the PieSeries' dataProvider.
PieSeriesItem
Public Methods
 MethodDefined By
  
PieSeriesItem(element:PieSeries = null, data:Object = null, index:uint = 0)
Constructor.
PieSeriesItem
 Inherited
Returns a copy of this ChartItem.
ChartItem
Public Constants
 ConstantDefined By
 InheritedDISABLED : String = disabled
[static] Value that indicates the ChartItem appears disabled and cannot be selected.
ChartItem
 InheritedFOCUSED : String = focused
[static] Value that indicates the ChartItem has focus but does not appear to be selected.
ChartItem
 InheritedFOCUSEDSELECTED : String = focusedSelected
[static] Value that indicates the ChartItem appears to have focus and appears to be selected.
ChartItem
 InheritedNONE : String = none
[static] Value that indicates the ChartItem does not appear to be selected, does not have focus, and is not being rolled over.
ChartItem
 InheritedROLLOVER : String = rollOver
[static] Value that indicates the ChartItem appears as if the mouse was over it.
ChartItem
 InheritedSELECTED : String = selected
[static] Value that indicates the ChartItem appears selected but does not have focus.
ChartItem
Property Detail
angleproperty
public var angle:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The angle, in radians, that this wedge subtends.

fillproperty 
public var fill:IFill

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The fill value associated with this wedge of the PieChart control.

innerRadiusproperty 
public var innerRadius:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The distance of the inner edge of this wedge from its origin, measured in pixels. If 0, the wedge should come to a point at the origin.

labelAngleproperty 
public var labelAngle:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The angle of the label, in radians, for this wedge.

numberproperty 
public var number:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The value this wedge represents converted into screen coordinates.

originproperty 
public var origin:Point

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The origin, relative to the PieSeries's coordinate system, of this wedge.

outerRadiusproperty 
public var outerRadius:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The distance of the outer edge of this wedge from its origin, measured in pixels.

percentValueproperty 
public var percentValue:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The percentage this value represents of the total pie.

startAngleproperty 
public var startAngle:Number

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The start angle, in radians, of this wedge.

valueproperty 
public var value:Object

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The value this wedge represents from the PieSeries' dataProvider.

Constructor Detail
PieSeriesItem()Constructor
public function PieSeriesItem(element:PieSeries = null, data:Object = null, index:uint = 0)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
element:PieSeries (default = null) — The owning series.
 
data:Object (default = null) — The item from the dataProvider that this ChartItem represents .
 
index:uint (default = 0) — The index of the item from the series's dataProvider.