[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/Image/Graph/Plot/Smoothed/ -> Line.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: Line.php,v 1.14 2006/03/02 12:37:37 nosey Exp $
Poids: 172 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/Plot/Smoothed/Bezier.php

Définit 1 class

Image_Graph_Plot_Smoothed_Line:: (3 méthodes):
  _getFillStyle()
  _drawLegendSample()
  _done()


Classe: Image_Graph_Plot_Smoothed_Line  - X-Ref

Bezier smoothed line chart.

Similar to a {@link Image_Graph_Plot_Line}, but the interconnecting lines
between two datapoints are smoothed using a Bezier curve, which enables the
chart to appear as a nice curved plot instead of the sharp edges of a
conventional {@link Image_Graph_Plot_Line}. Smoothed charts are only supported
with non-stacked types

_getFillStyle($ID = false)   X-Ref
Gets the fill style of the element

return: int A GD filestyle representing the fill style

_drawLegendSample($x0, $y0, $x1, $y1)   X-Ref
Perform the actual drawing on the legend.

param: int $x0 The top-left x-coordinate
param: int $y0 The top-left y-coordinate
param: int $x1 The bottom-right x-coordinate
param: int $y1 The bottom-right y-coordinate

_done()   X-Ref
Output the Bezier smoothed plot as an Line Chart

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