(Defined in: jpgraph_bar.php : 615)
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
Create a new Group bar plot
Argument | Default | Description |
$plots
| | Array of individual plots |
Description:
Create a new Group bar plot from a number of BarPlot or AccBarPlot plots.
See also:
$b1 = new BarPlot(...);
$b2 = new BarPlot(...);
$gb = new GroupBarPlot(array($b1,$b2));
...
$graph->Add($gb);