summaryrefslogtreecommitdiffstats
path: root/src/charts/radar.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-06-12 14:40:06 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-06-12 14:40:06 +0000
commitb33909275f604b119c59972779a47a4288e0f5ec (patch)
tree756bf13bee3a4ed395bc1885391341533d991f65 /src/charts/radar.php
parent99117b7f9eb39a6d77eededce51a4d0aa895cc5b (diff)
downloadzetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.zip
zetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.tar.gz
- More documentation fixes
Diffstat (limited to 'src/charts/radar.php')
-rw-r--r--src/charts/radar.php17
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 );
}
}
OpenPOWER on IntegriCloud