source: code/Website/php-ofc-library/ofc_radar_axis.php

Last change on this file was 7849, checked in by dennisw, 15 years ago
File size: 639 bytes
RevLine 
[7849]1<?php
2
3class radar_axis
4{
5 function radar_axis( $max )
6 {
7 $this->set_max( $max );
8 }
9
10 function set_max( $max )
11 {
12 $this->max = $max;
13 }
14
15 function set_steps( $steps )
16 {
17 $this->steps = $steps;
18 }
19
20 function set_stroke( $s )
21 {
22 $this->stroke = $s;
23 }
24
25 function set_colour( $colour )
26 {
27 $this->colour = $colour;
28 }
29
30 function set_grid_colour( $colour )
31 {
32 $tmp = 'grid-colour';
33 $this->$tmp = $colour;
34 }
35
36 function set_labels( $labels )
37 {
38 $this->labels = $labels;
39 }
40
41 function set_spoke_labels( $labels )
42 {
43 $tmp = 'spoke-labels';
44 $this->$tmp = $labels;
45 }
46}
47
Note: See TracBrowser for help on using the repository browser.