LineChart Class Reference
List of all members.Public Member Functions | |
LineChart ($width=600, $height=250) | |
render ($fileName=null) | |
Protected Member Functions | |
computeLayout () | |
printAxis () | |
printLine () | |
printCaption () |
Detailed Description
Line chart.
Member Function Documentation
LineChart::LineChart | ( | $ | width = 600 , |
|
$ | height = 250 | |||
) |
Creates a new line chart. Line charts allow for XYDataSet and XYSeriesDataSet in order to plot several lines.
- Parameters:
-
integer width of the image integer height of the image
LineChart::computeLayout | ( | ) | [protected] |
Computes the layout.
LineChart::printAxis | ( | ) | [protected] |
Print the axis.
LineChart::printLine | ( | ) | [protected] |
Print the lines.
LineChart::printCaption | ( | ) | [protected] |
Renders the caption.
LineChart::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:
- LineChart.php