Packagecom.flexicious.components.charts.painters
Classpublic class BubbleChartPainter
InheritanceBubbleChartPainter Inheritance TinyChartPainterBase Inheritance Object
Subclasses PlotChartPainter



Public Properties
 PropertyDefined By
  cartesianChart : CartesianChart
[read-only] The base chart casted as the regular Line chart
BubbleChartPainter
 Inheritedchart : TinyChartBase
TinyChartPainterBase
 InheritedchartSkin : ITinyChartSkin
[read-only]
TinyChartPainterBase
 InheritedownerComponent : IUIComponent
TinyChartPainterBase
 Inheritedseries : Series
TinyChartPainterBase
Public Methods
 MethodDefined By
  
BubbleChartPainter
  
drawCircle(graphics:Graphics, x:Number, y:Number, circleSize:Number, dialRimColor:uint, dialColor:uint, linearGradient:Boolean, dialColorGradientBrightness:Number, dialColorGradientDarkness:Number, drawShadow:Boolean):void
[static] Draws the atual circles.
BubbleChartPainter
 Inherited
findDataPoints(x:Number, y:Number, checkInteractivity:Boolean = false, sensitivity:int = -1):Array
TinyChartPainterBase
 Inherited
paintChart():void
TinyChartPainterBase
Protected Methods
 MethodDefined 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.
BubbleChartPainter
 Inherited
Draws the background.
TinyChartPainterBase
  
paintDots(dots:Array, series:Series):void
[override] Draws the dots for items that are under the mouse, as well as the items that are selected.
BubbleChartPainter
  
paintSeries(xyPosData:Array, series:Series):void
[override] Draws the lines or columns (or wedges) in case of pie for items all items.
BubbleChartPainter
Property Detail
cartesianChartproperty
cartesianChart:CartesianChart  [read-only]

The base chart casted as the regular Line chart


Implementation
    public function get cartesianChart():CartesianChart
Constructor Detail
BubbleChartPainter()Constructor
public function BubbleChartPainter(chart:TinyChartBase = null)



Parameters
chart:TinyChartBase (default = null)
Method Detail
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

Returns
Boolean
drawCircle()method 
public static function drawCircle(graphics:Graphics, x:Number, y:Number, circleSize:Number, dialRimColor:uint, dialColor:uint, linearGradient:Boolean, dialColorGradientBrightness:Number, dialColorGradientDarkness:Number, drawShadow:Boolean):void

Draws the atual circles.

Parameters

graphics:Graphics
 
x:Number
 
y:Number
 
circleSize:Number
 
dialRimColor:uint
 
dialColor:uint
 
linearGradient:Boolean
 
dialColorGradientBrightness:Number
 
dialColorGradientDarkness:Number
 
drawShadow: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