private function FrxSVGGraph::keyFromColumns in Forena Reports 7.5
1 call to FrxSVGGraph::keyFromColumns()
- FrxSVGGraph::generate in src/
Renderer/ FrxSVGGraph.php - Generate the template from the configuration.
File
- src/
Renderer/ FrxSVGGraph.php, line 484 - FrxSVGGraph php SVG Graph generator
Class
Namespace
Drupal\forena\RendererCode
private function keyFromColumns(&$config) {
$key = '';
foreach ($config['crosstab_columns'] as $k => $col) {
if ($col['type'] == 'heading') {
$key = trim($key . ' {' . $k . '}');
}
}
$config['key'] = $key;
}