Packagecom.flexicious.components.charts.treemap
Classpublic class TreeMapChart
InheritanceTreeMapChart Inheritance TinyChartBase Inheritance ChartBase Inheritance spark.components.supportClasses.SkinnableComponent



Public Properties
 PropertyDefined By
 Inheritedanimate : Boolean
[read-only] Should the chart animate?
TinyChartBase
 InheritedautoAdjust : 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
 InheritedbackgroundEnabled : Boolean = true
Flag whether or not to draw the background
TinyChartBase
  chartTitleComponent : IUIComponent
The skin part responsible for displaying the chart title
TreeMapChart
 InheritedchartType : String
[read-only] One of the following constants, on basis of which chart type this is.
ChartBase
 InheritedcurrentTip : IDataTipRenderer
TinyChartBase
 Inheriteddata : Object
ChartBase
 InheriteddataProvider : Object
[override] Specifies the data provider for the chart.
TinyChartBase
 InheriteddataTipFunction : Function
Specifies a callback method used to generate data tips from values.
ChartBase
 Inheriteddescription : String
A short description of the data in the chart.
ChartBase
 InheritedelementsToBlur : Array
[read-only]
TinyChartBase
 InheritedelementToCenter : IUIComponent
[read-only]
TinyChartBase
 InheritedfirstSeries : Series
[read-only] The first series
TinyChartBase
 Inheritedinterval : Number
For IBarChart and IColumnChart support, where you have an axis, you can define a custom interval.
TinyChartBase
 InheritedmouseSensitivity : 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
 InheritednumElements : int
[read-only] The number of elements in the associates skin
ChartBase
 Inheritedpainter : TinyChartPainterBase
The default painter for this chart.
TinyChartBase
  rootObject : Object
For treemaps that support drill down, when you set the root object, children of this object are used as the root of the treemap.
TreeMapChart
 InheritedsecondarySeries : Array
For multi series charts, you can add secondary series to this array.
TinyChartBase
 InheritedselectedChartItems : Array
[read-only] Specifies an array of all the selected ChartItem objects in the chart.
TinyChartBase
 InheritedselectionMode : String
Specifies whether or not ChartItem objects can be selected.
ChartBase
 Inheritedseries : Array
An array of Series objects that define the chart data.
TinyChartBase
 InheritedshowDataTips : Boolean = true
Flag to show data tips for this chart
TinyChartBase
 InheritedshowSpinnerOnCreationComplete : Boolean
TinyChartBase
 Inheritedspinner : ISpinner
TinyChartBase
 InheritedspinnerBehavior : SpinnerBehavior
TinyChartBase
 InheritedspinnerFactory : IFactory
Factory responsible for instantiating a new spinner.
TinyChartBase
 InheritedspinnerLabel : String
The label of the spinner control, you can use styles to control the appearance.
TinyChartBase
 InheritedspinnerParent : Object
[read-only] The parent component to add the spinner to
TinyChartBase
 InheritedthreeDimensional : Boolean
Is this a 3D chart? For the 2.9 release, only bar and column charts support 3d.
TinyChartBase
 InheritedthreeDimensionalShadowRatio : Number
If threeDimensional is set to true, the ratio of the shadow for the 3D perspective.
TinyChartBase
 InheritedtooltipBehavior : TooltipBehavior
TinyChartBase
 InheriteduseElements : Boolean
[read-only] Whether to use addElement or addChild;
ChartBase
Public Methods
 MethodDefined By
  
TreeMapChart
 Inherited
addElement(element:IVisualElement):IVisualElement
This method will add the passed in visual element directly into the associates skin
ChartBase
 Inherited
drawChart():void
This method actually draws the chart.
TinyChartBase
 Inherited
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
 Inherited
getPlotPoints(item:Object):Array
Gets all the plot points across all series for this item.
TinyChartBase
 Inherited
TinyChartBase
 Inherited
Triggers a redraw of the chart area.
TinyChartBase
 Inherited
Triggers a redraw of the chart area.
TinyChartBase
 Inherited
Triggers a redraw of the chart area.
TinyChartBase
 Inherited
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
[override] Iterates over _itemsUnderMouse and checks to see if any chart item has specified item selected.
TreeMapChart
  
removeElement(element:IVisualElement):IVisualElement
This method will add the passed in visual element directly into the associates skin
TreeMapChart
 Inherited
showSpinner(msg:String):void
TinyChartBase
Protected Methods
 MethodDefined By
 Inherited
attachSkin():void
[override]
ChartBase
 Inherited
collectionChangeHandler(event:CollectionEvent):void
[override] Collection change handler.
TinyChartBase
  
[override] Datatip function
TreeMapChart
 Inherited
measure():void
[override]
ChartBase
 Inherited
mouseClickHandler(event:MouseEvent):void
Handler for the mouse click event.
TinyChartBase
 Inherited
mouseDoubleClickHandler(event:MouseEvent):void
Handler for the double click event.
TinyChartBase
 Inherited
mouseDownHandler(event:MouseEvent):void
Handler for the mouse down event.
TinyChartBase
 Inherited
mouseMoveHandler(event:MouseEvent):void
TinyChartBase
 Inherited
mouseOutHandler(event:MouseEvent):void
Handler for the mouse out event.
TinyChartBase
 Inherited
mouseUpHandler(event:MouseEvent):void
Handler for the mouse over event.
TinyChartBase
  
TreeMapChart
 Inherited
onCreationComplete(event:FlexEvent):void
[override]
TinyChartBase
  
TreeMapChart
 Inherited
onResize(event:ResizeEvent):void
[override]
TinyChartBase
Events
 Event Summary Defined By
 InheritedDispatched when the selection changes in the chart.TinyChartBase
 InheritedDispatched when no data point is found under the mouse pointer when mouse is clicked on chart.TinyChartBase
 InheritedDispatched when no data point is found under the mouse pointer when mouse is double-clicked on chart.TinyChartBase
 InheritedDispatched when the ICollectionView has been updated in some way.ChartBase
 InheritedDispatched when a data point is found under the mouse pointer when it is clicked.TinyChartBase
 InheritedDispatched when a data point is found under the mouse pointer when it is double clicked.TinyChartBase
 InheritedDispatched when a data point is found under the mouse pointer when it is pressed down.TinyChartBase
 InheritedDispatched when the mouse pointer moves while over a data point.TinyChartBase
 InheritedDispatched when a data point is found under the mouse pointer when it is released.TinyChartBase
 InheritedDispatched when the closest data point under the mouse pointer changes.TinyChartBase
 InheritedDispatched when a new data point is found under the mouse pointer.TinyChartBase
Styles
 Style Description Defined By
 InheritedType: mx.graphics.IFill CSS Inheritance: no
Specifies the fill style used for the chart background.
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array
TinyChartBase
 InheritedType: Array Format: Color
Colors for the spinners as an array.
TinyChartBase
 InheritedType: Number Format: Length
Background color of the grid when the spinner is active.
TinyChartBase
 InheritedType: uint Format: Color
Bacground color for the box in which the label is displayed.
TinyChartBase
 InheritedType: uint Format: Color CSS Inheritance: yes
Label color for the spinner.
TinyChartBase
 InheritedType: String CSS Inheritance: yes
Label font family.
TinyChartBase
 InheritedType: Number Format: Length CSS Inheritance: yes
Label font size.
TinyChartBase
 InheritedType: String CSS Inheritance: yes
Label font style.
TinyChartBase
 InheritedType: Number CSS Inheritance: yes
Label font thinkcness.
TinyChartBase
 InheritedType: String CSS Inheritance: yes
Label font weight.
TinyChartBase
 InheritedType: Boolean
A flag that controls whether or not to show the spinner.
TinyChartBase
 InheritedType: Number Format: Length
Spinner radius , default value is 10.
TinyChartBase
 InheritedType: Number Format: Length
Spinner thickness , default value is 5.
TinyChartBase
Public Constants
 ConstantDefined By
 InheritedCHART_TYPE_AREA : String = area
[static]
TinyChartBase
 InheritedCHART_TYPE_BAR : String = bar
[static]
TinyChartBase
 InheritedCHART_TYPE_BUBBLE : String = bubble
[static]
TinyChartBase
 InheritedCHART_TYPE_COLUMN : String = column
[static]
TinyChartBase
 InheritedCHART_TYPE_DIVIDED_BAR : String = dividedbar
[static]
TinyChartBase
 InheritedCHART_TYPE_DIVIDED_COLUMN : String = dividedcolumn
[static]
TinyChartBase
 InheritedCHART_TYPE_FUNNEL : String = funnel
[static]
TinyChartBase
 InheritedCHART_TYPE_LINE : String = line
[static]
TinyChartBase
 InheritedCHART_TYPE_PIE : String = pie
[static]
TinyChartBase
 InheritedCHART_TYPE_PYRAMID : String = pyramid
[static]
TinyChartBase
 InheritedCHART_VARTIAION_TYPE_100PERCENT : String = 100%
[static]
TinyChartBase
 InheritedCHART_VARTIAION_TYPE_CLUSTERED : String = clustered
[static]
TinyChartBase
 InheritedCHART_VARTIAION_TYPE_OVERLAID : String = overlaid
[static]
TinyChartBase
 InheritedCHART_VARTIAION_TYPE_STACKED : String = stacked
[static]
TinyChartBase
 InheritedseriesColors : Array
[static] Default list of colors for series.
TinyChartBase
Property Detail
chartTitleComponentproperty
public var chartTitleComponent:IUIComponent

The skin part responsible for displaying the chart title

rootObjectproperty 
rootObject:Object

For treemaps that support drill down, when you set the root object, children of this object are used as the root of the treemap. Otherwise, we use the top level dataprovider

This property can be used as the source for data binding.


Implementation
    public function get rootObject():Object
    public function set rootObject(value:Object):void
Constructor Detail
TreeMapChart()Constructor
public function TreeMapChart()



Method Detail
defaultDataTipFunction()method
override protected function defaultDataTipFunction(hitData:HitData):String

Datatip function

Parameters

hitData:HitData

Returns
String
isItemUnderMouse()method 
override public function 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.

Parameters

item:Object
 
series:Series (default = null)
 
first:Boolean (default = false)

Returns
Boolean
onChartClick()method 
protected function onChartClick(event:ChartEvent):void

Parameters

event:ChartEvent

onItemClick()method 
protected function onItemClick(event:ChartItemEvent):void

Parameters

event:ChartItemEvent

removeElement()method 
public function removeElement(element:IVisualElement):IVisualElement

This method will add the passed in visual element directly into the associates skin

Parameters

element:IVisualElement

Returns
IVisualElement