diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-06-12 14:40:06 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-06-12 14:40:06 +0000 |
commit | b33909275f604b119c59972779a47a4288e0f5ec (patch) | |
tree | 756bf13bee3a4ed395bc1885391341533d991f65 /src/charts | |
parent | 99117b7f9eb39a6d77eededce51a4d0aa895cc5b (diff) | |
download | zetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.zip zetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.tar.gz |
- More documentation fixes
Diffstat (limited to 'src/charts')
-rw-r--r-- | src/charts/line.php | 13 | ||||
-rw-r--r-- | src/charts/pie.php | 13 | ||||
-rw-r--r-- | src/charts/radar.php | 17 |
3 files changed, 36 insertions, 7 deletions
diff --git a/src/charts/line.php b/src/charts/line.php index d04611d..ce353d6 100644 --- a/src/charts/line.php +++ b/src/charts/line.php @@ -323,6 +323,13 @@ class ezcGraphLineChart extends ezcGraphChart return ezcGraph::LINE; } + /** + * Renders the basic elements of this chart type + * + * @param int $width + * @param int $height + * @return void + */ protected function renderElements( $width, $height ) { if ( !count( $this->data ) ) @@ -430,13 +437,15 @@ class ezcGraphLineChart extends ezcGraphChart * Does the same as ezcGraphChart::render(), but renders directly to * output and not into a file. * + * @param int $width + * @param int $height * @return void */ - public function renderToOutput( $widht, $height ) + public function renderToOutput( $width, $height ) { // @TODO: merge this function with render an deprecate ommit of third // argument in render() when API break is possible - $this->renderElements( $widht, $height ); + $this->renderElements( $width, $height ); $this->renderer->render( null ); } } diff --git a/src/charts/pie.php b/src/charts/pie.php index e346569..0ed57dc 100644 --- a/src/charts/pie.php +++ b/src/charts/pie.php @@ -198,6 +198,13 @@ class ezcGraphPieChart extends ezcGraphChart } } + /** + * Renders the basic elements of this chart type + * + * @param int $width + * @param int $height + * @return void + */ protected function renderElements( $width, $height ) { if ( !count( $this->data ) ) @@ -270,13 +277,15 @@ class ezcGraphPieChart extends ezcGraphChart * Does the same as ezcGraphChart::render(), but renders directly to * output and not into a file. * + * @param int $width + * @param int $height * @return void */ - public function renderToOutput( $widht, $height ) + public function renderToOutput( $width, $height ) { // @TODO: merge this function with render an deprecate ommit of third // argument in render() when API break is possible - $this->renderElements( $widht, $height ); + $this->renderElements( $width, $height ); $this->renderer->render( null ); } } diff --git a/src/charts/radar.php b/src/charts/radar.php index 9460a0f..0ae2c6b 100644 --- a/src/charts/radar.php +++ b/src/charts/radar.php @@ -167,7 +167,9 @@ class ezcGraphRadarChart extends ezcGraphChart * Sets the axis label position depending on the axis rotation. * * @param ezcGraphChartElementAxis $axis - * @param float $postion + * @param ezcGraphBoundings $boundings + * @param ezcGraphCoordinate $center + * @param float $position * @param float $lastPosition * @return void */ @@ -334,6 +336,13 @@ class ezcGraphRadarChart extends ezcGraphChart return ezcGraph::LINE; } + /** + * Renders the basic elements of this chart type + * + * @param int $width + * @param int $height + * @return void + */ protected function renderElements( $width, $height ) { if ( !count( $this->data ) ) @@ -422,13 +431,15 @@ class ezcGraphRadarChart extends ezcGraphChart * Does the same as ezcGraphChart::render(), but renders directly to * output and not into a file. * + * @param int $width + * @param int $height * @return void */ - public function renderToOutput( $widht, $height ) + public function renderToOutput( $width, $height ) { // @TODO: merge this function with render an deprecate ommit of third // argument in render() when API break is possible - $this->renderElements( $widht, $height ); + $this->renderElements( $width, $height ); $this->renderer->render( null ); } } |