class ChartLabel in Charts 8.3
Same name in this branch
- 8.3 modules/charts_billboard/src/Settings/Billboard/ChartLabel.php \Drupal\charts_billboard\Settings\Billboard\ChartLabel
- 8.3 modules/charts_c3/src/Settings/CThree/ChartLabel.php \Drupal\charts_c3\Settings\CThree\ChartLabel
- 8.3 modules/charts_highcharts/src/Settings/Highcharts/ChartLabel.php \Drupal\charts_highcharts\Settings\Highcharts\ChartLabel
Same name and namespace in other branches
- 8 modules/charts_highcharts/src/Settings/Highcharts/ChartLabel.php \Drupal\charts_highcharts\Settings\Highcharts\ChartLabel
Chart Label.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\ChartLabel implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of ChartLabel
1 file declares its use of ChartLabel
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ ChartLabel.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class ChartLabel implements \JsonSerializable {
private $rotation;
/**
* Get Rotation.
*
* @return mixed
* Rotation.
*/
public function getRotation() {
return $this->rotation;
}
/**
* Set Rotation.
*
* @param mixed $rotation
* Rotation.
*/
public function setRotation($rotation) {
$this->rotation = (int) $rotation;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartLabel:: |
private | property | ||
ChartLabel:: |
public | function | Get Rotation. | |
ChartLabel:: |
public | function | Json Serialize. | |
ChartLabel:: |
public | function | Set Rotation. |