[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Marker/ -> Bubble.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: Bubble.php,v 1.5 2005/02/21 20:49:50 nosey Exp $
Poids: 91 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Marker/Circle.php

Définit 1 class

Image_Graph_Marker_Bubble:: (2 méthodes):
  setMaxRadius()
  _drawMarker()


Classe: Image_Graph_Marker_Bubble  - X-Ref

Display a circle with y-value percentage as radius (require GD2).

This will display a circle centered on the datapoint with a radius calculated
as a percentage of the maximum value. I.e. the radius depends on the y-value
of the datapoint

setMaxRadius($radius)   X-Ref
Sets the maximum radius the marker can occupy

param: int $radius The new Image_Graph_max radius

_drawMarker($x, $y, $values = false)   X-Ref
Draw the marker on the canvas

param: int $x The X (horizontal) position (in pixels) of the marker on
param: int $y The Y (vertical) position (in pixels) of the marker on the
param: array $values The values representing the data the marker 'points'



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