[ 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: Map.php,v 1.10 2006/02/28 22:48:07 nosey Exp $ |
Poids: | 304 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Plotarea.php |
Image_Graph_Plotarea_Map:: (13 méthodes):
Image_Graph_Plotarea_Map()
_fillLeft()
_fillTop()
_fillRight()
_fillBottom()
_setExtrema()
_pointX()
_pointY()
hideAxis()
addMappoint()
addPoint()
_updateCoords()
_done()
Classe: Image_Graph_Plotarea_Map - X-Ref
Plot area used for map plots.Image_Graph_Plotarea_Map($map) X-Ref |
PlotareaMap [Constructor] param: string $map The name of the map, i.e. the [name].png and [name]. |
_fillLeft() X-Ref |
Left boundary of the background fill area return: int Leftmost position on the canvas |
_fillTop() X-Ref |
Top boundary of the background fill area return: int Topmost position on the canvas |
_fillRight() X-Ref |
Right boundary of the background fill area return: int Rightmost position on the canvas |
_fillBottom() X-Ref |
Bottom boundary of the background fill area return: int Bottommost position on the canvas |
_setExtrema(& $plot) X-Ref |
Set the extrema of the axis param: Image_Graph_Plot $plot The plot that 'hold' the values |
_pointX($value) X-Ref |
Get the X pixel position represented by a value param: double $value The value to get the pixel-point for return: double The pixel position along the axis |
_pointY($value) X-Ref |
Get the Y pixel position represented by a value param: double $value The value to get the pixel-point for return: double The pixel position along the axis |
hideAxis() X-Ref |
Hides the axis |
addMappoint($latitude, $longitude, $name) X-Ref |
Add a point to the maps param: int $latitude The latitude of the point param: int $longiude The longitude of the point param: string $name The name of the plot |
addPoint($x, $y, $name) X-Ref |
Add a point to the maps param: int $x The latitude of the point param: int $y The longitude of the point param: string $name The name of the plot |
_updateCoords() X-Ref |
Update coordinates |
_done() X-Ref |
Output the plotarea to the canvas 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 |