[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Image/Graph/Dataset/ -> Sequential.php (sommaire)

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: Sequential.php,v 1.7 2005/08/24 20:35:58 nosey Exp $
Poids: 114 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Dataset/Trivial.php

Définit 1 class

Image_Graph_Dataset_Sequential:: (5 méthodes):
  Image_Graph_Dataset_Sequential()
  addPoint()
  _getPointX()
  minimumX()
  maximumX()


Classe: Image_Graph_Dataset_Sequential  - X-Ref

Sequential data set, simply add points (y) 1 by 1.

This is a single point (1D) dataset, all points are of the type (0, y1), (1,
y2), (2,  y3)... Where the X-value is implicitly incremented. This is useful
for example for barcharts, where you could fx. use an {@link
Image_Graph_Dataset_Array} datapreprocessor to make sence of the x-values.

Image_Graph_Dataset_Sequential($dataArray = false)   X-Ref
Image_Graph_SequentialDataset [Constructor]


addPoint($y, $ID = false)   X-Ref
Add a point to the dataset

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 return an X value from, fx in a
return: var The X value of the variable

minimumX()   X-Ref
The minimum X value

return: var The minimum X value

maximumX()   X-Ref
The maximum X value

return: var The maximum X value



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7