[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/includes/phplot/ -> README.txt (source)

   1  This routine is a class for creating scientific and business
   2  charts. To run the test data extract the files with
   3      tar -zxvf phplot-4.0.2.tar.gz 
   4  and then point your browser to 
   5      examples/format-chart.php.
   6  
   7  There are some configuration settings that you will need
   8  to make based on your setup. 
   9  
  10  1. File Type: Depending on the version of GD you are using, 
  11  you may or may not have GIF or PNG file ability. That is 
  12  set with the function. 
  13      SetFileFormat("<filetype>") where <filetype> is png, gif, jpeg, ...
  14  or edit the file phplot.php and make the line
  15      var $file_format = "<filetype>";
  16  
  17  2. TTF: If you have TTF installed then use 
  18      SetUseTTF("1");
  19  otherwise use
  20      SetUseTTF("0");
  21  
  22  Everything else should be independent of what version you are using.
  23  This has been tested with PHP3, PHP4, GD1.2 and GD 3.8. 
  24  
  25  To start with a test, see format_chart.php
  26  
  27  --------------------------
  28  Compatibility Note: If you are using PHP3 earlier than version 3.0.2 then 
  29  you need to change one line in phplot.php. Change 
  30      ImageColorResolve 
  31  to 
  32      ImageColorAllocate
  33  
  34  
  35  Copyright (C) 1998,1999,2000,2001 Afan Ottenheimer, afan@jeo.net
  36  This is distributed with NO WARRANTY and under the terms of the GNU GPL
  37  and PHP licenses.
  38  If you use it - a cookie or some credit would be nice.
  39  You can get a copy of the GNU GPL at http://www.gnu.org/copyleft/gpl.html
  40  You can get a copy of the PHP License at http://www.php.net/license.html
  41  
  42  See http://www.sourceforge.net/projects/phplot/ for later changelogs.
  43  Aug 15, 2000: Version 3: added dots, lines, area, and pie charts
  44  Aug 12, 1999: version 2: added bars that can be < 0


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics