| [ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
Image_Graph - Main class for the graph creation. 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: Legend.php,v 1.16 2006/02/28 22:48:07 nosey Exp $ |
| Poids: | 385 lignes (12 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 1 fichier Image/Graph/Layout.php |
Image_Graph_Legend:: (11 méthodes):
Image_Graph_Legend()
_plotCount()
_parameterArray()
_height()
_width()
setAlignment()
_updateCoords()
setPlotarea()
_setParent()
setShowMarker()
_done()
Classe: Image_Graph_Legend - X-Ref
Displays a legend for a plotarea.| Image_Graph_Legend() X-Ref |
| Image_Graph_Legend [Constructor] |
| _plotCount() X-Ref |
| The number of actual plots in the plot area return: int The number of plotes |
| _parameterArray($simulate = false) X-Ref |
| Get a default parameter array for legendSamples param: bool $simulate Whether the array should be used for simulation or return: array Default parameter array |
| _height() X-Ref |
| The height of the element on the canvas return: int Number of pixels representing the height of the element |
| _width() X-Ref |
| The width of the element on the canvas return: int Number of pixels representing the width of the element |
| setAlignment($alignment) X-Ref |
| Set the alignment of the legend param: int $alignment The alignment |
| _updateCoords() X-Ref |
| Update coordinates |
| setPlotarea(& $plotarea) X-Ref |
| Sets Plotarea param: Image_Graph_Plotarea $plotarea The plotarea |
| _setParent(& $parent) X-Ref |
| Sets the parent. The parent chain should ultimately be a GraPHP object param: Image_Graph_Common $parent The parent |
| setShowMarker($showMarker) X-Ref |
| Set if this legends should show markers param: bool $showMarker True if markers are to be shown, false is not |
| _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 |