class PlotBands in Charts 8.3
PlotBands for gauge charts.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\PlotBands implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of PlotBands
1 file declares its use of PlotBands
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ PlotBands.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class PlotBands implements \JsonSerializable {
private $from;
private $to;
private $color;
/**
* @return mixed
*/
public function getFrom() {
return $this->from;
}
/**
* @param mixed $from
*/
public function setFrom($from) {
$this->from = $from;
}
/**
* @return mixed
*/
public function getTo() {
return $this->to;
}
/**
* @param mixed $to
*/
public function setTo($to) {
$this->to = $to;
}
/**
* @return string
*/
public function getColor() {
return $this->color;
}
/**
* @param string $color
*/
public function setColor($color) {
$this->color = $color;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PlotBands:: |
private | property | ||
PlotBands:: |
private | property | ||
PlotBands:: |
private | property | ||
PlotBands:: |
public | function | ||
PlotBands:: |
public | function | ||
PlotBands:: |
public | function | ||
PlotBands:: |
public | function | Json Serialize. | |
PlotBands:: |
public | function | ||
PlotBands:: |
public | function | ||
PlotBands:: |
public | function |