source: code/Website/php-ofc-library/ofc_x_axis_label.php@ 7855

Last change on this file since 7855 was 7849, checked in by dennisw, 15 years ago
File size: 670 bytes
Line 
1<?php
2
3/**
4 * x_axis_label see x_axis_labels
5 */
6class x_axis_label
7{
8 function x_axis_label( $text, $colour, $size, $rotate )
9 {
10 $this->set_text( $text );
11 $this->set_colour( $colour );
12 $this->set_size( $size );
13 $this->set_rotate( $rotate );
14 }
15
16 function set_text( $text )
17 {
18 $this->text = $text;
19 }
20
21 function set_colour( $colour )
22 {
23 $this->colour = $colour;
24 }
25
26 function set_size( $size )
27 {
28 $this->size = $size;
29 }
30
31 function set_rotate( $rotate )
32 {
33 $this->rotate = $rotate;
34 }
35
36 function set_vertical()
37 {
38 $this->rotate = "vertical";
39 }
40
41 function set_visible()
42 {
43 $this->visible = true;
44 }
45}
Note: See TracBrowser for help on using the repository browser.