[ 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/ -> Value.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: Value.php,v 1.10 2006/02/28 22:48:07 nosey Exp $
Poids: 214 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Marker.php

Définit 1 class

Image_Graph_Marker_Value:: (6 méthodes):
  Image_Graph_Marker_Value()
  setBackground()
  setBackgroundColor()
  setDataPreprocessor()
  _getDisplayValue()
  _drawMarker()


Classe: Image_Graph_Marker_Value  - X-Ref

A marker showing the data value.

Image_Graph_Marker_Value($useValue = IMAGE_GRAPH_VALUE_X)   X-Ref
Create a value marker, ie a box containing the value of the 'pointing
data'

param: int $useValue Defines which value to use from the dataset, i.e. the

setBackground(& $background)   X-Ref
Sets the background fill style of the element

param: Image_Graph_Fill $background The background

setBackgroundColor($color)   X-Ref
Sets the background color of the element

param: mixed $color The color

setDataPreprocessor(& $dataPreprocessor)   X-Ref
Sets a data preprocessor for formatting the values

param: DataPreprocessor $dataPreprocessor The data preprocessor
return: Image_Graph_DataPreprocessor The data preprocessor

_getDisplayValue($values)   X-Ref
Get the value to display

param: array $values The values representing the data the marker 'points'
return: string The display value, this is the pre-preprocessor value, to

_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