Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | class dot_value
|
---|
4 | {
|
---|
5 | function dot_value( $value, $colour )
|
---|
6 | {
|
---|
7 | $this->value = $value;
|
---|
8 | $this->colour = $colour;
|
---|
9 | }
|
---|
10 |
|
---|
11 | function set_colour( $colour )
|
---|
12 | {
|
---|
13 | $this->colour = $colour;
|
---|
14 | }
|
---|
15 |
|
---|
16 | function set_size( $size )
|
---|
17 | {
|
---|
18 | $this->size = $size;
|
---|
19 | }
|
---|
20 |
|
---|
21 | function set_tooltip( $tip )
|
---|
22 | {
|
---|
23 | $this->tip = $tip;
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | class line_dot extends line_base
|
---|
28 | {
|
---|
29 | function line_dot()
|
---|
30 | {
|
---|
31 | $this->type = "line_dot";
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.