Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IAxisGroup

Package | org.apache.flex.charts.core
Interface | public interface IAxisGroup
Implementors | ChartAxisGroup, SVGChartAxisGroup

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The IAxisGroup defines the interface for classes that provide drawing space for chart axis objects, such as tick marks and lines.

Public Methods

| Method | Defined By
--- | --- | ---
|  | drawAxisLine(originX:Number, originY:Number, width:Number, height:Number, lineStroke:IStroke):void | IAxisGroup
|  | drawHorizontalTickLabel(text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, fill:IFill):Object | IAxisGroup
|  | drawTickMarks(originX:Number, originY:Number, width:Number, height:Number, marks:String, tickStroke:IStroke):void | IAxisGroup
|  | drawVerticalTickLabel(text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, fill:IFill):Object | IAxisGroup
|  | removeAllElements():void | IAxisGroup

Method Detail

drawAxisLine | () | method

`public function drawAxisLine(originX:Number, originY:Number, width:Number, height:Number, lineStroke:IStroke):void`

Parameters

| `originX:Number`
| `originY:Number`
| `width:Number`
| `height:Number`
| `lineStroke:IStroke`

drawHorizontalTickLabel | () | method |

`public function drawHorizontalTickLabel(text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, fill:IFill):Object`

Parameters

| `text:String`
| `xpos:Number`
| `ypos:Number`
| `boxWidth:Number`
| `boxHeight:Number`
| `fill:IFill`

Returns

| `Object`

drawTickMarks | () | method |

`public function drawTickMarks(originX:Number, originY:Number, width:Number, height:Number, marks:String, tickStroke:IStroke):void`

Parameters

| `originX:Number`
| `originY:Number`
| `width:Number`
| `height:Number`
| `marks:String`
| `tickStroke:IStroke`

drawVerticalTickLabel | () | method |

`public function drawVerticalTickLabel(text:String, xpos:Number, ypos:Number, boxWidth:Number, boxHeight:Number, fill:IFill):Object`

Parameters

| `text:String`
| `xpos:Number`
| `ypos:Number`
| `boxWidth:Number`
| `boxHeight:Number`
| `fill:IFill`

Returns

| `Object`

removeAllElements | () | method |

`public function removeAllElements():void`

Mon Sep 5 2016, 07:19 AM -07:00