private function Highcharts::getType in Charts 5.0.x
Same name and namespace in other branches
- 8.4 modules/charts_highcharts/src/Plugin/chart/Library/Highcharts.php \Drupal\charts_highcharts\Plugin\chart\Library\Highcharts::getType()
The chart type.
Parameters
string $type: The chart type.
Return value
string Return the chart type.
1 call to Highcharts::getType()
- Highcharts::populateOptions in modules/
charts_highcharts/ src/ Plugin/ chart/ Library/ Highcharts.php - Populate options.
File
- modules/
charts_highcharts/ src/ Plugin/ chart/ Library/ Highcharts.php, line 561
Class
- Highcharts
- Defines a concrete class for a Highcharts.
Namespace
Drupal\charts_highcharts\Plugin\chart\LibraryCode
private function getType($type) {
if ($type === 'donut') {
$type = 'pie';
}
return $type;
}