blob: 7b0ec42e861f7e00e9996c5de75825163f2b0aec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
/**
* File containing the abstract ezcGraphAxisNoLabelRenderer class
*
* @package Graph
* @version //autogentag//
* @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
2006 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Omits axis labels, steps and grid.
*
* <code>
* $chart->xAxis->axisLabelRenderer = new ezcGraphAxisNoLabelRenderer();
* </code>
*
* @version //autogentag//
* @package Graph
*/
class ezcGraphAxisNoLabelRenderer extends ezcGraphAxisLabelRenderer
{
/**
* Render Axis labels
*
* Render labels for an axis.
*
* @param ezcGraphRenderer $renderer Renderer used to draw the chart
* @param ezcGraphBoundings $boundings Boundings of the axis
* @param ezcGraphCoordinate $start Axis starting point
* @param ezcGraphCoordinate $end Axis ending point
* @param ezcGraphChartElementAxis $axis Axis instance
* @return void
*/
public function renderLabels(
ezcGraphRenderer $renderer,
ezcGraphBoundings $boundings,
ezcGraphCoordinate $start,
ezcGraphCoordinate $end,
ezcGraphChartElementAxis $axis )
{
return true;
}
}
?>
|