private function FrxSVGGraph::addColumn in Forena Reports 7.4
Add column for cross tabs.
2 calls to FrxSVGGraph::addColumn()
- FrxSVGGraph::generate in renderers/
FrxSVGGraph.inc - Generate the template from the configuration.
- FrxSVGGraph::scrapeConfig in renderers/
FrxSVGGraph.inc - Derive config variables from graph.
File
- renderers/
FrxSVGGraph.inc, line 174
Class
Code
private function addColumn($type, $token, $label, &$config) {
$key = trim($token, '{}');
$this->weight++;
$config['crosstab_columns'][$key] = array(
'contents' => $token,
'label' => $label,
'type' => $type,
'weight' => $this->weight,
);
}