class ChartAxis in Charts 8.3
Same name in this branch
- 8.3 modules/charts_billboard/src/Settings/Billboard/ChartAxis.php \Drupal\charts_billboard\Settings\Billboard\ChartAxis
- 8.3 modules/charts_c3/src/Settings/CThree/ChartAxis.php \Drupal\charts_c3\Settings\CThree\ChartAxis
Same name and namespace in other branches
- 8 modules/charts_c3/src/Settings/CThree/ChartAxis.php \Drupal\charts_c3\Settings\CThree\ChartAxis
Chart Axis.
Hierarchy
- class \Drupal\charts_c3\Settings\CThree\ChartAxis implements \Drupal\charts_c3\Settings\CThree\JsonSerializable
Expanded class hierarchy of ChartAxis
File
- modules/
charts_c3/ src/ Settings/ CThree/ ChartAxis.php, line 8
Namespace
Drupal\charts_c3\Settings\CThreeView source
class ChartAxis implements \JsonSerializable {
private $rotated = FALSE;
private $x = [
'type' => 'category',
];
/**
* Get Rotated.
*
* @return mixed
* Rotated.
*/
public function getRotated() {
return $this->rotated;
}
/**
* Set Rotated.
*
* @param mixed $rotated
* Rotated.
*/
public function setRotated($rotated) {
$this->rotated = $rotated;
}
/**
* Get X.
*
* @return mixed $x
* Data for X Axis.
*/
public function getX() {
return $this->x;
}
/**
* Set X.
*
* @param mixed $x
* Data for X Axis.
*/
public function setX($x) {
$this->x = $x;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartAxis:: |
private | property | ||
ChartAxis:: |
private | property | ||
ChartAxis:: |
public | function | Get Rotated. | |
ChartAxis:: |
public | function | Get X. | |
ChartAxis:: |
public | function | Json Serialize. | |
ChartAxis:: |
public | function | Set Rotated. | |
ChartAxis:: |
public | function | Set X. |