Package | com.flexicious.components.tinycharts.painters |
Class | public class TinyLineChartPainter |
Inheritance | TinyLineChartPainter ![]() ![]() |
Subclasses | LineChartPainter, TinyAreaChartPainter |
Method | Defined By | ||
---|---|---|---|
TinyLineChartPainter(chart:TinyChartBase = null) | TinyLineChartPainter | ||
![]() | 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. | TinyLineChartPainter | ||
![]() | paintBackground():void
Draws the background. | TinyChartPainterBase | |
![]() |
Draws the dots for items that are under the mouse, as well as the items that are selected. | TinyChartPainterBase | |
paintSeries(xyPosData:Array, series:Series):void [override]
Draws the lines or columns (or wedges) in case of pie for items all items. | TinyLineChartPainter |
TinyLineChartPainter | () | Constructor |
public function TinyLineChartPainter(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 —
|
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 |