diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-09-06 12:45:09 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-09-06 12:45:09 +0000 |
commit | a3a7f0b264223ec011b46fd4e0ce2674af7e0087 (patch) | |
tree | 345bb747e3c8311795c154f9849bbc30aca8ee0b /src/interfaces | |
parent | c87432c04b6b68d8a1e210947acb3f260f013707 (diff) | |
download | zetacomponents-graph-a3a7f0b264223ec011b46fd4e0ce2674af7e0087.zip zetacomponents-graph-a3a7f0b264223ec011b46fd4e0ce2674af7e0087.tar.gz |
- Implemented feature #10978: Add support for stacked bar charts
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/stacked_bar_renderer.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/interfaces/stacked_bar_renderer.php b/src/interfaces/stacked_bar_renderer.php new file mode 100644 index 0000000..c588def --- /dev/null +++ b/src/interfaces/stacked_bar_renderer.php @@ -0,0 +1,49 @@ +<?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 + * + * @version //autogentag// + * @package Graph + */ +interface ezcGraphStackedBarsRenderer +{ + /** + * Draw stacked bar + * + * Draws a stacked bar part as a data element in a line chart + * + * @param ezcGraphBoundings $boundings Chart boundings + * @param ezcGraphContext $context Context of call + * @param ezcGraphColor $color Color of line + * @param ezcGraphCoordinate $start + * @param ezcGraphCoordinate $position + * @param float $stepSize Space which can be used for bars + * @param int $dataNumber Number of dataset + * @param int $dataCount Count of datasets in chart + * @param int $symbol Symbol to draw for line + * @param float $axisPosition Position of axis for drawing filled lines + * @return void + */ + public function drawStackedBar( + ezcGraphBoundings $boundings, + ezcGraphContext $context, + ezcGraphColor $color, + ezcGraphCoordinate $start, + ezcGraphCoordinate $position, + $stepSize, + $symbol = ezcGraph::NO_SYMBOL, + $axisPosition = 0. + ); +} + +?> |