5 function x_axis_labels(){}
8 * @param $steps which labels are generated
10 function set_steps( $steps )
12 $this->steps
= $steps;
16 * @param $steps as integer which labels are visible
18 function visible_steps( $steps )
20 $this->{"visible-steps"} = $steps;
26 * @param $labels as an array of [x_axis_label or string]
28 function set_labels( $labels )
30 $this->labels
= $labels;
33 function set_colour( $colour )
35 $this->colour
= $colour;
41 function set_size( $size )
49 function set_vertical()
55 * @param @angle as real. The angle of the text.
57 function rotate( $angle )
59 $this->rotate
= $angle;
63 * @param $text as string. Replace and magic variables with actual x axis position.
65 function text( $text )