[ 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: VectorFunction.php,v 1.6 2005/08/24 20:35:57 nosey Exp $ |
Poids: | 185 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Dataset.php |
Image_Graph_Dataset_VectorFunction:: (7 méthodes):
Image_Graph_Dataset_VectorFunction()
addPoint()
_getPointX()
_getPointY()
_reset()
_stepX()
_calculateMaxima()
Classe: Image_Graph_Dataset_VectorFunction - X-Ref
Vector Function data set.Image_Graph_Dataset_VectorFunction($minimumT, $maximumT, $functionX, $functionY, $points) X-Ref |
Image_Graph_VectorFunctionDataset [Constructor] param: double $minimumT The minimum value of the vector function variable param: double $maximumT The maximum value of the vector function variable param: string $functionX The name of the X function, if must be a single param: string $functionY The name of the Y 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 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 |
_getPointX($x) X-Ref |
Gets a X point from the dataset param: var $x The variable to apply the X function to return: var The X function applied to the X value |
_getPointY($x) X-Ref |
Gets a Y point from the dataset param: var $x The variable to apply the Y function to return: var The Y function applied to the X value |
_reset() X-Ref |
Reset the intertal dataset pointer return: var The first T value |
_stepX() X-Ref |
The interval between 2 adjacent T values return: var The interval |
_calculateMaxima() X-Ref |
Calculates the X and Y extrema of the functions |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |