Apache Zeta Components Manual :: Docs For Class ezcGraphAxisRotatedBoxedLabelRenderer
Graph::ezcGraphAxisRotatedBoxedLabelRenderer
Class ezcGraphAxisRotatedBoxedLabelRenderer
Can render axis labels rotated, so that more axis labels fit on one axis.
Produces best results if the axis space was increased, so that more spcae is available below the axis.
- // Define angle manually in degree
- $chart->xAxis->axisLabelRenderer->angle = 45;
- // Increase axis space
- $chart->xAxis->axisSpace = .2;
Source for this file: /Graph/src/renderer/axis_label_rotated_boxed.php
ezcBaseOptions | --ezcGraphAxisLabelRenderer | --ezcGraphAxisRotatedLabelRenderer | --ezcGraphAxisRotatedBoxedLabelRenderer
Version: | //autogentag// |
Properties
float | read/write |
$angle
Angle of labels on axis in degrees. |
Inherited Member Variables
From ezcGraphAxisRotatedLabelRenderer | |
---|---|
protected |
ezcGraphAxisRotatedLabelRenderer::$direction
|
protected |
ezcGraphAxisRotatedLabelRenderer::$offset
|
protected |
ezcGraphAxisRotatedLabelRenderer::$steps
|
protected |
ezcGraphAxisRotatedLabelRenderer::$widthModifier
|
From ezcGraphAxisLabelRenderer | |
protected |
ezcGraphAxisLabelRenderer::$driver
|
From ezcBaseOptions | |
protected |
ezcBaseOptions::$properties
|
Method Summary
public ezcGraphCoordinate |
modifyChartDataPosition(
$coordinate
)
Modify chart data position |
public void |
renderLabels(
$renderer
, $boundings
, $start
, $end
, $axis
, [ $innerBoundings
= null] )
Render Axis labels |
Inherited Methods
Methods
modifyChartDataPosition
ezcGraphCoordinate
modifyChartDataPosition(
ezcGraphCoordinate
$coordinate
)
Modify chart data position
Optionally additionally modify the coodinate of a data point
Parameters:
Name | Type | Description |
---|---|---|
$coordinate |
ezcGraphCoordinate | Data point coordinate |
Redefinition of:
Method | Description |
---|---|
ezcGraphAxisRotatedLabelRenderer::modifyChartDataPosition() |
Modify chart data position |
renderLabels
void
renderLabels(
ezcGraphRenderer
$renderer
,
$boundings
, ezcGraphCoordinate
$start
, ezcGraphCoordinate
$end
, ezcGraphChartElementAxis
$axis
, [
$innerBoundings
= null] )
Render Axis labels
Render labels for an axis.
Parameters:
Name | Type | Description |
---|---|---|
$renderer |
ezcGraphRenderer | Renderer used to draw the chart |
$boundings |
ezcGraphBoundings | Boundings of the axis |
$start |
ezcGraphCoordinate | Axis starting point |
$end |
ezcGraphCoordinate | Axis ending point |
$axis |
ezcGraphChartElementAxis | Axis instance |
$innerBoundings |
ezcGraphBoundings |
Redefinition of:
Method | Description |
---|---|
ezcGraphAxisRotatedLabelRenderer::renderLabels() |
Render Axis labels |
Documentation generated by phpDocumentor 1.4.3