Graph: ezcGraphAxisRotatedLabelRenderer
[ ]
[ Gallery ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphAxisRotatedLabelRenderer
|
Can render axis labels rotated, so that more axis labels fit on one axis. [
source]
Produces best results if the axis space was increased, so that more spcae is available below the axis.
1. $chart->xAxis->axisLabelRenderer = new ezcGraphAxisRotatedLabelRenderer();
2.
3. // Define angle manually in degree
4. $chart->xAxis->axisLabelRenderer->angle = 45;
5.
6. // Increase axis space
7. $chart->xAxis->axisSpace = .2;
Parents
ezcBaseOptions
|
--ezcGraphAxisLabelRenderer
|
--ezcGraphAxisRotatedLabelRenderer
Properties
|
float |
read/write
|
$angle
Angle of labels on axis in degrees. |
Member Variables
|
protected ezcGraphVector |
$direction
Store direction for later coordinate modifications |
|
protected float |
$offset
Store coordinate offset for later coordinate modifications |
|
protected array(ezcGraphStep) |
$steps
Store step array for later coordinate modifications |
|
protected float |
$widthModifier
Store coordinate width modifier for later coordinate modifications |
Inherited Member Variables
From
ezcGraphAxisLabelRenderer:
From
ezcBaseOptions:
Method Summary
Inherited Methods
From
ezcGraphAxisLabelRenderer :
From
ezcBaseOptions :
Methods
modifyChartDataPosition
Modify chart data position
Optionally additionally modify the coodinate of a data point
Parameters
Redefinition of
renderLabels
Render Axis labels
Render labels for an axis.
Parameters
Redefinition of
Last updated: Tue, 01 Sep 2009