Graph: ezcGraphChart
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcGraphChart
|
Class to represent a complete chart. [
source]
Descendents
| Child Class |
Description |
| ezcGraphPieChart |
Class for pie charts. Can only use one dataset which will be dispalyed as a pie chart.
|
| ezcGraphLineChart |
Class for line charts. Can make use of an unlimited amount of datasets and will display them as lines by default.
|
Member Variables
Method Summary
|
protected void |
addElement(
$name, $element )
Add element to chart |
|
public abstract int |
getDefaultDisplayType(
)
Returns the default display type of the current chart type. |
|
public abstract void |
render(
$widht, $height, [$file = null] )
Renders this chart |
|
public void |
setFromPalette(
$palette )
Set colors and border fro this element |
Methods
addElement
Add element to chart
Add a chart element to the chart and perform the required configuration tasks for the chart element.
Parameters
getDefaultDisplayType
int getDefaultDisplayType(
)
Returns the default display type of the current chart type.
Redefined in descendants as
render
void render(
$widht,
$height, [
$file = null] )
Renders this chart
Creates basic visual chart elements from the chart to be processed by the renderer.
Parameters
| Name |
Type |
Description |
$widht |
|
|
$height |
|
|
$file |
|
|
Redefined in descendants as
setFromPalette
Set colors and border fro this element
Parameters
Last updated: Thu, 01 Nov 2007