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