class PlotOptions in Charts 8.3
Same name and namespace in other branches
- 8 modules/charts_highcharts/src/Settings/Highcharts/PlotOptions.php \Drupal\charts_highcharts\Settings\Highcharts\PlotOptions
Plot Options.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\PlotOptions implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of PlotOptions
1 file declares its use of PlotOptions
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ PlotOptions.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class PlotOptions implements \JsonSerializable {
/**
* Get Plot Options.
*
* @return mixed
* Plot Options.
*/
public function getPlotOptions() {
return $this->{$type};
}
/**
* Set Plot Options.
*
* @param mixed $plotOptions
* Plot Options.
*/
public function setPlotOptions($typeOptions, $plotOptions) {
$type = $typeOptions;
$this->{$type} = $plotOptions;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PlotOptions:: |
public | function | Get Plot Options. | |
PlotOptions:: |
public | function | Json Serialize. | |
PlotOptions:: |
public | function | Set Plot Options. |