class ChartDimensions in Charts 8
Same name and namespace in other branches
- 8.3 modules/charts_c3/src/Settings/CThree/ChartDimensions.php \Drupal\charts_c3\Settings\CThree\ChartDimensions
Hierarchy
- class \Drupal\charts_c3\Settings\CThree\ChartDimensions implements \Drupal\charts_c3\Settings\CThree\JsonSerializable
Expanded class hierarchy of ChartDimensions
File
- modules/
charts_c3/ src/ Settings/ CThree/ ChartDimensions.php, line 5
Namespace
Drupal\charts_c3\Settings\CThreeView source
class ChartDimensions implements \JsonSerializable {
private $ratio;
/**
* @return mixed
*/
public function getRatio() {
return $this->ratio;
}
/**
* @param mixed $ratio
*/
public function setRatio($ratio) {
$this->ratio = $ratio;
}
/**
* @return array
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartDimensions:: |
private | property | ||
ChartDimensions:: |
public | function | ||
ChartDimensions:: |
public | function | ||
ChartDimensions:: |
public | function |