(Defined in: jpgraph_bar.php : 642) Class usage and Overview
Accumulated bar plot. 
Used to create bars where the data series are stacked on top of each other.
Features:
- Can be combined with Image maps for each series. 
- Values for each series can be displayed when the pointer is hovering over the corresponding part of the bar
- Unlimited number of series
Examples:
   
See also related classes:
BarPlot, GroupBarPlot and AccLinePlot   
Class Methods
  
   
function AccBarPlot($plots)
Construct a new accumulated bar graph
| Argument | Default | Description | 
|---|
| $plots |  | Array of bar plots | 
Description
Create a new accumulated bar plot based on the given array of ordinary bar plots. 
   See also
BarPlot::BarPlot
$b1 = new BarPlot($y1data);
$b2 = new BarPlot($y2data);
$accbar = new AccBarPlot(array($b1,$b2));
  
   
function Max()
Return the maximum value of the bars
Description
Return the maximum value of the bars 
list($xmin,$ymin) = $accbar->Max();
  
   
function Min()
Return minimum data values for the bars
Description
Return minimum data values for the bars 
list($xmin,$ymin) = $accbar->Min();