class Tooltip in Charts 8.3
Same name and namespace in other branches
- 8 modules/charts_highcharts/src/Settings/Highcharts/Tooltip.php \Drupal\charts_highcharts\Settings\Highcharts\Tooltip
Tooltip.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\Tooltip implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of Tooltip
1 file declares its use of Tooltip
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ Tooltip.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class Tooltip implements \JsonSerializable {
private $valueSuffix = '';
private $enabled = FALSE;
/**
* Get Value Suffix.
*
* @return string
* Value Suffix.
*/
public function getValueSuffix() {
return $this->valueSuffix;
}
/**
* Set Value Suffix.
*
* @param string $valueSuffix
* Value Suffix.
*/
public function setValueSuffix($valueSuffix) {
$this->valueSuffix = $valueSuffix;
}
/**
* Get Enabled.
*
* @return bool
* Enabled.
*/
public function getEnabled() {
return $this->enabled;
}
/**
* Set Enabled.
*
* @param bool $enabled
* Enabled.
*/
public function setEnabled($enabled) {
$this->enabled = $enabled;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Tooltip:: |
private | property | ||
Tooltip:: |
private | property | ||
Tooltip:: |
public | function | Get Enabled. | |
Tooltip:: |
public | function | Get Value Suffix. | |
Tooltip:: |
public | function | Json Serialize. | |
Tooltip:: |
public | function | Set Enabled. | |
Tooltip:: |
public | function | Set Value Suffix. |