x_axis Class Reference
Member Function Documentation
- Parameters:
-
| $val | as an integer, the height in pixels of the 3D bar. Mostly used for the 3D bar chart. |
- Parameters:
-
| $colour | as string HEX colour |
| set_colours |
( |
$ |
colour, |
|
|
$ |
grid_colour | |
|
) |
| | |
- Parameters:
-
| $colour | as string HEX colour |
| $grid_colour | as string HEX colour |
| set_grid_colour |
( |
$ |
colour |
) |
|
| set_labels |
( |
$ |
x_axis_labels |
) |
|
- Parameters:
-
| $x_axis_labels | as an x_axis_labels object Use this to customize the labels (colour, font, etc...) |
| set_labels_from_array |
( |
$ |
a |
) |
|
Sugar syntax: helper function to make the examples simpler.
- Parameters:
-
- Parameters:
-
| $o | is a boolean. If true, the X axis start half a step in This defaults to True |
| set_range |
( |
$ |
min, |
|
|
$ |
max | |
|
) |
| | |
- Parameters:
-
| $steps | as integer. Which grid lines and ticks are visible. |
- Parameters:
-
| $stroke | as integer, with of the line and ticks |
| set_tick_height |
( |
$ |
height |
) |
|
The documentation for this class was generated from the following file: