]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/external_packages/phplot/README
commit changes
[bacula/bacula] / gui / bacula-web / external_packages / phplot / README
1 This is a class for creating scientific and business charts. 
2 To start extract the files with
3
4         tar -zxvf phplot-5.0rc1.tar.gz 
5     
6 and then point your browser to 
7
8         doc/index.php.
9
10 There are some configuration settings that you will need to make 
11 based on your setup. 
12
13 1. File Type: Depending on the version of GD you are using, 
14    you may or may not have GIF or PNG file ability. That is 
15    set with the function. 
16    
17         SetFileFormat("<filetype>") where <filetype> is png, gif, jpeg, ...
18         
19    or edit the file phplot.php and change the line
20    
21         var $file_format = "<filetype>";
22
23 2. TTF: If you have TTF installed then use (and read the docs)
24
25         SetUseTTF(TRUE);
26         
27    otherwise use
28    
29         SetUseTTF(FALSE);
30
31 Everything else should be independent of what version you are using.
32 This has been tested with PHP3, PHP4, GD1.2 and GD 3.8. 
33
34 To start please see doc/index.php. There you'll find examples, tests and
35 some introductory documents.
36
37 --------------------------
38
39 This is distributed with NO WARRANTY and under the terms of the GNU GPL
40 and PHP licenses. If you use it - a cookie or some credit would be nice.
41
42 You can get a copy of the GNU GPL at http://www.gnu.org/copyleft/gpl.html
43 You can get a copy of the PHP License at http://www.php.net/license.html
44
45 See http://www.sourceforge.net/projects/phplot/ for the latest changes.