Added a graphing functionality with Open Flash Chart, and added ability to graph...
[openemr.git] / library / openflashchart / php-ofc-library / ofc_scatter_line.php
blobd667d7e8cf9840e3544f0b547f4ea05ba5af719e
1 <?php
3 class scatter_line
5 function scatter_line( $colour, $width )
7 $this->type = "scatter_line";
8 $this->set_colour( $colour );
9 $this->set_width( $width );
12 function set_default_dot_style( $style )
14 $tmp = 'dot-style';
15 $this->$tmp = $style;
18 function set_colour( $colour )
20 $this->colour = $colour;
23 function set_width( $width )
25 $this->width = $width;
28 function set_values( $values )
30 $this->values = $values;
33 function set_step_horizontal()
35 $this->stepgraph = 'horizontal';
38 function set_step_vertical()
40 $this->stepgraph = 'vertical';
43 function set_key( $text, $font_size )
45 $this->text = $text;
46 $tmp = 'font-size';
47 $this->$tmp = $font_size;