You are here

function flot_handler_field_datapoint::option_definition in Flot 7

Same name and namespace in other branches
  1. 6 views/flot_handler_field_datapoint.inc \flot_handler_field_datapoint::option_definition()

Option defaults.

Overrides views_handler_field::option_definition

File

flot_views/views/flot_handler_field_datapoint.inc, line 15

Class

flot_handler_field_datapoint

Code

function option_definition() {
  $options = parent::option_definition();
  $options['series'] = array(
    'default' => array(
      'field' => '',
      'grouping' => '',
      'date_format' => 'small',
    ),
  );
  $options['value'] = array(
    'default' => array(
      'field' => '',
      'format' => '',
    ),
  );
  return $options;
}