Graph: ezcGraphFlashDriverOptions
[ ]
[ Gallery ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphFlashDriverOptions
|
Class containing the extended configuration options for the flash driver. [
source]
The flash driver can be configured to use a different circle resolution, as circles are only emulated in the flash driver, and to use a diffrent compression for the generated SWF files.
1. $graph = new ezcGraphPieChart();
2. $graph->title = 'Access statistics';
3. $graph->legend = false;
4.
5. $graph->driver = new ezcGraphFlashDriver();
6. $graph->driver->options->compresion = 0;
7.
8. $graph->options->font = 'tutorial_font.fdb';
9.
10. $graph->driver->options->compression = 7;
11.
12. $graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
13. 'Mozilla' => 19113,
14. 'Explorer' => 10917,
15. 'Opera' => 1464,
16. 'Safari' => 652,
17. 'Konqueror' => 474,
18. ) );
19.
20. $graph->render( 400, 200, 'tutorial_driver_flash.swf' );
Parents
ezcBaseOptions
|
--ezcGraphDriverOptions
|
--ezcGraphFlashDriverOptions
Properties
|
float |
read/write
|
$circleResolution
Resolution for circles, until I understand how to draw ellipses with SWFShape::curveTo() |
|
int |
read/write
|
$compression
Compression level used for generated flash file |
Inherited Member Variables
From
ezcBaseOptions:
Inherited Methods
From
ezcGraphDriverOptions :
From
ezcBaseOptions :
Last updated: Mon, 21 Dec 2009