Package | com.flexicious.components.tinycharts |
Class | public class TinyColumnChart |
Inheritance | TinyColumnChart TinyChartBase ChartBase spark.components.supportClasses.SkinnableComponent |
Implements | IColumnChart |
Property | Defined By | ||
---|---|---|---|
animate : Boolean [read-only]
Should the chart animate?
| TinyChartBase | ||
autoAdjust : Boolean = true
Whether or not to adjust the min and max values for this series so that the axis bound to this series
will pad end values to nicely distribute the numbers
| TinyChartBase | ||
backgroundEnabled : Boolean = true
Flag whether or not to draw the background
| TinyChartBase | ||
chartType : String [override] [read-only]
One of the following constants, on basis of which chart type this is. | TinyColumnChart | ||
columnWidthRatio : Number
Specifies how wide to draw the columns relative to the category width,
as a percentage in the range of 0 to 1. | TinyColumnChart | ||
currentTip : IDataTipRenderer | TinyChartBase | ||
data : Object | ChartBase | ||
dataProvider : Object [override]
Specifies the data provider for the chart. | TinyChartBase | ||
dataTipFunction : Function
Specifies a callback method used to generate data tips from values. | ChartBase | ||
description : String
A short description of the data in the chart. | ChartBase | ||
elementsToBlur : Array [read-only] | TinyChartBase | ||
elementToCenter : IUIComponent [read-only] | TinyChartBase | ||
firstSeries : Series [read-only]
The first series
| TinyChartBase | ||
interval : Number
For IBarChart and IColumnChart support, where you have an axis, you can define a custom interval. | TinyChartBase | ||
mouseSensitivity : Number = 2
Specifies the distance, in pixels, that Flex considers a data point
to be under the mouse pointer when the pointer moves around a chart. | ChartBase | ||
numElements : int [read-only]
The number of elements in the associates skin
| ChartBase | ||
painter : TinyChartPainterBase
The default painter for this chart. | TinyChartBase | ||
secondarySeries : Array
For multi series charts, you can add secondary series to this array. | TinyChartBase | ||
selectedChartItems : Array [read-only]
Specifies an array of all the selected ChartItem objects in the chart. | TinyChartBase | ||
selectionMode : String
Specifies whether or not ChartItem objects can be selected. | ChartBase | ||
series : Array
An array of Series objects that define the chart data. | TinyChartBase | ||
showDataTips : Boolean = true
Flag to show data tips for this chart
| TinyChartBase | ||
showSpinnerOnCreationComplete : Boolean | TinyChartBase | ||
spinner : ISpinner | TinyChartBase | ||
spinnerBehavior : SpinnerBehavior | TinyChartBase | ||
spinnerFactory : IFactory
Factory responsible for instantiating a new spinner. | TinyChartBase | ||
spinnerLabel : String
The label of the spinner control, you can use styles
to control the appearance. | TinyChartBase | ||
spinnerParent : Object [read-only]
The parent component to add the spinner to
| TinyChartBase | ||
threeDimensional : Boolean
Is this a 3D chart? For the 2.9 release, only bar and column charts support 3d. | TinyChartBase | ||
threeDimensionalShadowRatio : Number
If threeDimensional is set to true, the ratio of the shadow for the 3D perspective. | TinyChartBase | ||
tooltipBehavior : TooltipBehavior | TinyChartBase | ||
type : String
The type of bar chart to render. | TinyColumnChart | ||
useElements : Boolean [read-only]
Whether to use addElement or addChild;
| ChartBase |
Method | Defined By | ||
---|---|---|---|
TinyColumnChart | |||
addElement(element:IVisualElement):IVisualElement
This method will add the passed in visual element directly into the associates skin
| ChartBase | ||
drawChart():void
This method actually draws the chart. | TinyChartBase | ||
findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array
Returns an array of HitData objects that describe
the nearest data point to the coordinates passed to the method. | TinyChartBase | ||
getPlotPoints(item:Object):Array
Gets all the plot points across all series for this item. | TinyChartBase | ||
hideSpinner():void | TinyChartBase | ||
invalidateChart():void
Triggers a redraw of the chart area. | TinyChartBase | ||
invalidateChartArea():void
Triggers a redraw of the chart area. | TinyChartBase | ||
invalidateChartSize():void
Triggers a redraw of the chart area. | TinyChartBase | ||
isItemSelected(item:Object, series:Series = null):Boolean
Iterates over selectedChartItems and checks to see if any chart item has specified item
selected. | TinyChartBase | ||
isItemUnderMouse(item:Object, series:Series = null, first:Boolean = false):Boolean
Iterates over _itemsUnderMouse and checks to see if any chart item has specified item
selected. | TinyChartBase | ||
showSpinner(msg:String):void | TinyChartBase |
chartType | property |
chartType:String
[read-only] [override] One of the following constants, on basis of which chart type this is.
public function get chartType():String
columnWidthRatio | property |
columnWidthRatio:Number
Specifies how wide to draw the columns relative to the category width, as a percentage in the range of 0 to 1. A value of 1 uses the entire space, while a value of 0.6 uses 60% of the column's available space. Clustered columns divide this space proportionally among the columns in each cluster. The default value is 0.65.
public function get columnWidthRatio():Number
public function set columnWidthRatio(value:Number):void
type | property |
type:String
Language Version : | ActionScript 3.0 |
Product Version : | Flex 3 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The type of bar chart to render. Possible values are:
"clustered"
:
Bars are grouped by category.
This is the default value."overlaid"
:
Multiple bars are rendered on top of each other by category,
with the last series specified on top."stacked"
:
Bars are stacked end to end and grouped by category.
Each bar represents the cumulative value of the values beneath it."100%"
:
Bars are stacked end to end, adding up to 100%.
Each bar represents the percent that it contributes
to the sum of the values for that category. public function get type():String
public function set type(value:String):void
TinyColumnChart | () | Constructor |
public function TinyColumnChart()