Package | com.flexicious.components.tinycharts.painters |
Class | public class TinyBarChartPainter |
Inheritance | TinyBarChartPainter ![]() ![]() ![]() |
Subclasses | BarChartPainter |
Property | Defined By | ||
---|---|---|---|
barChart : IBarChart [read-only]
Gets the current bar chart. | TinyBarChartPainter | ||
![]() | chart : TinyChartBase | TinyChartPainterBase | |
![]() | chartSkin : ITinyChartSkin [read-only] | TinyChartPainterBase | |
![]() | columnChart : IColumnChart [read-only]
Gets the current bar chart. | TinyColumnChartPainter | |
![]() | ownerComponent : IUIComponent | TinyChartPainterBase | |
![]() | series : Series | TinyChartPainterBase |
Method | Defined By | ||
---|---|---|---|
TinyBarChartPainter(chart:TinyChartBase = null) | TinyBarChartPainter | ||
![]() | findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array | TinyChartPainterBase | |
![]() | paintChart():void | TinyChartPainterBase |
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. | TinyBarChartPainter | ||
![]() | 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. | TinyBarChartPainter | ||
paintSeries(xyPosData:Array, series:Series):void [override]
Draws the lines or columns (or wedges) in case of pie for items all items. | TinyBarChartPainter |
barChart | property |
barChart:IBarChart
[read-only] Gets the current bar chart.
public function get barChart():IBarChart
TinyBarChartPainter | () | Constructor |
public function TinyBarChartPainter(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):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.
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 —
|
paintDots | () | method |
override protected function paintDots(dots:Array, series:Series):void
Draws 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 |
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 |