[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Line/ -> Array.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: Array.php,v 1.7 2005/02/21 20:49:42 nosey Exp $
Poids: 129 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Common.php

Définit 1 class

Image_Graph_Line_Array:: (3 méthodes):
  add()
  addColor()
  _getLineStyle()


Classe: Image_Graph_Line_Array  - X-Ref

A sequential array of linestyles.

This is used for multiple objects within the same element with different line
styles. This is done by adding multiple line styles to a LineArrray
structure. The linearray will then when requested return the 'next' linestyle
in sequential order. It is possible to specify ID tags to each linestyle,
which is used to make sure some data uses a specific linestyle (i.e. in a
multiple-/stackedbarchart you name the {@link Image_Graph_Dataset}s and uses
this name as ID tag when adding the dataset's associated linestyle to the
linearray.

add(& $style, $id = false)   X-Ref
Add a line style to the array

param: Image_Graph_Line $style The style to add

addColor($color, $id = false)   X-Ref
Add a color to the array

param: int $color The color
param: string $id The id or name of the color

_getLineStyle($ID = false)   X-Ref
Return the linestyle

return: int A GD Linestyle



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