You are here

public function FrxSVGGraph::render in Forena Reports 7.4

Render the graph.

Return value

Ambigous <string, mixed>

Overrides FrxRenderer::render

File

renderers/FrxSVGGraph.inc, line 356

Class

FrxSVGGraph

Code

public function render() {

  // Get data from source
  $output = '';
  $this
    ->prepareGraph();
  $type = $this->graphOptions['type'];
  if ($this->graphData && $this
    ->validSeries()) {
    $output = $this
      ->renderChart($type);
  }
  return $output;
}