public function Highcharts::defaultConfiguration in Charts 8.4
Same name and namespace in other branches
- 5.0.x modules/charts_highcharts/src/Plugin/chart/Library/Highcharts.php \Drupal\charts_highcharts\Plugin\chart\Library\Highcharts::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ChartBase::defaultConfiguration
File
- modules/
charts_highcharts/ src/ Plugin/ chart/ Library/ Highcharts.php, line 26
Class
- Highcharts
- Defines a concrete class for a Highcharts.
Namespace
Drupal\charts_highcharts\Plugin\chart\LibraryCode
public function defaultConfiguration() {
$configurations = [
'legend' => [
'layout' => NULL,
'background_color' => '',
'border_width' => 0,
'shadow' => FALSE,
'item_style' => [
'color' => '',
'overflow' => '',
],
],
] + parent::defaultConfiguration();
return $configurations;
}