Packagecom.flexicious.components.charts.painters
Classpublic class PyramidChartPainter
InheritancePyramidChartPainter Inheritance TinyChartPainterBase Inheritance Object
Subclasses FunnelChartPainter



Public Properties
 PropertyDefined By
 Inheritedchart : TinyChartBase
TinyChartPainterBase
 InheritedchartSkin : ITinyChartSkin
[read-only]
TinyChartPainterBase
 InheritedownerComponent : IUIComponent
TinyChartPainterBase
 Inheritedseries : Series
TinyChartPainterBase
Public Methods
 MethodDefined By
  
PyramidChartPainter
  
drawSlice(graphics:Graphics, chartHeight:Number, chartWidth:Number, currentY:Number, currentX:Number, heightOfItem:Number, fill:Object):Number
PyramidChartPainter
  
findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array
[override]
PyramidChartPainter
 Inherited
paintChart():void
TinyChartPainterBase
Protected Methods
 MethodDefined By
 Inherited
checkProximity(x:Number, y:Number, xPos:Number, yPos:Number, series:Series, sensitivity:int, checkInteractivity:Boolean, plotPoint:PlotPoint):Boolean
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.
TinyChartPainterBase
 Inherited
Draws the background.
TinyChartPainterBase
  
paintDots(dots:Array, series:Series):void
[override]
PyramidChartPainter
  
paintSeries(xyPosData:Array, series:Series):void
[override] Draws the lines or columns (or wedges) in case of pie for items all items.
PyramidChartPainter
Constructor Detail
PyramidChartPainter()Constructor
public function PyramidChartPainter(chart:TinyChartBase = null)



Parameters
chart:TinyChartBase (default = null)
Method Detail
drawSlice()method
public function drawSlice(graphics:Graphics, chartHeight:Number, chartWidth:Number, currentY:Number, currentX:Number, heightOfItem:Number, fill:Object):Number

Parameters

graphics:Graphics
 
chartHeight:Number
 
chartWidth:Number
 
currentY:Number
 
currentX:Number
 
heightOfItem:Number
 
fill:Object

Returns
Number
findDataPoints()method 
override public function findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array

Parameters

x:Number
 
y:Number
 
checkInteractivity:Boolean (default = false)
 
sensitivity:int (default = -1)

Returns
Array
paintDots()method 
override protected function paintDots(dots:Array, series:Series):void

Parameters

dots:Array
 
series:Series

paintSeries()method 
override protected function paintSeries(xyPosData:Array, series:Series):void

Draws the lines or columns (or wedges) in case of pie for items all items.

Parameters

xyPosData:Array — Contains information about the dots to draw. xPos, yPos, width.
 
series:Series