summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-11-26 11:31:33 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-11-26 11:31:33 +0000
commit7773076525fb6d67841e513270d1b4d689b354f9 (patch)
tree20c276eaa343f40ead9788381e9f015bdef23cdb
parentaa6990d330fd354477f767adb22cc4c02b18c76e (diff)
downloadzetacomponents-graph-7773076525fb6d67841e513270d1b4d689b354f9.zip
zetacomponents-graph-7773076525fb6d67841e513270d1b4d689b354f9.tar.gz
- Fixed doc blocks
# Issues found by docanalysis script
-rw-r--r--src/charts/line.php6
-rw-r--r--src/datasets/property/axis.php2
-rw-r--r--src/element/axis.php7
-rw-r--r--src/interfaces/odometer_renderer.php1
-rw-r--r--src/interfaces/renderer.php4
-rw-r--r--src/interfaces/stacked_bar_renderer.php2
-rw-r--r--src/renderer/2d.php9
-rw-r--r--src/renderer/3d.php6
8 files changed, 17 insertions, 20 deletions
diff --git a/src/charts/line.php b/src/charts/line.php
index 250946c..ad69aca 100644
--- a/src/charts/line.php
+++ b/src/charts/line.php
@@ -418,8 +418,8 @@ class ezcGraphLineChart extends ezcGraphChart
* Check if renderer supports features requested by some special chart
* options.
*
- * @throw ezcBaseValueException
- * If some feature is not supported
+ * @throws ezcBaseValueException
+ * If some feature is not supported
*
* @return void
*/
@@ -638,7 +638,7 @@ class ezcGraphLineChart extends ezcGraphChart
*
* @param int $width
* @param int $height
- * @apichange
+ * @apichange
* @return void
*/
public function renderToOutput( $width, $height )
diff --git a/src/datasets/property/axis.php b/src/datasets/property/axis.php
index a989f31..0779e85 100644
--- a/src/datasets/property/axis.php
+++ b/src/datasets/property/axis.php
@@ -18,7 +18,7 @@ class ezcGraphDataSetAxisProperty extends ezcGraphDataSetProperty
/**
* Chacks if value is really an axis
*
- * @param &$value
+ * @param ezcGraphChartElementAxis $value
* @return void
*/
protected function checkValue( &$value )
diff --git a/src/element/axis.php b/src/element/axis.php
index db8c57b..10ce2f1 100644
--- a/src/element/axis.php
+++ b/src/element/axis.php
@@ -19,11 +19,12 @@
* Color of major majorGrid.
* @property ezcGraphColor $minorGrid
* Color of minor majorGrid.
- * @TODO: Move next two options to numeric axis
* @property mixed $majorStep
- * Labeled major steps displayed on the axis.
+ * Labeled major steps displayed on the axis. @TODO: Should be moved
+ * to numeric axis.
* @property mixed $minorStep
- * Non labeled minor steps on the axis.
+ * Non labeled minor steps on the axis. @TODO: Should be moved to
+ * numeric axis.
* @property string $formatString
* Formatstring to use for labeling of the axis.
* @property string $label
diff --git a/src/interfaces/odometer_renderer.php b/src/interfaces/odometer_renderer.php
index 765205a..2296060 100644
--- a/src/interfaces/odometer_renderer.php
+++ b/src/interfaces/odometer_renderer.php
@@ -21,6 +21,7 @@ interface ezcGraphOdometerRenderer
* Render odometer chart
*
* @param ezcGraphBoundings $boundings
+ * @param ezcGraphChartElementAxis $axis
* @param ezcGraphOdometerChartOptions $options
* @return ezcGraphBoundings
*/
diff --git a/src/interfaces/renderer.php b/src/interfaces/renderer.php
index 2a05b8f..095c6f6 100644
--- a/src/interfaces/renderer.php
+++ b/src/interfaces/renderer.php
@@ -113,7 +113,7 @@ abstract class ezcGraphRenderer
* @param ezcGraphColor $color Color of pie segment
* @param float $startAngle Start angle
* @param float $endAngle End angle
- * @param string $label Label of pie segment
+ * @param mixed $label Label of pie segment
* @param bool $moveOut Move out from middle for hilighting
* @return void
*/
@@ -250,7 +250,7 @@ abstract class ezcGraphRenderer
* @param int $borderWidth Border width
* @param int $margin Margin
* @param int $padding Padding
- * @param string $title Title of the box
+ * @param mixed $title Title of the box
* @param int $titleSize Size of title in the box
* @return ezcGraphBoundings Remaining inner boundings
*/
diff --git a/src/interfaces/stacked_bar_renderer.php b/src/interfaces/stacked_bar_renderer.php
index c588def..9e85c14 100644
--- a/src/interfaces/stacked_bar_renderer.php
+++ b/src/interfaces/stacked_bar_renderer.php
@@ -28,8 +28,6 @@ interface ezcGraphStackedBarsRenderer
* @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
diff --git a/src/renderer/2d.php b/src/renderer/2d.php
index c70b8a3..599b8a7 100644
--- a/src/renderer/2d.php
+++ b/src/renderer/2d.php
@@ -154,7 +154,7 @@ class ezcGraphRenderer2d
* @param ezcGraphColor $color Color of pie segment
* @param float $startAngle Start angle
* @param float $endAngle End angle
- * @param string $label Label of pie segment
+ * @param mixed $label Label of pie segment
* @param bool $moveOut Move out from middle for hilighting
* @return void
*/
@@ -584,10 +584,8 @@ class ezcGraphRenderer2d
* @param ezcGraphContext $context Context of call
* @param ezcGraphColor $color Color of line
* @param ezcGraphCoordinate $start
- * @param ezcGraphCoordinate $end
+ * @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
@@ -1083,7 +1081,7 @@ class ezcGraphRenderer2d
* @param int $borderWidth Border width
* @param int $margin Margin
* @param int $padding Padding
- * @param string $title Title of the box
+ * @param mixed $title Title of the box
* @param int $titleSize Size of title in the box
* @return ezcGraphBoundings Remaining inner boundings
*/
@@ -1599,6 +1597,7 @@ class ezcGraphRenderer2d
* Render odometer chart
*
* @param ezcGraphBoundings $boundings
+ * @param ezcGraphChartElementAxis $axis
* @param ezcGraphOdometerChartOptions $options
* @return ezcGraphBoundings
*/
diff --git a/src/renderer/3d.php b/src/renderer/3d.php
index dc066fe..f9a9c84 100644
--- a/src/renderer/3d.php
+++ b/src/renderer/3d.php
@@ -227,7 +227,7 @@ class ezcGraphRenderer3d
* @param ezcGraphColor $color Color of pie segment
* @param float $startAngle Start angle
* @param float $endAngle End angle
- * @param string $label Label of pie segment
+ * @param mixed $label Label of pie segment
* @param bool $moveOut Move out from middle for hilighting
* @return void
*/
@@ -1256,8 +1256,6 @@ class ezcGraphRenderer3d
* @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
@@ -1697,7 +1695,7 @@ class ezcGraphRenderer3d
* @param int $borderWidth Border width
* @param int $margin Margin
* @param int $padding Padding
- * @param string $title Title of the box
+ * @param mixed $title Title of the box
* @param int $titleSize Size of title in the box
* @return ezcGraphBoundings Remaining inner boundings
*/
OpenPOWER on IntegriCloud