| packageless

# Class: BarPlot Source Location: /lib/JpGraph/jpgraph_bar.php
### Class Overview
    Plot
       |
       --BarPlot
| ### Variables $abswidth $align $bar_shadow $bar_shadow_color $bar_shadow_hsize $bar_shadow_vsize $fill_color $grad $grad_fromcolor $grad_style $grad_tocolor $width $ybase | ### Methods BarPlot Legend Max Min PreStrokeAdjust SetAbsWidth SetAlign SetFillColor SetFillGradient SetNoFill SetShadow SetWidth SetYBase SetYMin SetYStart ShowValue Stroke
### Child classes: GroupBarPlot AccBarPlot | ### Inherited Variables #### Class: Plot Plot::$color Plot::$coords Plot::$csimalts Plot::$csimareas Plot::$csimtargets Plot::$legend Plot::$line_weight Plot::$numpoints Plot::$value Plot::$weight | ### Inherited Methods #### Class: Plot Plot::Plot() Plot::GetCSIMareas() Plot::Legend() Plot::Max() Plot::Min() Plot::PreStrokeAdjust() Plot::SetColor() Plot::SetCSIMTargets() Plot::SetLegend() Plot::SetLineWeight() Plot::SetWeight() Plot::Stroke() Plot::StrokeDataValue() Plot::StrokeMargin()
### Class Details [line 197] [ Top ] ### Class Variables #### $abswidth = -1 [line 199]
Type: | mixed
[ Top ] #### $align = "left" [line 202]
Type: | mixed
[ Top ] #### $bar_shadow = false [line 205]
Type: | mixed
[ Top ] #### $bar_shadow_color = "black" [line 206]
Type: | mixed
[ Top ] #### $bar_shadow_hsize = 3 [line 207]
Type: | mixed
[ Top ] #### $bar_shadow_vsize = 3 [line 207]
Type: | mixed
[ Top ] #### $fill_color = "lightblue" [line 200]
Type: | mixed
[ Top ] #### $grad = false [line 203]
Type: | mixed
[ Top ] #### $grad_fromcolor = array(50,50,200) [line 204]
Type: | mixed
[ Top ] #### $grad_style = 1 [line 203]
Type: | mixed
[ Top ] #### $grad_tocolor = array(255,255,255) [line 204]
Type: | mixed
[ Top ] #### $width = 0.4 [line 198]
Type: | mixed
[ Top ] #### $ybase = 0 [line 201]
Type: | mixed
[ Top ] ### Class Methods ### constructor BarPlot [line 211]
`BarPlot BarPlot( mixed &$datay, [mixed $datax = false])`
[ Top ] ### method Legend [line 249]
`void Legend( mixed &$graph)`
Overridden in child classes as: GroupBarPlot::Legend() AccBarPlot::Legend() Overrides Plot::Legend() (parent method not documented) [ Top ] ### method Max [line 289]
`void Max( )`
Overridden in child classes as: GroupBarPlot::Max() AccBarPlot::Max() Overrides Plot::Max() (parent method not documented) [ Top ] ### method Min [line 282]
`void Min( )`
Overridden in child classes as: GroupBarPlot::Min() AccBarPlot::Min() Overrides Plot::Min() (parent method not documented) [ Top ] ### method PreStrokeAdjust [line 259]
`void PreStrokeAdjust( mixed &$graph)`
Overrides Plot::PreStrokeAdjust() (parent method not documented) [ Top ] ### method SetAbsWidth [line 304]
`void SetAbsWidth( mixed $w)`
[ Top ] ### method SetAlign [line 308]
`void SetAlign( mixed $a)`
[ Top ] ### method SetFillColor [line 317]
`void SetFillColor( mixed $c)`
[ Top ] ### method SetFillGradient [line 321]
`void SetFillGradient( mixed $from_color, mixed $to_color, mixed $style)`
[ Top ] ### method SetNoFill [line 312]
`void SetNoFill( )`
[ Top ] ### method SetShadow [line 220]
`void SetShadow( [mixed $color = "black"], [mixed $hsize = 3], [mixed $vsize = 3])`
[ Top ] ### method SetWidth [line 297]
`void SetWidth( mixed $w)`
[ Top ] ### method SetYBase [line 245]
`void SetYBase( mixed $y)`
[ Top ] ### method SetYMin [line 240]
`void SetYMin( mixed $y)`
[ Top ] ### method SetYStart [line 235]
`void SetYStart( mixed $y)`
[ Top ] ### method ShowValue [line 231]
`void ShowValue( [mixed $f = true])`
[ Top ] ### method Stroke [line 328]
`void Stroke( mixed &$img, mixed &$xscale, mixed &$yscale)`
Overridden in child classes as: GroupBarPlot::Stroke() AccBarPlot::Stroke() Overrides Plot::Stroke() (parent method not documented) [ Top ] Documentation generated on Mon, 29 Dec 2003 21:15:01 +0100 by phpDocumentor 1.2.3