Zeta Components Manual :: Docs For Class ezcGraphRenderer2dOptions
Graph::ezcGraphRenderer2dOptions
Class ezcGraphRenderer2dOptions
Class containing the extended options available in 2d renderer.
- $graph->title = 'Access statistics';
- $graph->options->label = '%2$d (%3$.1f%%)';
- 'Mozilla' => 19113,
- 'Explorer' => 10917,
- 'Opera' => 1464,
- 'Safari' => 652,
- 'Konqueror' => 474,
- ) );
- $graph->data['Access statistics']->highlight['Explorer'] = true;
- // $graph->renderer = new ezcGraphRenderer2d();
- $graph->renderer->options->moveOut = .2;
- $graph->renderer->options->pieChartOffset = 63;
- $graph->renderer->options->pieChartGleam = .3;
- $graph->renderer->options->pieChartGleamColor = '#FFFFFF';
- $graph->renderer->options->pieChartGleamBorder = 2;
- $graph->renderer->options->pieChartShadowSize = 3;
- $graph->renderer->options->pieChartShadowColor = '#000000';
- $graph->renderer->options->legendSymbolGleam = .5;
- $graph->renderer->options->legendSymbolGleamSize = .9;
- $graph->renderer->options->legendSymbolGleamColor = '#FFFFFF';
- $graph->renderer->options->pieChartSymbolColor = '#BABDB688';
- $graph->render( 400, 150, 'tutorial_pie_chart_pimped.svg' );
Source for this file: /Graph/src/options/renderer_2d.php
ezcBaseOptions | --ezcGraphChartOptions | --ezcGraphRendererOptions | --ezcGraphRenderer2dOptions
Version: | //autogentag// |
Properties
float | read/write |
$pieChartShadowColor
Color used for pie chart shadows. |
int | read/write |
$pieChartShadowSize
Size of shadows. |
float | read/write |
$pieChartShadowTransparency
Used transparency for pie chart shadows. |
Inherited Member Variables
From ezcBaseOptions | |
---|---|
protected |
ezcBaseOptions::$properties
|
Inherited Methods
From ezcBaseOptions | |
---|---|
public ezcBaseOptions |
ezcBaseOptions::__construct()
Construct a new options object. |
public void |
ezcBaseOptions::merge()
Merge an array into the actual options object. |
public bool |
ezcBaseOptions::offsetExists()
Returns if an option exists. |
public mixed |
ezcBaseOptions::offsetGet()
Returns an option value. |
public void |
ezcBaseOptions::offsetSet()
Set an option. |
public void |
ezcBaseOptions::offsetUnset()
Unset an option. |
Documentation generated by phpDocumentor 1.4.3