Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * y_axis_label see y_axis_labels
|
---|
5 | */
|
---|
6 | class y_axis_label
|
---|
7 | {
|
---|
8 | function y_axis_label( $y, $text)
|
---|
9 | {
|
---|
10 | $this->y = $y;
|
---|
11 | $this->set_text( $text );
|
---|
12 | }
|
---|
13 |
|
---|
14 | function set_text( $text )
|
---|
15 | {
|
---|
16 | $this->text = $text;
|
---|
17 | }
|
---|
18 |
|
---|
19 | function set_colour( $colour )
|
---|
20 | {
|
---|
21 | $this->colour = $colour;
|
---|
22 | }
|
---|
23 |
|
---|
24 | function set_size( $size )
|
---|
25 | {
|
---|
26 | $this->size = $size;
|
---|
27 | }
|
---|
28 |
|
---|
29 | function set_rotate( $rotate )
|
---|
30 | {
|
---|
31 | $this->rotate = $rotate;
|
---|
32 | }
|
---|
33 |
|
---|
34 | function set_vertical()
|
---|
35 | {
|
---|
36 | $this->rotate = "vertical";
|
---|
37 | }
|
---|
38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.