Public Member Functions |
| | init () |
| | draw_text () |
| | draw_stack () |
| | draw () |
| | draw_set ($order, $set, $offset) |
| | draw_data () |
| | draw_legend () |
| | draw_y_label_right () |
| | draw_y_label_left () |
| | draw_title () |
| | draw_x_label () |
| | draw_zero_axis_left () |
| | draw_zero_axis_right () |
| | draw_x_axis () |
| | draw_y_axis () |
| | init_data () |
| | init_x_ticks () |
| | init_y_ticks () |
| | init_labels () |
| | init_legend () |
| | init_y_axis () |
| | init_x_axis () |
| | find_range ($data, $min, $max, $resolution) |
| | graph () |
| | print_TTF ($message) |
| | update_boundaryBox (&$boundaryBox, $coords) |
| | get_null_size () |
| | get_boundaryBox ($message) |
| | draw_rectangle ($border, $colour, $type) |
| | init_colours () |
| | output () |
| | init_variable (&$variable, $value, $default) |
| | plot ($x, $y, $type, $size, $colour, $offset) |
| | bar ($x, $y, $type, $size, $colour, $offset, $index, $yoffset) |
| | area ($x_start, $y_start, $x_end, $y_end, $type, $colour, $offset) |
| | line ($x_start, $y_start, $x_end, $y_end, $type, $brush_type, $brush_size, $colour, $offset) |
| | draw_brush_line ($x0, $y0, $x1, $y1, $size, $type, $colour) |
| | draw_brush ($x, $y, $size, $type, $colour) |
Data Fields |
| | $image |
| | $debug = FALSE |
| | $calculated = array() |
| | $parameter |
| | $y_tick_labels = null |
| | $offset_relation = null |
Detailed Description
Definition at line 39 of file graphlib.php.
Member Function Documentation
| area |
( |
$ |
x_start, |
|
|
$ |
y_start, |
|
|
$ |
x_end, |
|
|
$ |
y_end, |
|
|
$ |
type, |
|
|
$ |
colour, |
|
|
$ |
offset |
|
) |
| |
| bar |
( |
$ |
x, |
|
|
$ |
y, |
|
|
$ |
type, |
|
|
$ |
size, |
|
|
$ |
colour, |
|
|
$ |
offset, |
|
|
$ |
index, |
|
|
$ |
yoffset |
|
) |
| |
Moodle mods: overrides the font path and encodings
A default.ttf is searched for in this order: dataroot/lang/xx_local/fonts dataroot/lang/xx/fonts dirroot/lang/xx/fonts dataroot/lang lib/
End Moodle mods
Definition at line 158 of file graphlib.php.
| line |
( |
$ |
x_start, |
|
|
$ |
y_start, |
|
|
$ |
x_end, |
|
|
$ |
y_end, |
|
|
$ |
type, |
|
|
$ |
brush_type, |
|
|
$ |
brush_size, |
|
|
$ |
colour, |
|
|
$ |
offset |
|
) |
| |
| plot |
( |
$ |
x, |
|
|
$ |
y, |
|
|
$ |
type, |
|
|
$ |
size, |
|
|
$ |
colour, |
|
|
$ |
offset |
|
) |
| |
Field Documentation
The documentation for this class was generated from the following file: