Package | com.flexicious.components.tinycharts.valueobjects |
Class | public class PieSeries |
Inheritance | PieSeries ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | baseAtZero : Boolean
Specifies whether Flex tries to keep the minimum
and maximum values rooted at zero. | Series | |
![]() | calculatedMinMaxSum : Array
Calculated result of the minmaxsum function. | Series | |
![]() | chart : TinyChartBase | Series | |
![]() | dataFunction : Function
Specifies a method that returns the value that should be used for
positioning the current chart item in the series. | Series | |
![]() | dataPropertyName : String [override]
Returns the attribute on the series that returns the data field on the dataprovider. | DividedSeries | |
![]() | dataTipRenderer : IFactory
Renderer for the data tip. | Series | |
![]() | displayName : String
The name of the series, for display to the user. | Series | |
![]() | enabledFunction : Function
Given an item, returns the color for its renderer (line, or column)
| Series | |
explodeRadius : Number
A number from 0 to 1, specifying how far all wedges of the pie
series should be exploded from the center of the chart
as a percentage of the total radius. | PieSeries | ||
![]() | field : String
Specifies the field of the data provider that determines
the data for each wedge of the PieChart control. | DividedSeries | |
![]() | interactive : Boolean
Determines whether data tips appear when users interact
with chart data on the screen. | Series | |
![]() | isSecondary : Boolean = false
Is this a secondary series (not used to render the axes), used
by Multi Series Charts. | Series | |
![]() | itemFillFunction : Function = null
Given an item, returns the color for its renderer (line, or column) . | Series | |
![]() | itemLineColorFunction : Function = null
Given an item, returns the color for its line (or border for its fill) . | Series | |
![]() | labelField : String
This is the same as name field, not sure why Adobe did not call it
the labelField to begin with, since that is the naming convention
used elsewhere in the SDK. | DividedSeries | |
![]() | labelFunction : Function
Specifies a callback function used to render each label
of the Series. | Series | |
![]() | labelPropertyName : String [override] [read-only]
Returns the attribute on the series that returns the data field on the dataprovider. | DividedSeries | |
![]() | labelStyleName : String
This is the style name applied to labels that are drawn on top of individual datapoints
For now this is supported for 3d Pie, Funnel and Pyramid Charts, since they are the only ones
that draw a label on top of the individual data points. | Series | |
![]() | minMaxSumFunction : Function
PLEASE NOTE: Starting 2.10 this function is deprecated. | Series | |
![]() | minMaxSumIntervalFunction : Function
Returns an array of 4 values. | Series | |
![]() | nameField : String
Specifies the field of the data provider that determines
the name of each wedge of the PieChart control. | DividedSeries | |
![]() | painter : TinyChartPainterBase
The painter responsible for painting the series. | Series | |
![]() | plotPoints : Array
A list of plot points we calculated to render this series
| Series | |
![]() | selectable : Boolean
Specifies whether a series is selectable or not. | Series | |
![]() | selectedIndex : int
Index of the selected item in the data provider of the series. | Series | |
![]() | selectedIndices : Array
An Array of indexes of the selected items in the data provider of the series. | Series | |
![]() | selectedItem : ChartItem
The chart item that is selected in the series. | Series | |
![]() | selectedItems : Array
An Array of chart items that are selected in the series. | Series | |
![]() | seriesIndex : int = 0
The index of this series within the charts series collection. | Series | |
![]() | showDataTips : Boolean
Whether or not to show data tips on mouse over
| Series | |
startAngle : Number
Specifies the starting angle for the first slice of the PieChart control. | PieSeries | ||
![]() | useRollover : Boolean
Flag to show a different color for the bar/area that the user has rolled over. | Series |
Method | Defined By | ||
---|---|---|---|
PieSeries | |||
![]() | calculateSteps(minValue:Number, maxValue:Number, sum:Number):Array | Series | |
![]() | defaultDataFunction(series:Series, item:Object, fieldName:String):* [static] | Series | |
![]() | getFillForLegend():IFill
Gets the fill associated with this item for this series. | Series | |
![]() | getItemFill(item:Object):IFill
First, checks to see if item is disabled, then returns disabled color style value, if one defined for the series, other wise the one defined for the chart. | Series | |
![]() | getItemLineColor(item:Object):IFill | Series | |
![]() | getLabelForLegend():String
Gets the label associated with this item for this series. | Series | |
![]() | getPlotPoint(item:Object):PlotPoint
Gets the plot point for this item in this series before this one. | Series | |
![]() |
Gets the series before this one. | Series | |
![]() | getStyleValue(prop:String):Object
If a style is defined on this series with a valid value, returns it from the series
style declaration otherwise, returns it from the chart's style declaration. | Series | |
![]() | handleMouseClick(event:MouseEvent, clickedItem:HitData):void
Handles the click. | Series |
explodeRadius | property |
explodeRadius:Number
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
A number from 0 to 1, specifying how far all wedges of the pie series should be exploded from the center of the chart as a percentage of the total radius.
This value explodes all wedges in the pie series uniformly.
You can set the value for individual wedges
via the perWedgeExplodeRadius
property.
The explode radius for any individual wedge is the value of the
explodeRadius
property plus its value
in the perWedgeExplodeRadius
Array.
To guarantee that the pie series
stays within its containing chart's bounds while pulling out wedges,
the pie series might shrink the total radius of the pie.
If you dynamically pull out wedges at run time,
the total pie radius shrinks.
To avoid this effect, you can "reserve" the space
and shrink the total radius initially by setting the
reserveExplodeRadius
property to the maximum explode radius
you intend to set at run time.
public function get explodeRadius():Number
public function set explodeRadius(value:Number):void
startAngle | property |
startAngle:Number
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Specifies the starting angle for the first slice of the PieChart control. The default value is 0, which is horizontal on the right side of the PieChart control.
public function get startAngle():Number
public function set startAngle(value:Number):void
PieSeries | () | Constructor |
public function PieSeries()