function views_plugin_style_chart::option_definition in Views Charts 6
Same name and namespace in other branches
- 7 views_plugin_style_chart.inc \views_plugin_style_chart::option_definition()
Set default options.
File
- ./
views_plugin_style_chart.inc, line 16 - Holds views_plugin_style_chart class which implements the chart plugin.
Class
Code
function option_definition() {
$options = parent::option_definition();
$options['width'] = array(
'default' => '500',
);
$options['height'] = array(
'default' => '600',
);
$options['type'] = array(
'default' => array(
'amcharts' => 'line',
),
);
$options['wmode'] = 'window';
return $options;
}