class ChartTitle in Charts 8.3
Same name in this branch
- 8.3 modules/charts_billboard/src/Settings/Billboard/ChartTitle.php \Drupal\charts_billboard\Settings\Billboard\ChartTitle
- 8.3 modules/charts_c3/src/Settings/CThree/ChartTitle.php \Drupal\charts_c3\Settings\CThree\ChartTitle
- 8.3 modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle
Same name and namespace in other branches
- 8 modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle
Chart Title.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of ChartTitle
1 file declares its use of ChartTitle
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ ChartTitle.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class ChartTitle implements \JsonSerializable {
private $text;
private $y;
private $verticalAlign;
/**
* Get Text.
*
* @return mixed
* Text.
*/
public function getText() {
return $this->text;
}
/**
* Set Text.
*
* @param mixed $text
* Text.
*/
public function setText($text) {
$this->text = $text;
}
/**
* Get VerticalOffset.
*
* @return integer
* VerticalOffset.
*/
public function getVerticalOffset() {
return $this->y;
}
/**
* Set VerticalOffset.
*
* @param integer
* VerticalOffset.
*/
public function setVerticalOffset($y) {
$this->y = $y;
}
/**
* Get Vertical Align.
*
* @return string
* Vertical Align.
*/
public function getVerticalAlign() {
return $this->verticalAlign;
}
/**
* Set Vertical Align.
*
* @param string $verticalAlign
* Vertical Align.
*/
public function setVerticalAlign($verticalAlign) {
$this->verticalAlign = $verticalAlign;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartTitle:: |
private | property | 2 | |
ChartTitle:: |
private | property | ||
ChartTitle:: |
private | property | ||
ChartTitle:: |
public | function | Get Text. | 2 |
ChartTitle:: |
public | function | Get Vertical Align. | |
ChartTitle:: |
public | function | Get VerticalOffset. | |
ChartTitle:: |
public | function | Json Serialize. | 2 |
ChartTitle:: |
public | function | Set Text. | 2 |
ChartTitle:: |
public | function | Set Vertical Align. | |
ChartTitle:: |
public | function | Set VerticalOffset. |