[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/artichow/php5/ -> Graph.class.php (sommaire)

(pas de description)

Poids: 378 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 16 fichiers
 libs/artichow/php5/inc/Math.class.php
 libs/artichow/php5/inc/Tools.class.php
 libs/artichow/php5/inc/Axis.class.php
 libs/artichow/php5/Component.class.php
 libs/artichow/php5/inc/Gradient.class.php
 libs/artichow/php5/inc/Color.class.php
 libs/artichow/php5/inc/Legend.class.php
 libs/artichow/php5/inc/Text.class.php
 libs/artichow/php5/common.php
 libs/artichow/php5/inc/Grid.class.php
 libs/artichow/php5/inc/Font.class.php
 libs/artichow/php5/inc/Label.class.php
 libs/artichow/php5/Image.class.php
 libs/artichow/php5/inc/Tick.class.php
 libs/artichow/php5/inc/Drawer.class.php
 libs/artichow/php5/inc/Mark.class.php

Définit 1 class

awGraph:: (14 méthodes):
  __construct()
  deleteFromCache()
  deleteAllCache()
  cleanCache()
  setTiming()
  add()
  addLabel()
  addAbsLabel()
  draw()
  drawLabels()
  drawTitle()
  drawTiming()
  cleanGraphCache()
  microtimeFloat()


Classe: awGraph  - X-Ref

A graph

__construct($width = NULL, $height = NULL, $name = NULL, $timeout = 0)   X-Ref
Construct a new graph

param: int $width Graph width
param: int $height Graph height
param: string $name Graph name for the cache (must be unique). Let it null to not use the cache.
param: int $timeout Cache timeout (unix timestamp)

deleteFromCache($name)   X-Ref
Delete a graph from the cache

param: string $name Graph name
return: bool TRUE on success, FALSE on failure

deleteAllCache()   X-Ref
Delete all graphs from the cache


cleanCache()   X-Ref
Clean cache


setTiming($timing)   X-Ref
Enable/Disable Graph timing

param: bool $timing

add(awComponent $component)   X-Ref
Add a component to the graph

param: awComponent $component

addLabel(awLabel $label, $x, $y)   X-Ref
Add a label to the component

param: awLabel $label
param: int $x Position on X axis of the center of the text
param: int $y Position on Y axis of the center of the text

addAbsLabel(awLabel $label, awPoint $point)   X-Ref
Add a label to the component with aboslute position

param: awLabel $label
param: awPoint $point Text position

draw($file = NULL)   X-Ref
Build the graph and draw component on it
Image is sent to the user browser

param: string $file Save the image in the specified file. Let it null to print image to screen.

drawLabels()   X-Ref
Pas de description

drawTitle()   X-Ref
Pas de description

drawTiming($time)   X-Ref
Pas de description

cleanGraphCache($file)   X-Ref
Pas de description

microtimeFloat()   X-Ref
Pas de description



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics