You are here

public function ChartType::setType in Charts 8

Same name in this branch
  1. 8 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType::setType()
  2. 8 modules/charts_highcharts/src/Settings/Highcharts/ChartType.php \Drupal\charts_highcharts\Settings\Highcharts\ChartType::setType()
Same name and namespace in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType::setType()

Parameters

mixed $type:

File

modules/charts_c3/src/Settings/CThree/ChartType.php, line 18

Class

ChartType

Namespace

Drupal\charts_c3\Settings\CThree

Code

public function setType($type) {
  $this->type = $type;
}