You are here

static function FrxSVGGraph::graphTypes in Forena Reports 7.3

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

File

renderers/FrxSVGGraph.inc, line 19

Class

FrxSVGGraph

Code

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