Packagexp.charting
Classpublic class AxisRenderer
ImplementsIAxisRenderer



Public Properties
 PropertyDefined by
  chartDesc : ChartDesc
AxisRenderer
Protected Properties
 PropertyDefined by
  axisStroke : IStroke
AxisRenderer
  gridBandsDirection : String
AxisRenderer
  gridChangeCount : int
AxisRenderer
  gridFill : IFill
AxisRenderer
  gridFillAlternate : IFill
AxisRenderer
  gridStroke : IStroke
AxisRenderer
  minorTickLength : int
AxisRenderer
  minorTickPlacement : String
AxisRenderer
  minorTickStroke : IStroke
AxisRenderer
  nullStroke : IStroke
[static]
AxisRenderer
  originStroke : IStroke
AxisRenderer
  showGridBands : Boolean
AxisRenderer
  showGridLines : Boolean
AxisRenderer
  showLabels : Boolean
AxisRenderer
  showLine : Boolean
AxisRenderer
  showOrigin : Boolean
AxisRenderer
  tickLength : int
AxisRenderer
  tickPlacement : String
AxisRenderer
  tickStroke : IStroke
AxisRenderer
Public Methods
 MethodDefined by
  
Constructor
AxisRenderer
  
render(w:int, h:int, axisItems:Array):void
AxisRenderer
  
updateConfig(config:Object):void
AxisRenderer
Protected Methods
 MethodDefined by
  
drawAxisLine(w:int, h:int, axisItems:Array):void
Draw the axisline
AxisRenderer
  
drawGridBands(w:int, h:int, axisItems:Array):void
Draw an single axis gridline
AxisRenderer
  
drawGridLines(w:int, h:int, axisItems:Array):void
Draw the axis gridlines
AxisRenderer
  
drawHGridLines(w:int, h:int, axisItems:Array):void
AxisRenderer
  
drawHorizontalLabels(w:Number, h:Number, axisItems:Array):void
AxisRenderer
  
drawHorizontalMarks(w:int, h:int, axisItems:Array):void
AxisRenderer
  
drawLabels(w:Number, h:Number, axisItems:Array):void
AxisRenderer
  
drawMarks(w:int, h:int, axisItems:Array):void
Draw the axis TickMarks
AxisRenderer
  
drawOrigin(w:int, h:int, axisItems:Array):void
Draw an single axis gridline
AxisRenderer
  
drawVerticalLabels(w:Number, h:Number, axisItems:Array):void
AxisRenderer
  
drawVerticalMarks(w:int, h:int, axisItems:Array):void
AxisRenderer
  
drawVGridLines(w:int, h:int, axisItems:Array):void
AxisRenderer
Public Constants
 ConstantDefined by
  TICK_PLACEMENT_CROSS : String = "cross"
[static] The constant for the type of tick - cross the axis
AxisRenderer
  TICK_PLACEMENT_INSIDE : String = "inside"
[static] The constant for the type of tick - inside the axis
AxisRenderer
  TICK_PLACEMENT_NONE : String = "none"
[static] The constant for the type of tick - no tick mark
AxisRenderer
  TICK_PLACEMENT_OUTSIDE : String = "outside"
[static] The constant for the type of tick - outside the axis
AxisRenderer
Property detail
axisStrokeproperty
protected var axisStroke:IStroke
chartDescproperty 
chartDesc:ChartDesc  [read-write]Implementation
    public function get chartDesc():ChartDesc
    public function set chartDesc(value:ChartDesc):void
gridBandsDirectionproperty 
protected var gridBandsDirection:String
gridChangeCountproperty 
protected var gridChangeCount:int
gridFillproperty 
protected var gridFill:IFill
gridFillAlternateproperty 
protected var gridFillAlternate:IFill
gridStrokeproperty 
protected var gridStroke:IStroke
minorTickLengthproperty 
protected var minorTickLength:int
minorTickPlacementproperty 
protected var minorTickPlacement:String
minorTickStrokeproperty 
protected var minorTickStroke:IStroke
nullStrokeproperty 
protected static var nullStroke:IStroke
originStrokeproperty 
protected var originStroke:IStroke
showGridBandsproperty 
protected var showGridBands:Boolean
showGridLinesproperty 
protected var showGridLines:Boolean
showLabelsproperty 
protected var showLabels:Boolean
showLineproperty 
protected var showLine:Boolean
showOriginproperty 
protected var showOrigin:Boolean
tickLengthproperty 
protected var tickLength:int
tickPlacementproperty 
protected var tickPlacement:String
tickStrokeproperty 
protected var tickStroke:IStroke
Constructor detail
AxisRenderer()constructor
public function AxisRenderer(axis:Axis)

Constructor

Parameters
axis:Axis — The axis to render
Method detail
drawAxisLine()method
protected function drawAxisLine(w:int, h:int, axisItems:Array):void

Draw the axisline

Parameters
w:int
 
h:int
 
axisItems:Array
drawGridBands()method 
protected function drawGridBands(w:int, h:int, axisItems:Array):void

Draw an single axis gridline

Parameters
w:int — The position to draw at
 
h:int
 
axisItems:Array
drawGridLines()method 
protected function drawGridLines(w:int, h:int, axisItems:Array):void

Draw the axis gridlines

Parameters
w:int
 
h:int
 
axisItems:Array
drawHGridLines()method 
protected function drawHGridLines(w:int, h:int, axisItems:Array):voidParameters
w:int
 
h:int
 
axisItems:Array
drawHorizontalLabels()method 
protected function drawHorizontalLabels(w:Number, h:Number, axisItems:Array):voidParameters
w:Number
 
h:Number
 
axisItems:Array
drawHorizontalMarks()method 
protected function drawHorizontalMarks(w:int, h:int, axisItems:Array):voidParameters
w:int
 
h:int
 
axisItems:Array
drawLabels()method 
protected function drawLabels(w:Number, h:Number, axisItems:Array):voidParameters
w:Number
 
h:Number
 
axisItems:Array
drawMarks()method 
protected function drawMarks(w:int, h:int, axisItems:Array):void

Draw the axis TickMarks

Parameters
w:int
 
h:int
 
axisItems:Array
drawOrigin()method 
protected function drawOrigin(w:int, h:int, axisItems:Array):void

Draw an single axis gridline

Parameters
w:int — The position to draw at
 
h:int
 
axisItems:Array
drawVerticalLabels()method 
protected function drawVerticalLabels(w:Number, h:Number, axisItems:Array):voidParameters
w:Number
 
h:Number
 
axisItems:Array
drawVerticalMarks()method 
protected function drawVerticalMarks(w:int, h:int, axisItems:Array):voidParameters
w:int
 
h:int
 
axisItems:Array
drawVGridLines()method 
protected function drawVGridLines(w:int, h:int, axisItems:Array):voidParameters
w:int
 
h:int
 
axisItems:Array
render()method 
public function render(w:int, h:int, axisItems:Array):voidParameters
w:int
 
h:int
 
axisItems:Array
updateConfig()method 
public function updateConfig(config:Object):voidParameters
config:Object
Constant detail
TICK_PLACEMENT_CROSSconstant
public static const TICK_PLACEMENT_CROSS:String = "cross"

The constant for the type of tick - cross the axis

TICK_PLACEMENT_INSIDEconstant 
public static const TICK_PLACEMENT_INSIDE:String = "inside"

The constant for the type of tick - inside the axis

TICK_PLACEMENT_NONEconstant 
public static const TICK_PLACEMENT_NONE:String = "none"

The constant for the type of tick - no tick mark

TICK_PLACEMENT_OUTSIDEconstant 
public static const TICK_PLACEMENT_OUTSIDE:String = "outside"

The constant for the type of tick - outside the axis