[ 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.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: Marker.php,v 1.8 2005/02/21 20:49:47 nosey Exp $
Poids: 123 lignes (4 kb)
Inclus ou requis: 13 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Plotarea/Element.php

Définit 1 class

Image_Graph_Marker:: (4 méthodes):
  setSize()
  setSecondaryMarker()
  _drawMarker()
  _done()


Classe: Image_Graph_Marker  - X-Ref

Data point marker.

The data point marker is used for marking the datapoints on a graph with some
visual label, fx. a cross, a text box with the value or an icon.

setSize($size)   X-Ref
Set the 'size' of the marker

param: int $size The 'size' of the marker, the meaning depends on the

setSecondaryMarker(& $secondaryMarker)   X-Ref
Set the secondary marker

param: Marker $secondaryMarker The secondary marker

_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'

_done()   X-Ref
Output to the canvas

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