[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/library/ezc/Graph/src/options/ -> flash_driver.php (summary)

File containing the ezcGraphFlashDriverOption class

Copyright: Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
License: http://ez.no/licenses/new_bsd New BSD License
Version: 1.5
File Size: 107 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ezcGraphFlashDriverOptions:: (2 methods):
  __construct()
  __set()


Class: ezcGraphFlashDriverOptions  - X-Ref

Class containing the extended configuration options for the flash driver.

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.

<code>
$graph = new ezcGraphPieChart();
$graph->title = 'Access statistics';
$graph->legend = false;

$graph->driver = new ezcGraphFlashDriver();
$graph->driver->options->compresion = 0;

$graph->options->font = 'tutorial_font.fdb';

$graph->driver->options->compression = 7;

$graph->data['Access statistics'] = new ezcGraphArrayDataSet( array(
'Mozilla' => 19113,
'Explorer' => 10917,
'Opera' => 1464,
'Safari' => 652,
'Konqueror' => 474,
) );

$graph->render( 400, 200, 'tutorial_driver_flash.swf' );
</code>

__construct( array $options = array()   X-Ref
Constructor

param: array $options Default option array
return: void

__set( $propertyName, $propertyValue )   X-Ref
Set an option value

param: string $propertyName
param: mixed $propertyValue
return: void



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7