Graph: ezcGraphAxisLabelRenderer
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphAxisLabelRenderer
|
Abstract class to render labels and grids on axis. Will be extended to make it possible using different algorithms for rendering axis labels. [
source]
Parents
ezcBaseOptions
|
--ezcGraphAxisLabelRenderer
Descendents
Properties
|
bool |
read/write
|
$innerStep
Indicates if steps are shown on the inner side of axis. |
|
int |
read/write
|
$labelPadding
Padding of labels. |
|
bool |
read/write
|
$majorStepCount
Count of major steps. |
|
int |
read/write
|
$majorStepSize
Size of major steps. |
|
bool |
read/write
|
$minorStepCount
Count of minor steps. |
|
int |
read/write
|
$minorStepSize
Size of minor steps. |
|
bool |
read/write
|
$outerGrid
Indicates if the grid is shown on the outer side of axis. |
|
bool |
read/write
|
$outerStep
Indicates if steps are shown on the outer side of axis. |
Member Variables
Inherited Member Variables
From
ezcBaseOptions:
Method Summary
|
public void |
determineLineCuttingPoint(
$aStart, $aDir, $bStart, $bDir )
|
|
protected void |
drawGrid(
$renderer, $boundings, $position, $direction, $color )
Draw grid |
|
public void |
drawStep(
$renderer, $position, $direction, $axisPosition, $size, $color )
Draw single step on a axis |
|
public ezcGraphBoundings |
modifyChartBoundings(
$boundings, $direction )
Modify chart boundings |
|
public ezcGraphCoordinate |
modifyChartDataPosition(
$coordinate )
Modify chart data position |
|
public abstract void |
renderLabels(
$renderer, $boundings, $start, $end, $axis )
Render Axis labels |
Inherited Methods
From
ezcBaseOptions :
Methods
determineLineCuttingPoint
Parameters
drawGrid
Draw grid
Draws a grid line at the current position
Parameters
drawStep
Draw single step on a axis
Draws a step on a axis at the current position
Parameters
modifyChartBoundings
Modify chart boundings
Optionally modify boundings of chart data
Parameters
| Name |
Type |
Description |
$boundings |
ezcGraphBoundings |
Current boundings of chart |
$direction |
ezcGraphCoordinate |
Direction of the current axis |
modifyChartDataPosition
Modify chart data position
Optionally additionally modify the coodinate of a data point
Parameters
Redefined in descendants as
renderLabels
Render Axis labels
Render labels for an axis.
Parameters
Redefined in descendants as
Last updated: Thu, 01 Nov 2007