diff options
Diffstat (limited to 'src/charts/radar.php')
-rw-r--r-- | src/charts/radar.php | 17 |
1 files changed, 14 insertions, 3 deletions
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 ); } } |