You are here

function views_plugin_style_chart::option_definition in Views Charts 6

Same name and namespace in other branches
  1. 7 views_plugin_style_chart.inc \views_plugin_style_chart::option_definition()

Set default options.

File

./views_plugin_style_chart.inc, line 16
Holds views_plugin_style_chart class which implements the chart plugin.

Class

views_plugin_style_chart

Code

function option_definition() {
  $options = parent::option_definition();
  $options['width'] = array(
    'default' => '500',
  );
  $options['height'] = array(
    'default' => '600',
  );
  $options['type'] = array(
    'default' => array(
      'amcharts' => 'line',
    ),
  );
  $options['wmode'] = 'window';
  return $options;
}