diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-11-21 11:36:02 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-11-21 11:36:02 +0000 |
commit | 02bd18b4ba30a5888633c1210d444c6b4503c4d6 (patch) | |
tree | bc98eee3be92ce76823b6114abee77ac12a75475 /src/interfaces | |
parent | 07fb592880d4a394d7e7af2a97f22a84faa18479 (diff) | |
download | zetacomponents-graph-02bd18b4ba30a5888633c1210d444c6b4503c4d6.zip zetacomponents-graph-02bd18b4ba30a5888633c1210d444c6b4503c4d6.tar.gz |
- Added support for odometer charts
# Thanks to Lars Jankowski from Oxid esales for the initial patch.
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/odometer_renderer.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/interfaces/odometer_renderer.php b/src/interfaces/odometer_renderer.php new file mode 100644 index 0000000..98053ae --- /dev/null +++ b/src/interfaces/odometer_renderer.php @@ -0,0 +1,51 @@ +<?php +/** + * File containing the ezcGraphRadarRenderer interface + * + * @package Graph + * @version 1.1 + * @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 + */ +/** + * Interface which adds the methods required for rendering radar charts to a + * renderer + * + * @version 1.1 + * @package Graph + */ +interface ezcGraphOdometerRenderer +{ + /** + * Render odometer chart + * + * @param ezcGraphBoundings $boundings + * @param ezcGraphOdometerChartOptions $options + * @return ezcGraphBoundings + */ + public function drawOdometer( + ezcGraphBoundings $boundings, + ezcGraphChartElementAxis $axis, + ezcGraphOdometerChartOptions $options + ); + + /** + * Draw a single odometer marker. + * + * @param ezcGraphBoundings $boundings + * @param ezcGraphCoordinate $position + * @param int $symbol + * @param ezcGraphColor $color + * @param int $width + */ + public function drawOdometerMarker( + ezcGraphBoundings $boundings, + ezcGraphCoordinate $position, + $symbol, + ezcGraphColor $color, + $width + ); +} + +?> |