| Package | com.flexicious.components.charts.painters |
| Class | public class PyramidChartPainter |
| Inheritance | PyramidChartPainter TinyChartPainterBase Object |
| Subclasses | FunnelChartPainter |
| Method | Defined By | ||
|---|---|---|---|
PyramidChartPainter(chart:TinyChartBase = null) | 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 | ||
![]() | paintChart():void | TinyChartPainterBase | |
| Method | Defined By | ||
|---|---|---|---|
![]() | 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 | |
![]() | paintBackground():void
Draws the background. | TinyChartPainterBase | |
[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 | ||
| PyramidChartPainter | () | Constructor |
public function PyramidChartPainter(chart:TinyChartBase = null)chart:TinyChartBase (default = null) |
| drawSlice | () | method |
public function drawSlice(graphics:Graphics, chartHeight:Number, chartWidth:Number, currentY:Number, currentX:Number, heightOfItem:Number, fill:Object):NumberParameters
graphics:Graphics | |
chartHeight:Number | |
chartWidth:Number | |
currentY:Number | |
currentX:Number | |
heightOfItem:Number | |
fill:Object |
Number |
| 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 |
| 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):voidDraws 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 |