function ViewsSimplechartPluginStyle::option_definition in Views Simple Chart 7
Set default options
Overrides views_plugin_style::option_definition
File
- plugins/
views_simplechart_plugin_style.inc, line 17 - Contains the list style plugin.
Class
- ViewsSimplechartPluginStyle
- Style plugin to render each item in an ordered or unordered list.
Code
function option_definition() {
$options = parent::option_definition();
$options['chart_title'] = array(
'default' => 'Simple Chart',
);
$options['chart_axis_mapping'] = array(
'default' => '',
);
$options['chart_type_stacked'] = array(
'default' => 'no',
);
$options['chart_type'] = array(
'default' => 'bar',
);
$options['chart_legend_position'] = array(
'default' => 'bottom',
);
$options['chart_width'] = array(
'default' => '400',
);
$options['chart_height'] = array(
'default' => '300',
);
return $options;
}