Graph: ezcGraphChartOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphChartOptions
|
Class containing the basic options for charts. [
source]
1. $graph = new ezcGraphPieChart();
2. $graph->palette = new ezcGraphPaletteEzBlue();
3. $graph->title = 'Access statistics';
4.
5. // Global font options
6. $graph->options->font->name = 'serif';
7.
8. // Special font options for sub elements
9. $graph->title->background = '#EEEEEC';
10. $graph->title->font->name = 'sans-serif';
11.
12. $graph->options->font->maxFontSize = 8;
13.
14. $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
15. 'Mozilla' => 19113,
16. 'Explorer' => 10917,
17. 'Opera' => 1464,
18. 'Safari' => 652,
19. 'Konqueror' => 474,
20. ) );
21.
22. $graph->render( 400, 150, 'tutorial_chart_title.svg' );
Parents
ezcBaseOptions
|
--ezcGraphChartOptions
Descendents
Properties
Inherited Member Variables
From
ezcBaseOptions:
Inherited Methods
From
ezcBaseOptions :
Last updated: Mon, 17 Dec 2007