[ Index ] |
|
Code source de phpMyVisites 2.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
awGraph:: (14 méthodes):
__construct()
deleteFromCache()
deleteAllCache()
cleanCache()
setTiming()
add()
addLabel()
addAbsLabel()
draw()
drawLabels()
drawTitle()
drawTiming()
cleanGraphCache()
microtimeFloat()
__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 |
![]() |