You are here

function flot_views_data_alter in Flot 6

Implementation of hook_views_data_alter().

File

views/flot.views.inc, line 6

Code

function flot_views_data_alter(&$data) {
  $data['views']['datapoint'] = array(
    'title' => t('Data point'),
    'help' => t('Provide a datapoint suitable for a flot graph.'),
    'field' => array(
      'handler' => 'flot_handler_field_datapoint',
    ),
  );
}