CLASS GroupBarPlot EXTENDS BarPlot
(Defined in: jpgraph_bar.php : 534)
 GroupBarPlot  BarPlot  Plot 
 GroupBarPlot() 
 BarPlot() 
 SetAbsWidth() 
 SetAlign() 
 SetFillColor() 
 SetFillGradient() 
 SetNoFill() 
 SetPattern() 
 SetShadow() 
 SetValuePos() 
 SetWidth() 
 SetYBase() 
 SetYMin() 
 HideLegend() 
 SetCenter() 
 SetColor() 
 SetCSIMTargets() 
 SetLegend() 
 SetLineWeight() 
 

Class usage and Overview
A group bar plot has several bars side by side for each X-label. The group bar is constructed from any number of ordinary bar graphs. For example: $b1 = new BarPlot(...); $b2 = new BarPlot(...); $gb = new GroupBarPlot(array($b1,$b2)); ... $graph->Add($gb); ... Each individual bar can be either a BarPlor or an AccBarPlot.

 


Class Methods

 

 

function GroupBarPlot($plots)
Create a new Group bar plot

ArgumentDefaultDescription
$plots  Array of individual plots

Description
Create a new Group bar plot from a number of BarPlot or AccBarPlot plots. 
 
See also
AccBarPlot::AccBarPlot and BarPlot::BarPlot

Example

$b1 = new BarPlot(...);
$b2 = new BarPlot(...);

$gb = new GroupBarPlot(array($b1,$b2));
...
$graph->Add($gb);