< BarChart > Protocol Reference
List of all members.Protected Member Functions | |
BarChart ($width, $height) | |
computeAxis () | |
createImage () | |
isEmptyDataSet ($minNumberOfPoint) | |
checkDataModel () | |
getDataAsSerieList () | |
getFirstSerieOfList () | |
Protected Attributes | |
$bound | |
$axis | |
$hasSeveralSerie |
Detailed Description
Base abstract class for rendering both horizontal and vertical bar charts.
Member Function Documentation
BarChart-p::BarChart | ( | $ | width, | |
$ | height | |||
) | [protected] |
Creates a new bar chart.
- Parameters:
-
integer width of the image integer height of the image
BarChart-p::computeAxis | ( | ) | [protected] |
Compute the axis.
BarChart-p::createImage | ( | ) | [protected] |
Create the image.
BarChart-p::isEmptyDataSet | ( | $ | minNumberOfPoint | ) | [protected] |
Returns true if the data set has some data.
- Parameters:
-
minNumberOfPoint Minimum number of points (1 for bars, 2 for lines).
- Returns:
- true if data set empty
BarChart-p::checkDataModel | ( | ) | [protected] |
Checks the data model before rendering the graph.
BarChart-p::getDataAsSerieList | ( | ) | [protected] |
Return the data as a series list (for consistency).
- Returns:
- List of series
BarChart-p::getFirstSerieOfList | ( | ) | [protected] |
The documentation for this protocol was generated from the following file:
- BarChart.php