You are here

function charts_plugin_style_chart::calc_options in Charts 7

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

Views Calc operation.

1 call to charts_plugin_style_chart::calc_options()
charts_plugin_style_chart::options_form in views/charts_plugin_style_chart.inc
Generate a form for setting options.

File

views/charts_plugin_style_chart.inc, line 105
Contains the chart style plugin. @author Bruno Massa http://drupal.org/user/67164 @author Karen Stevenson http://drupal.org/user/45874

Class

charts_plugin_style_chart
Style plugin to render view as a chart.

Code

function calc_options() {
  return array(
    '' => t('None'),
    'SUM' => t('Sum'),
    'COUNT' => t('Count'),
    'AVG' => t('Average'),
    'MIN' => t('Minimum'),
    'MAX' => t('Maximum'),
  );
}