You are here

static function FrxSVGGraph::graphOptions in Forena Reports 7.5

2 calls to FrxSVGGraph::graphOptions()
FrxSVGGraph::configForm in src/Renderer/FrxSVGGraph.php
Returns the section Enter description here ...
FrxSVGGraph::configValidate in src/Renderer/FrxSVGGraph.php
Default configuration validator. Simply validates header and footer attributes.

File

src/Renderer/FrxSVGGraph.php, line 404
FrxSVGGraph php SVG Graph generator

Class

FrxSVGGraph

Namespace

Drupal\forena\Renderer

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,
  );
}