function FrxSVGGraph::stackedBarGraph in Forena Reports 7.2
Same name and namespace in other branches
- 6.2 plugins/FrxSVGGraph.inc \FrxSVGGraph::stackedBarGraph()
1 call to FrxSVGGraph::stackedBarGraph()
- FrxSVGGraph::renderChart in plugins/
FrxSVGGraph.inc
File
- plugins/
FrxSVGGraph.inc, line 59
Class
Code
function stackedBarGraph($data, $options) {
if (@$options['style'] == 'horizontal') {
$type = 'HorizontalStackedBarGraph';
}
else {
$type = 'StackedBarGraph';
}
return $this
->renderGraph($type, $options, $data);
}