You are here

function flot_views_plugin_style::option_definition in Flot 6

Same name and namespace in other branches
  1. 7 flot_views/views/flot_views_plugin_style.inc \flot_views_plugin_style::option_definition()

File

views/flot_views_plugin_style.inc, line 4

Class

flot_views_plugin_style

Code

function option_definition() {
  $options = parent::option_definition();
  $options['type'] = array(
    'default' => 'line',
  );
  $options['size'] = array(
    'default' => '400x200',
  );
  $options['x'] = array(
    'default' => array(
      'granularity' => 'auto',
      'label' => 'default',
    ),
  );
  $options['y'] = array(
    'default' => array(
      'granularity' => 'auto',
      'label' => 'default',
      'pad' => 1,
    ),
  );
  $options['layers'] = array(
    'default' => array(),
  );
  return $options;
}