summaryrefslogtreecommitdiffstats
path: root/src/charts/pie.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-02-15 13:40:41 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-02-15 13:40:41 +0000
commit33f9c78325f57256073429817d6bc46e8f9fc1e5 (patch)
treefaa185f4ffd6ab28715a7c425b986f255069cc9c /src/charts/pie.php
parentd3c0d8a0f12ae2a9a9252adeb527843171150e99 (diff)
downloadzetacomponents-graph-33f9c78325f57256073429817d6bc46e8f9fc1e5.zip
zetacomponents-graph-33f9c78325f57256073429817d6bc46e8f9fc1e5.tar.gz
- Fixed issue #10055: Improve chart class documentation with chart elements
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r--src/charts/pie.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/charts/pie.php b/src/charts/pie.php
index 4283806..7ec1d7a 100644
--- a/src/charts/pie.php
+++ b/src/charts/pie.php
@@ -30,6 +30,19 @@
* $chart->render( 500, 200, 'line_chart.svg' );
* </code>
*
+ * Each chart consists of several chart elements which represents logical
+ * parts of the chart and can be formatted independently. The pie chart
+ * consists of:
+ * - title ( ezcGraphChartElementText )
+ * - legend ( ezcGraphChartElementLegend )
+ * - background ( ezcGraphChartElementBackground )
+ *
+ * All elements can be configured by accessing them as properties of the chart:
+ *
+ * <code>
+ * $chart->legend->position = ezcGraph::RIGHT;
+ * </code>
+ *
* @package Graph
* @mainclass
*/
OpenPOWER on IntegriCloud