You are here

public function ChartType::setChartType in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType::setChartType()

Parameters

mixed $type:

File

modules/charts_google/src/Settings/Google/ChartType.php, line 18

Class

ChartType

Namespace

Drupal\charts_google\Settings\Google

Code

public function setChartType($type) {
  $ucType = ucfirst($type);
  $this->type = $ucType . 'Chart';
}