VerticalBarChart Class Reference
List of all members.Public Member Functions | |
| VerticalBarChart ($width=600, $height=250) | |
| render ($fileName=null) | |
Protected Member Functions | |
| computeLayout () | |
| printAxis () | |
| printBar () | |
| printCaption () | |
Detailed Description
Chart composed of vertical bars.
Member Function Documentation
| VerticalBarChart::VerticalBarChart | ( | $ | width = 600, |
|
| $ | height = 250 | |||
| ) |
Creates a new vertical bar chart
- Parameters:
-
integer width of the image integer height of the image
| VerticalBarChart::computeLayout | ( | ) | [protected] |
Computes the layout.
| VerticalBarChart::printAxis | ( | ) | [protected] |
Print the horizontal and veritcal axis.
| VerticalBarChart::printBar | ( | ) | [protected] |
Print the bars.
| VerticalBarChart::printCaption | ( | ) | [protected] |
Renders the caption.
| VerticalBarChart::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:
- VerticalBarChart.php