private function FrxSVGGraph::seriesFromColumns in Forena Reports 7.4
Generate series from crosstab.
Parameters
unknown $config:
1 call to FrxSVGGraph::seriesFromColumns()
- FrxSVGGraph::generate in renderers/
FrxSVGGraph.inc - Generate the template from the configuration.
File
- renderers/
FrxSVGGraph.inc, line 477
Class
Code
private function seriesFromColumns(&$config) {
$series = array();
foreach ($config['crosstab_columns'] as $key => $col) {
if ($col['type'] == 'value') {
$series[] = '{' . $key . '}';
}
}
$config['series'] = $series;
}