[ Index ] |
|
Code source de phpMyVisites 2.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 691 lignes (12 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
awLegend:: (21 méthodes):
awLegend()
setModel()
hide()
show()
add()
setPadding()
setSpace()
setAlign()
setColumns()
setRows()
setPosition()
getPosition()
setTextFont()
setTextMargin()
setTextColor()
setBackground()
setBackgroundColor()
setBackgroundGradient()
count()
draw()
drawBase()
awLegend($model = LEGEND_MODEL_RIGHT) X-Ref |
Build the legend param: int $model Legend model |
setModel($model) X-Ref |
Set a predefined model for the legend param: int $model |
hide($hide = TRUE) X-Ref |
Hide legend ? param: bool $hide TRUE to hide legend, FALSE otherwise |
show($show = TRUE) X-Ref |
Show legend ? param: bool $show |
add(&$legendable, $title, $type = LEGEND_LINE) X-Ref |
Add a Legendable object to the legend param: &$legendable param: string $title Legend title param: int $type Legend type (default to LEGEND_LINE) |
setPadding($left, $right, $top, $bottom) X-Ref |
Change legend padding param: int $left param: int $right param: int $top param: int $bottom |
setSpace($space) X-Ref |
Change space between each legend param: int $space |
setAlign($h = NULL, $v = NULL) X-Ref |
Change alignment param: int $h Horizontal alignment param: int $v Vertical alignment |
setColumns($columns) X-Ref |
Change number of columns param: int $columns |
setRows($rows) X-Ref |
Change number of rows param: int $rows |
setPosition($x = NULL, $y = NULL) X-Ref |
Change legend position X and Y positions must be between 0 and 1. param: float $x param: float $y |
getPosition() X-Ref |
Get legend position return: Point |
setTextFont(&$font) X-Ref |
Change text font param: &$font |
setTextMargin($left, $right) X-Ref |
Change text margin param: int $left param: int $right |
setTextColor($color) X-Ref |
Change text color param: $color |
setBackground($background) X-Ref |
Change background param: mixed $background |
setBackgroundColor($color) X-Ref |
Change background color param: $color |
setBackgroundGradient($gradient) X-Ref |
Change background gradient param: $gradient |
count() X-Ref |
Count the number of Legendable objects in the legend return: int |
draw($drawer) X-Ref |
Pas de description |
drawBase($drawer, $p, $width, $height) X-Ref |
Pas de description |
Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |