| packageless

# Class: Legend Source Location: /lib/JpGraph/jpgraph.php
### Class Overview
| ### Variables $color $fill_color $font_family $font_size $font_style $halign $hide $layout $mark_abs_size $shadow $shadow_width $txtcol $valign $weight $xmargin $xpos $ymargin $ypos | ### Methods Legend Add Hide Pos SetBackground SetColor SetFillColor SetFont SetLayout SetLineWeight SetShadow Stroke
### Inherited Variables | ### Inherited Methods
### Class Details [line 4258] [ Top ] ### Class Variables #### $color = array(0,0,0) [line 4259]
Type: | mixed
[ Top ] #### $fill_color = array(235,235,235) [line 4260]
Type: | mixed
[ Top ] #### $font_family = FF_FONT1 [line 4265]
Type: | mixed
[ Top ] #### $font_size = 12 [line 4265]
Type: | mixed
[ Top ] #### $font_style = FS_NORMAL [line 4265]
Type: | mixed
[ Top ] #### $halign = "right" [line 4264]
Type: | mixed
[ Top ] #### $hide = false [line 4266]
Type: | mixed
[ Top ] #### $layout = LEGEND_VERT [line 4266]
Type: | mixed
[ Top ] #### $mark_abs_size = 10 [line 4263]
Type: | mixed
[ Top ] #### $shadow = true [line 4261]
Type: | mixed
[ Top ] #### $shadow_width = 2 [line 4263]
Type: | mixed
[ Top ] #### $txtcol = array() [line 4262]
Type: | mixed
[ Top ] #### $valign = "top" [line 4264]
Type: | mixed
[ Top ] #### $weight = 1 [line 4267]
Type: | mixed
[ Top ] #### $xmargin = 5 [line 4263]
Type: | mixed
[ Top ] #### $xpos = 0.05 [line 4264]
Type: | mixed
[ Top ] #### $ymargin = 5 [line 4263]
Type: | mixed
[ Top ] #### $ypos = 0.15 [line 4264]
Type: | mixed
[ Top ] ### Class Methods ### constructor Legend [line 4270]
`Legend Legend( )`
[ Top ] ### method Add [line 4320]
`void Add( mixed $aTxt, mixed $aColor, [mixed $aPlotmark = ""], [mixed $aLinestyle = 1])`
[ Top ] ### method Hide [line 4275]
`void Hide( [mixed $aHide = true])`
[ Top ] ### method Pos [line 4303]
`void Pos( mixed $aX, mixed $aY, [mixed $aHAlign = "right"], [mixed $aVAlign = "top"])`
[ Top ] ### method SetBackground [line 4312]
`void SetBackground( mixed $aDummy)`
[ Top ] ### method SetColor [line 4293]
`void SetColor( mixed $aColor)`
[ Top ] ### method SetFillColor [line 4316]
`void SetFillColor( mixed $aColor)`
[ Top ] ### method SetFont [line 4297]
`void SetFont( mixed $aFamily, [mixed $aStyle = FS_NORMAL], [mixed $aSize = 10])`
[ Top ] ### method SetLayout [line 4288]
`void SetLayout( [mixed $aDirection = LEGEND_VERT])`
[ Top ] ### method SetLineWeight [line 4284]
`void SetLineWeight( mixed $aWeight)`
[ Top ] ### method SetShadow [line 4279]
`void SetShadow( [mixed $aShow = true], [mixed $aWidth = 2])`
[ Top ] ### method Stroke [line 4324]
`void Stroke( mixed &$aImg)`
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:14:48 +0100 by phpDocumentor 1.2.3