Moodle  2.2.1
http://www.collinsharper.com
graph Class Reference

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 
)

Definition at line 1631 of file graphlib.php.

Here is the caller graph for this function:

bar ( x,
y,
type,
size,
colour,
offset,
index,
yoffset 
)

Definition at line 1561 of file graphlib.php.

Here is the caller graph for this function:

draw ( )

Definition at line 274 of file graphlib.php.

Here is the call graph for this function:

draw_brush ( x,
y,
size,
type,
colour 
)

Definition at line 1736 of file graphlib.php.

Here is the caller graph for this function:

draw_brush_line ( x0,
y0,
x1,
y1,
size,
type,
colour 
)

Definition at line 1695 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

draw_data ( )

Definition at line 340 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 356 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

draw_rectangle ( border,
colour,
type 
)

Definition at line 1389 of file graphlib.php.

Here is the caller graph for this function:

draw_set ( order,
set,
offset 
)

Definition at line 282 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 258 of file graphlib.php.

Here is the call graph for this function:

draw_text ( )

Definition at line 231 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 498 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 537 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 509 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 595 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 485 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 471 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 521 of file graphlib.php.

Here is the caller graph for this function:

Definition at line 529 of file graphlib.php.

Here is the caller graph for this function:

find_range ( data,
min,
max,
resolution 
)

Definition at line 1150 of file graphlib.php.

Here is the caller graph for this function:

get_boundaryBox ( message)

Definition at line 1335 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1326 of file graphlib.php.

Here is the caller graph for this function:

graph ( )

Definition at line 1176 of file graphlib.php.

Here is the call graph for this function:

init ( )

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1421 of file graphlib.php.

Here is the caller graph for this function:

init_data ( )

Definition at line 701 of file graphlib.php.

Here is the caller graph for this function:

Definition at line 848 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 912 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

init_variable ( &$  variable,
value,
default 
)

Definition at line 1515 of file graphlib.php.

Here is the caller graph for this function:

Definition at line 1082 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 785 of file graphlib.php.

Here is the caller graph for this function:

Definition at line 978 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 834 of file graphlib.php.

Here is the caller graph for this function:

line ( x_start,
y_start,
x_end,
y_end,
type,
brush_type,
brush_size,
colour,
offset 
)

Definition at line 1674 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

output ( )

Definition at line 1461 of file graphlib.php.

Here is the caller graph for this function:

plot ( x,
y,
type,
size,
colour,
offset 
)

Definition at line 1523 of file graphlib.php.

Here is the caller graph for this function:

print_TTF ( message)

Definition at line 1193 of file graphlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

update_boundaryBox ( &$  boundaryBox,
coords 
)

Definition at line 1257 of file graphlib.php.

Here is the caller graph for this function:


Field Documentation

$calculated = array()

Definition at line 42 of file graphlib.php.

$debug = FALSE

Definition at line 41 of file graphlib.php.

$image

Definition at line 40 of file graphlib.php.

$offset_relation = null

Definition at line 154 of file graphlib.php.

Definition at line 43 of file graphlib.php.

$y_tick_labels = null

Definition at line 153 of file graphlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations