You are here

private function FrxSVGGraph::keyFromColumns in Forena Reports 7.4

1 call to FrxSVGGraph::keyFromColumns()
FrxSVGGraph::generate in renderers/FrxSVGGraph.inc
Generate the template from the configuration.

File

renderers/FrxSVGGraph.inc, line 487

Class

FrxSVGGraph

Code

private function keyFromColumns(&$config) {
  $key = '';
  foreach ($config['crosstab_columns'] as $k => $col) {
    if ($col['type'] == 'heading') {
      $key = trim($key . ' {' . $k . '}');
    }
  }
  $config['key'] = $key;
}