[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/DataSelector/ -> EveryNthPoint.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: EveryNthPoint.php,v 1.6 2005/08/24 20:35:59 nosey Exp $
Poids: 97 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/DataSelector.php

Définit 1 class

Image_Graph_DataSelector_EveryNthPoint:: (2 méthodes):
  Image_Graph_DataSelector_EveryNthpoint()
  _select()


Classe: Image_Graph_DataSelector_EveryNthPoint  - X-Ref

Filter out all points except every Nth point.

Use this dataselector if you have a large number of datapoints, but only want to
show markers for a small number of them, say every 10th.

Image_Graph_DataSelector_EveryNthpoint($pointInterval = 10)   X-Ref
EvertNthPoint [Constructor]

param: int $pointInterval The number of points between every 'show',

_select($values)   X-Ref
Check if a specified value should be 'selected', ie shown as a marker

param: array $values The values to check
return: bool True if the Values should cause a marker to be shown,



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