You are here

static function FrxSVGGraph::graphTypes in Forena Reports 7.5

4 calls to FrxSVGGraph::graphTypes()
FrxSVGGraph::configForm in src/Renderer/FrxSVGGraph.php
Returns the section Enter description here ...
FrxSVGGraph::graphOptions in src/Renderer/FrxSVGGraph.php
FrxSVGGraph::renderChart in src/Renderer/FrxSVGGraph.php
FrxSVGGraph::scrapeConfig in src/Renderer/FrxSVGGraph.php
Derive config variables from graph.

File

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

Class

FrxSVGGraph

Namespace

Drupal\forena\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',
    ),
    'StackedBar3DGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Stacked 3d',
    ),
    'GroupedBar3DGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Grouped 3d',
    ),
    'GroupedBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Grouped',
    ),
    'StackedGroupedBarGraph' => array(
      'type' => 'Bar Graph',
      'Stacked 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',
    ),
    'DonutGraph' => array(
      'type' => 'Pie Chart',
      'style' => 'Donut',
    ),
    'PolarAreaGraph' => array(
      'type' => 'Pie Chart',
      'style' => 'Polar Area',
    ),
    'ExplodedPieGraph' => array(
      'type' => 'Pie Chart',
      'style' => 'Exploded Pie',
    ),
    'HorizontalBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Horizontal',
    ),
    'HorizontalStackedBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Horizontal Stacked',
    ),
    'HorizontalGroupedBarGraph' => array(
      'type' => 'Bar Graph',
      'style' => 'Horizontal Grouped',
    ),
    'PoopulationPyramid' => array(
      'type' => 'Bar Graph',
      'style' => 'Population Pyramid',
    ),
    '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',
    ),
    'FloatingBarGraph' => array(
      'type' => 'Floating Bar',
      'style' => 'Vertical',
    ),
    'HorizontalFloatingBarGraph' => array(
      'type' => 'Floating Bar',
      'style' => 'Horizontal',
    ),
    'BubbleGraph' => array(
      'type' => 'Other',
      'style' => 'Bubble',
    ),
    'BoxAndWhiskerGraph' => array(
      'type' => 'Other',
      'style' => 'Box and Whisker',
    ),
  );
}