diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-04-26 12:51:55 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-04-26 12:51:55 +0000 |
commit | 6f37572b09e427428c9c50f2a325163ad29ba0a2 (patch) | |
tree | 2242bd28f3cfed0460cb01ed9933ffcd273b4cdf /src/interfaces/radar_renderer.php | |
parent | 1f98a107eef3f2208f7b409f085057cf78662991 (diff) | |
download | zetacomponents-graph-6f37572b09e427428c9c50f2a325163ad29ba0a2.zip zetacomponents-graph-6f37572b09e427428c9c50f2a325163ad29ba0a2.tar.gz |
- Created an interface ezcGraphRadarRenderer to be implemented by renderers
which are able to render radar charts.
# Interface required to not break BC with custom user renderers
Diffstat (limited to 'src/interfaces/radar_renderer.php')
-rw-r--r-- | src/interfaces/radar_renderer.php | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/interfaces/radar_renderer.php b/src/interfaces/radar_renderer.php new file mode 100644 index 0000000..a8978d1 --- /dev/null +++ b/src/interfaces/radar_renderer.php @@ -0,0 +1,54 @@ +<?php +/** + * File containing the ezcGraphRadarRenderer interface + * + * @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 + */ +/** + * Interface which adds the methods required for rendering radar charts to a + * renderer + * + * @package Graph + */ +interface ezcGraphRadarRenderer +{ + /** + * Draw radar chart data line + * + * Draws a line as a data element in a radar chart + * + * @param ezcGraphBoundings $boundings Chart boundings + * @param ezcGraphContext $context Context of call + * @param ezcGraphColor $color Color of line + * @param ezcGraphCoordinate $center Center of radar chart + * @param ezcGraphCoordinate $start Starting point + * @param ezcGraphCoordinate $end Ending point + * @param int $dataNumber Number of dataset + * @param int $dataCount Count of datasets in chart + * @param int $symbol Symbol to draw for line + * @param ezcGraphColor $symbolColor Color of the symbol, defaults to linecolor + * @param ezcGraphColor $fillColor Color to fill line with + * @param float $thickness Line thickness + * @return void + */ + public function drawRadarDataLine( + ezcGraphBoundings $boundings, + ezcGraphContext $context, + ezcGraphColor $color, + ezcGraphCoordinate $center, + ezcGraphCoordinate $start, + ezcGraphCoordinate $end, + $dataNumber = 1, + $dataCount = 1, + $symbol = ezcGraph::NO_SYMBOL, + ezcGraphColor $symbolColor = null, + ezcGraphColor $fillColor = null, + $thickness = 1 + ); +} + +?> |