HorizontalBarChart Class Reference
List of all members.Public Member Functions | |
HorizontalBarChart ($width=600, $height=250) | |
render ($fileName=null) | |
Protected Member Functions | |
computeLayout () | |
printAxis () | |
printBar () | |
printCaption () |
Detailed Description
Horizontal bar chart
Member Function Documentation
HorizontalBarChart::HorizontalBarChart | ( | $ | width = 600 , |
|
$ | height = 250 | |||
) |
Creates a new horizontal bar chart.
- Parameters:
-
integer width of the image integer height of the image
HorizontalBarChart::computeLayout | ( | ) | [protected] |
Computes the layout.
HorizontalBarChart::printAxis | ( | ) | [protected] |
Print the axis.
HorizontalBarChart::printBar | ( | ) | [protected] |
Print the bars.
HorizontalBarChart::printCaption | ( | ) | [protected] |
Renders the caption.
HorizontalBarChart::render | ( | $ | fileName = null |
) |
Render the chart image.
- Parameters:
-
string name of the file to render the image to (optional)
The documentation for this class was generated from the following file:
- HorizontalBarChart.php