Graph: ezcGraphRendererOptions
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphRendererOptions
|
Class containing the basic options for renderers. [
source]
1. $wikidata = include 'tutorial_wikipedia_data.php';
2.
3. $graph = new ezcGraphBarChart();
4. $graph->title = 'Wikipedia articles';
5.
6. // Add data
7. foreach ( $wikidata as $language => $data )
8. {
9. $graph->data[$language] = new ezcGraphArrayDataSet( $data );
10. }
11.
12. // $graph->renderer = new ezcGraphRenderer2d();
13.
13.
14. $graph->renderer->options->barMargin = .2;
15. $graph->renderer->options->barPadding = .2;
16.
17. $graph->renderer->options->dataBorder = 0;
18.
19. $graph->render( 400, 150, 'tutorial_bar_chart_options.svg' );
Parents
ezcBaseOptions
|
--ezcGraphChartOptions
|
--ezcGraphRendererOptions
Descendents
Properties
|
float |
read/write
|
$barMargin
Procentual distance between bar blocks. |
|
float |
read/write
|
$barPadding
Procentual distance between bars. |
|
float |
read/write
|
$dataBorder
Factor to darken border of data elements, like lines, bars and pie segments. |
|
float |
read/write
|
$legendSymbolGleam
Opacity of gleam in legend symbols |
|
float |
read/write
|
$legendSymbolGleamColor
Color of gleam in legend symbols |
|
float |
read/write
|
$legendSymbolGleamSize
Size of gleam in legend symbols |
|
float |
read/write
|
$maxLabelHeight
Percent of chart height used as maximum height for pie chart labels. |
|
float |
read/write
|
$moveOut
Percent to move pie chart elements out of the middle on highlight. |
|
float |
read/write
|
$pieChartGleam
Enhance pie chart with gleam on top. |
|
float |
read/write
|
$pieChartGleamBorder
Do not draw gleam on an outer border of this size. |
|
float |
read/write
|
$pieChartGleamColor
Color used for gleam on pie charts. |
|
float |
read/write
|
$pieChartOffset
Offset for starting with first pie chart segment in degrees. |
|
float |
read/write
|
$pieChartSymbolColor
Color of pie chart symbols |
|
float |
read/write
|
$pieHorizontalSize
Percent of horizontal space used for maximum pie chart size. |
|
float |
read/write
|
$pieVerticalSize
Percent of vertical space used for maximum pie chart size. |
|
bool |
read/write
|
$showSymbol
Indicates wheather to show the line between pie elements and labels. |
|
float |
read/write
|
$symbolSize
Size of symbols used to connect a label with a pie. |
|
int |
read/write
|
$titleAlignement
Alignement of box titles. |
|
int |
read/write
|
$titlePosition
Position of title in a box. |
Inherited Member Variables
From
ezcBaseOptions:
Inherited Methods
From
ezcBaseOptions :
Last updated: Mon, 17 Dec 2007