[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Plot/ -> BoxWhisker.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: BoxWhisker.php,v 1.14 2005/11/27 22:21:17 nosey Exp $
Poids: 298 lignes (11 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Plot.php

Définit 1 class

Image_Graph_Plot_BoxWhisker:: (5 méthodes):
  _drawBoxWhiskerV()
  _drawBoxWhiskerH()
  _drawLegendSample()
  setWhiskerSize()
  _done()


Classe: Image_Graph_Plot_BoxWhisker  - X-Ref

Box & Whisker chart.

_drawBoxWhiskerV($x, $w, $r, $y_min, $y_q1, $y_med, $y_q3, $y_max, $key = false)   X-Ref
Draws a box & whisker

param: int $x The x position
param: int $w The width of the box
param: int $r The radius of the circle markers
param: int $y_min The Y position of the minimum value
param: int $y_q1 The Y position of the median of the first quartile
param: int $y_med The Y position of the median
param: int $y_q3 The Y position of the median of the third quartile
param: int $y_max The Y position of the maximum value
param: int $key The ID tag

_drawBoxWhiskerH($y, $h, $r, $x_min, $x_q1, $x_med, $x_q3, $x_max, $key = false)   X-Ref
Draws a box & whisker

param: int $y The x position
param: int $h The width of the box
param: int $r The radius of the circle markers
param: int $x_min The Y position of the minimum value
param: int $x_q1 The Y position of the median of the first quartile
param: int $x_med The Y position of the median
param: int $x_q3 The Y position of the median of the third quartile
param: int $x_max The Y position of the maximum value
param: int $key The ID tag

_drawLegendSample($x0, $y0, $x1, $y1)   X-Ref
Perform the actual drawing on the legend.

param: int $x0 The top-left x-coordinate
param: int $y0 The top-left y-coordinate
param: int $x1 The bottom-right x-coordinate
param: int $y1 The bottom-right y-coordinate

setWhiskerSize($size = false)   X-Ref
Sets the whisker circle size

param: int $size Size (radius) of the whisker circle/dot

_done()   X-Ref
Output the plot

return: bool Was the output 'good' (true) or 'bad' (false).



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