class ChartArea in Charts 8
Same name and namespace in other branches
- 8.3 modules/charts_google/src/Settings/Google/ChartArea.php \Drupal\charts_google\Settings\Google\ChartArea
Hierarchy
- class \Drupal\charts_google\Settings\Google\ChartArea implements \Drupal\charts_google\Settings\Google\JsonSerializable
Expanded class hierarchy of ChartArea
1 file declares its use of ChartArea
- charts_google.module in modules/
charts_google/ charts_google.module - Charts module integration with Google Charts library.
File
- modules/
charts_google/ src/ Settings/ Google/ ChartArea.php, line 5
Namespace
Drupal\charts_google\Settings\GoogleView source
class ChartArea implements \JsonSerializable {
private $width;
/**
* @return mixed
*/
public function getWidth() {
return $this->width;
}
/**
* @param mixed $width
*/
public function setWidth($width) {
$this->width = $width;
}
/**
* @return array
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartArea:: |
private | property | ||
ChartArea:: |
public | function | ||
ChartArea:: |
public | function | ||
ChartArea:: |
public | function |