class ChartType in Charts 8.3
Same name in this branch
- 8.3 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType
- 8.3 modules/charts_billboard/src/Settings/Billboard/ChartType.php \Drupal\charts_billboard\Settings\Billboard\ChartType
- 8.3 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType
Same name and namespace in other branches
- 8 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType
Chart Type.
Hierarchy
- class \Drupal\charts_c3\Settings\CThree\ChartType implements \Drupal\charts_c3\Settings\CThree\JsonSerializable
Expanded class hierarchy of ChartType
File
- modules/
charts_c3/ src/ Settings/ CThree/ ChartType.php, line 8
Namespace
Drupal\charts_c3\Settings\CThreeView source
class ChartType implements \JsonSerializable {
private $type;
/**
* Get Type.
*
* @return mixed
* Type.
*/
public function getType() {
return $this->type;
}
/**
* Set Type.
*
* @param mixed $type
* Type.
*/
public function setType($type) {
$this->type = $type;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartType:: |
private | property | ||
ChartType:: |
public | function | Get Type. | |
ChartType:: |
public | function | Json Serialize. | |
ChartType:: |
public | function | Set Type. |