You are here

function flot_views_views_data_alter in Flot 7

Implements hook_views_data_alter().

File

flot_views/views/flot_views.views.inc, line 10
Provides view integration for Flot.

Code

function flot_views_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',
    ),
  );
}