diff options
Diffstat (limited to 'src/charts/pie.php')
-rw-r--r-- | src/charts/pie.php | 13 |
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 */ |