| Package | com.flexicious.components.charts.treemap |
| Class | public class TreeMapPainter |
| Inheritance | TreeMapPainter TinyChartPainterBase Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | chart : TinyChartBase | TinyChartPainterBase | |
![]() | chartSkin : ITinyChartSkin [read-only] | TinyChartPainterBase | |
![]() | ownerComponent : IUIComponent | TinyChartPainterBase | |
![]() | series : Series | TinyChartPainterBase | |
| treemapChart : TreeMapChart [read-only] | TreeMapPainter | ||
| treemapSeries : TreeMapSeries [read-only] | TreeMapPainter | ||
| Method | Defined By | ||
|---|---|---|---|
TreeMapPainter(chart:TinyChartBase = null) | TreeMapPainter | ||
findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array [override] | TreeMapPainter | ||
paintChart():void [override] | TreeMapPainter | ||
| Method | Defined By | ||
|---|---|---|---|
checkProximity(x:Number, y:Number, xPos:Number, yPos:Number, series:Series, sensitivity:int, checkInteractivity:Boolean, plotPoint:PlotPoint):Boolean [override]
Given a point and the X/Y cordinates of an item, returns true if the point is in proximity of
the items cordinates, using mouse sensitivity value provided. | TreeMapPainter | ||
![]() | paintBackground():void
Draws the background. | TinyChartPainterBase | |
[override]
Draws the dots for items that are under the mouse, as well as the items that are selected. | TreeMapPainter | ||
![]() | paintSeries(xyPosData:Array, series:Series):void
Draws the lines or columns (or wedges) in case of pie for items all items. | TinyChartPainterBase | |
setBounds(plotPoints:Array, contentBounds:Rectangle):void | TreeMapPainter | ||
setLabelTextAndColor(lbl:Object, text:String, color:Object):void | TreeMapPainter | ||
setMinMaxSum(plotPoints:Array):Array | TreeMapPainter | ||
| treemapChart | property |
treemapChart:TreeMapChart [read-only] public function get treemapChart():TreeMapChart| treemapSeries | property |
treemapSeries:TreeMapSeries [read-only] public function get treemapSeries():TreeMapSeries| TreeMapPainter | () | Constructor |
public function TreeMapPainter(chart:TinyChartBase = null)chart:TinyChartBase (default = null) |
| checkProximity | () | method |
override protected function checkProximity(x:Number, y:Number, xPos:Number, yPos:Number, series:Series, sensitivity:int, checkInteractivity:Boolean, plotPoint:PlotPoint):BooleanGiven a point and the X/Y cordinates of an item, returns true if the point is in proximity of the items cordinates, using mouse sensitivity value provided.
Parameters
x:Number — X Cordinate of the point to check
| |
y:Number — Y Cordinate of the point to check
| |
xPos:Number — X Cordinate of the item
| |
yPos:Number — Y Cordinate of the item
| |
series:Series — Series object that the item belongs to
| |
sensitivity:int — Mouse sensitivity
| |
checkInteractivity:Boolean — Boolean flag to see if series is interactive.
| |
plotPoint:PlotPoint |
Boolean —
|
| findDataPoints | () | method |
override public function findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):ArrayParameters
x:Number | |
y:Number | |
checkInteractivity:Boolean (default = false) | |
sensitivity:int (default = -1) |
Array |
| paintChart | () | method |
override public function paintChart():void| paintDots | () | method |
override protected function paintDots(dots:Array, series:Series):voidDraws the dots for items that are under the mouse, as well as the items that are selected.
Parameters
dots:Array — Contains information about the dots to draw. xPos, yPos, width.
| |
series:Series |
| setBounds | () | method |
protected function setBounds(plotPoints:Array, contentBounds:Rectangle):voidParameters
plotPoints:Array | |
contentBounds:Rectangle |
| setLabelTextAndColor | () | method |
protected function setLabelTextAndColor(lbl:Object, text:String, color:Object):voidParameters
lbl:Object | |
text:String | |
color:Object |
| setMinMaxSum | () | method |
protected function setMinMaxSum(plotPoints:Array):ArrayParameters
plotPoints:Array |
Array |