summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.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/pie.php
parent99117b7f9eb39a6d77eededce51a4d0aa895cc5b (diff)
downloadzetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.zip
zetacomponents-graph-b33909275f604b119c59972779a47a4288e0f5ec.tar.gz
- More documentation fixes
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r--src/charts/pie.php13
1 files changed, 11 insertions, 2 deletions
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 );
}
}
OpenPOWER on IntegriCloud