You are here

function flot_handler_field_datapoint::option_definition in Flot 6

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

Option defaults.

File

views/flot_handler_field_datapoint.inc, line 14

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;
}