[ 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: Function.php,v 1.7 2005/08/24 20:35:57 nosey Exp $ |
Poids: | 147 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Dataset.php |
Image_Graph_Dataset_Function:: (6 méthodes):
Image_Graph_Dataset_Function()
addPoint()
_getPointY()
_count()
_stepX()
_calculateMaxima()
Classe: Image_Graph_Dataset_Function - X-Ref
Function data set, points are generated by calling an external function.Image_Graph_Dataset_Function($minimumX, $maximumX, $function, $points) X-Ref |
Image_Graph_FunctionDataset [Constructor] param: double $minimumX The minimum X value param: double $maximumX The maximum X value param: string $function The name of the function, if must be a single param: int $points The number of points to create |
addPoint($x, $y = false, $ID = false) X-Ref |
Add a point to the dataset. You can't add points to a function dataset param: int $x The X value to add param: int $y The Y value to add, can be omited param: var $ID The ID of the point |
_getPointY($x) X-Ref |
Gets a Y point from the dataset param: var $x The variable to apply the function to return: var The function applied to the X value |
_count() X-Ref |
The number of values in the dataset return: int The number of values in the dataset |
_stepX() X-Ref |
The interval between 2 adjacent Y values return: var The interval |
_calculateMaxima() X-Ref |
Calculates the Y extrema of the function |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |