[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Axis/ -> Logarithmic.php (sommaire)

Class for axis handling. 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: Logarithmic.php,v 1.15 2006/03/02 12:35:57 nosey Exp $
Poids: 152 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Axis.php

Définit 1 class

Image_Graph_Axis_Logarithmic:: (5 méthodes):
  Image_Graph_Axis_Logarithmic()
  _calcLabelInterval()
  _value()
  _getNextLabel()
  _intersectPoint()


Classe: Image_Graph_Axis_Logarithmic  - X-Ref

Diplays a logarithmic axis (either X- or Y-axis).

Image_Graph_Axis_Logarithmic($type = IMAGE_GRAPH_AXIS_X)   X-Ref
Image_Graph_AxisLogarithmic [Constructor].

Normally a manual creation should not be necessary, axis are
created automatically by the {@link Image_Graph_Plotarea} constructor
unless explicitly defined otherwise

param: int $type The type (direction) of the Axis, use IMAGE_GRAPH_AXIS_X

_calcLabelInterval()   X-Ref
Calculate the label interval

If explicitly defined this will be calucated to an approximate best.

return: double The label interval

_value($value)   X-Ref
Preprocessor for values, ie for using logarithmic axis

param: double $value The value to preprocess
return: double The preprocessed value

_getNextLabel($currentLabel = false, $level = 1)   X-Ref
Get next label point

param: doubt $point The current point, if omitted or false, the first is
return: double The next label point

_intersectPoint($value)   X-Ref
Get the axis intersection pixel position

This is only to be called prior to output! I.e. between the user
invokation of Image_Graph::done() and any actual output is performed.
This is because it can change the axis range.

param: double $value the intersection value to get the pixel-point for
return: double The pixel position along the axis



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