You are here

public function PlotOptions::setPlotOptions in Charts 8.3

Set Plot Options.

Parameters

mixed $plotOptions: Plot Options.

File

modules/charts_highcharts/src/Settings/Highcharts/PlotOptions.php, line 26

Class

PlotOptions
Plot Options.

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

public function setPlotOptions($typeOptions, $plotOptions) {
  $type = $typeOptions;
  $this->{$type} = $plotOptions;
}