You are here

function FrxSVGGraph::stackedBarGraph in Forena Reports 6.2

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

File

plugins/FrxSVGGraph.inc, line 59

Class

FrxSVGGraph

Code

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