[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
Image_Graph - Main class for the graph creation. 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: Title.php,v 1.12 2005/08/24 20:35:56 nosey Exp $ |
Poids: | 194 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier Image/Graph/Layout.php |
Image_Graph_Title:: (5 méthodes):
Image_Graph_Title()
setText()
_getAutoSize()
setAlignment()
_done()
Classe: Image_Graph_Title - X-Ref
TitleImage_Graph_Title($text, $fontOptions = false) X-Ref |
Create the title. Pass a Image_Graph_Font object - preferably by-ref (&) as second parameter, the font size in pixels or an associated array with some or all of the followin keys: 'size' The size of the title 'angle' The angle at which to write the title (in degrees or 'vertical') 'color' The font-face color param: sting $text The text to represent the title param: mixed $fontOptions The font to use in the title |
setText($text) X-Ref |
Set the text param: string $text The text to display |
_getAutoSize() X-Ref |
Returns the calculated "auto" size return: int The calculated auto size |
setAlignment($alignment) X-Ref |
Set the alignment of the legend param: int $alignment The alignment |
_done() X-Ref |
Output the text 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 |