[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
Image_Graph - PEAR PHP OO Graph Rendering Utility. PHP versions 4 and 5
Author: | Jesper Veggerby <pear.nosey@veggerby.dk> |
Copyright: | Copyright (C) 2003, 2004 Jesper Veggerby Hansen |
License: | http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 |
Version: | CVS: $Id: Bar.php,v 1.14 2005/11/27 22:21:16 nosey Exp $ |
Poids: | 307 lignes (11 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Plot.php |
Image_Graph_Plot_Bar:: (4 méthodes):
_drawLegendSample()
setSpacing()
setBarWidth()
_done()
Classe: Image_Graph_Plot_Bar - X-Ref
A bar chart._drawLegendSample($x0, $y0, $x1, $y1) X-Ref |
Perform the actual drawing on the legend. param: int $x0 The top-left x-coordinate param: int $y0 The top-left y-coordinate param: int $x1 The bottom-right x-coordinate param: int $y1 The bottom-right y-coordinate |
setSpacing($space) X-Ref |
Set the spacing between 2 neighbouring bars param: int $space The number of pixels between 2 bars, should be a |
setBarWidth($width, $unit = false) X-Ref |
Set the width of a bars. Specify 'auto' to auto calculate the width based on the positions on the x-axis. Supported units are: '%' The width is specified in percentage of the total plot width 'px' The width specified in pixels param: string $width The width of any bar param: string $unit The unit of the width |
_done() X-Ref |
Output the plot return: bool Was the output 'good' (true) or 'bad' (false). |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |