3 include_once 'ofc_bar_base.php';
10 function candle_value( $high, $open, $close, $low )
14 $this->bottom
= $close;
18 function set_colour( $colour )
20 $this->colour
= $colour;
23 function set_tooltip( $tip )
29 class candle
extends bar_base
31 function candle($colour, $negative_colour=null)
33 $this->type
= "candle";
36 $this->set_colour( $colour );
37 if(!is_null($negative_colour))
38 $this->{'negative-colour'} = $negative_colour;