You are here

function FrxSVGGraph::groupedBarGraph in Forena Reports 6.2

Same name and namespace in other branches
  1. 7.2 plugins/FrxSVGGraph.inc \FrxSVGGraph::groupedBarGraph()
1 call to FrxSVGGraph::groupedBarGraph()
FrxSVGGraph::renderChart in plugins/FrxSVGGraph.inc

File

plugins/FrxSVGGraph.inc, line 69

Class

FrxSVGGraph

Code

function groupedBarGraph($data, $options) {
  if (@$options['style'] == 'horizontal') {
    $type = 'HorizontalGroupedBarGraph';
  }
  else {
    $type = 'GroupedBarGraph';
  }
  return $this
    ->renderGraph($type, $options, $data);
}