[ Index ] |
PHP Cross Reference of MyBB |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 339 lines (8 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
Graph:: (9 methods):
__construct()
color()
image_create_rectangle()
imagelinethick()
add_points()
add_x_labels()
set_bottom_label()
render()
output()
__construct() X-Ref |
Constructor of class. Initializes the barebore graph. return: Graph |
color($red, $green, $blue) X-Ref |
Select and allocate a color to the internal image resource param: integer The red value param: integer The green value param: integer The blue value return: integer A color identifier |
image_create_rectangle($x1, $y1, $x2, $y2, $radius=1, $color=null) X-Ref |
Creates a filled rectangle with optional rounded corners param: integer The initial x value param: integer The initial y value param: integer The ending x value param: integer The ending y value param: integer The optional radius param: integer The optional rectangle color (defaults to black) |
imagelinethick($x1, $y1, $x2, $y2, $color, $thick = 1) X-Ref |
Creates a nicer thick line for angled lines param: integer The initial x value param: integer The initial y value param: integer The ending x value param: integer The ending y value param: integer The optional rectangle color (defaults to black) param: integer The optional thickness (defaults to 1) |
add_points($points) X-Ref |
Adds an array of x, y points to the internal points array param: array The array of x, y points to add |
add_x_labels($labels) X-Ref |
Adds an array of x labels to the internal labels array param: array The array of x labels to add |
set_bottom_label($label) X-Ref |
Sets a bottom label param: string The bottom label to set |
render() X-Ref |
Renders the graph to memory |
output() X-Ref |
Outputs the graph to the screen in PNG format |
Generated: Tue Oct 8 19:19:50 2013 | Cross-referenced by PHPXref 0.7.1 |