You are here

static function FrxSVGGraph::graphOptions in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 renderers/FrxSVGGraph.inc \FrxSVGGraph::graphOptions()
2 calls to FrxSVGGraph::graphOptions()
FrxGraphTemplate::config_form in templates/FrxGraphTemplate.inc
Returns the section Enter description here ...
FrxGraphTemplate::generate in templates/FrxGraphTemplate.inc
Enter description here ...

File

renderers/FrxSVGGraph.inc, line 40

Class

FrxSVGGraph

Code

static function graphOptions() {
  $data = FrxSVGGraph::graphTypes();
  foreach ($data as $key => $value) {
    $type[$value['type']] = $value['type'];
    $style[$value['type']][$key] = $value['style'];
  }
  return array(
    'types' => $type,
    'styles' => $style,
  );
}