minor bug fix
[openemr.git] / library / openflashchart / php-ofc-library / ofc_tooltip.php
blob3104ee33b9e865779f6bad11a6f771ae4ccd71f5
1 <?php
3 include_once 'ofc_bar_base.php';
5 class tooltip
7 function tooltip(){}
9 /**
10 * @param $shadow as boolean. Enable drop shadow.
12 function set_shadow( $shadow )
14 $this->shadow = $shadow;
17 /**
18 * @param $stroke as integer, border width in pixels (e.g. 5 )
20 function set_stroke( $stroke )
22 $this->stroke = $stroke;
25 /**
26 * @param $colour as string, HEX colour e.g. '#0000ff'
28 function set_colour( $colour )
30 $this->colour = $colour;
33 /**
34 * @param $bg as string, HEX colour e.g. '#0000ff'
36 function set_background_colour( $bg )
38 $this->background = $bg;
41 /**
42 * @param $style as string. A css style.
44 function set_title_style( $style )
46 $this->title = $style;
49 /**
50 * @param $style as string. A css style.
52 function set_body_style( $style )
54 $this->body = $style;
57 function set_proximity()
59 $this->mouse = 1;
62 function set_hover()
64 $this->mouse = 2;