You are here

static function FrxSVGGraph::graphTypes in Forena Reports 8

2 calls to FrxSVGGraph::graphTypes()
FrxSVGGraph::graphOptions in src/FrxPlugin/Renderer/FrxSVGGraph.php
FrxSVGGraph::renderChart in src/FrxPlugin/Renderer/FrxSVGGraph.php

File

src/FrxPlugin/Renderer/FrxSVGGraph.php, line 285
FrxSVGGraph php SVG Graph generator

Class

FrxSVGGraph
SVG Graphing Renderer

Namespace

Drupal\forena\FrxPlugin\Renderer

Code

static function graphTypes() {
  return array(
    'BarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Simple',
    ),
    'Bar3DGraph' => array(
      'type' => 'Bar Graph',
      'style' => '3D',
    ),
    'StackedBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Stacked',
    ),
    'GroupedBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Grouped',
    ),
    'BarAndLineGraph' => array(
      'type' => 'Bar and Line Graph',
      'style' => 'Grouped',
    ),
    'CylinderGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Cylinder',
    ),
    'StackedCylinderGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Stacked Cylinder',
    ),
    'GroupedCylinderGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Grouped Cylinder',
    ),
    'PieGraph' => array(
      'type' => 'Pie Chart',
      'style' => 'Simple',
    ),
    'Pie3DGraph' => array(
      'type' => 'Pie Chart',
      'style' => '3D',
    ),
    'HorizontalBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Horizontal',
    ),
    'LineGraph' => array(
      'type' => 'Line Graph',
      'style' => 'Simple',
    ),
    'MultiLineGraph' => array(
      'type' => 'Line Graph',
      'style' => 'Multi',
    ),
    'ScatterGraph' => array(
      'type' => 'Scatter Plot',
      'style' => 'Simple',
      'xaxis' => TRUE,
    ),
    'MultiScatterGraph' => array(
      'type' => 'Scatter Plot',
      'style' => '3D',
      'xaxis' => TRUE,
    ),
    'RadarGraph' => array(
      'type' => 'Radar Graph',
      'style' => 'Simple',
    ),
    'MultiRadarGraph' => array(
      'type' => 'Radar Graph',
      'style' => 'Multi',
    ),
  );
}