All Data Structures Functions
Public Member Functions | Static Public Attributes
plugin_chart Class Reference

Public Member Functions

 __construct ($sType, $iWidth=null, $iHeight=null)
 setData ($tData)
 show ()
 addGroup ($sLabel, $sColor)
 addPoint ($x, $y)
 setMarginLeft ($x)
 setMaxX ($x)
 setMinX ($x)
 setMaxY ($x)
 setMinY ($x)
 addMarkerY ($y, $color='#ccc')
 setPaddingX ($padding)
 setPaddingY ($padding)
 setGridY ($y, $color)
 setTextSizeLegend ($size)
 setCoordLegend ($x, $y)
 setStepX ($stepX)
 setStepY ($stepY)

Static Public Attributes

static $PIE ='PIE'
static $HISTO ='HISTO'
static $LINES ='LINES'
static $BAR ='BAR'

Detailed Description

plugin_chart classe pour generer des graphiques


Definition at line 23 of file plugin_chart.php.

Member Function Documentation

addGroup (   $sLabel,

ajoute un groupe au graphique public

string$sLabellibelle du groupe
string$sColorcouleur utilise

Definition at line 75 of file plugin_chart.php.

addPoint (   $x,

ajoute un point au graphique public

number$xcoordonnee x du point
number$ycoordonnee y du point

Definition at line 84 of file plugin_chart.php.

setData (   $tData)

charge les donnees du graphique public

array$tData,tableau de donnees

Definition at line 56 of file plugin_chart.php.

show ( )

retourne le code du graphique a afficher public

string retourne le code du graphique

Definition at line 65 of file plugin_chart.php.

The documentation for this class was generated from the following file: