You are here

public function ChartjsOptions::setScales in Charts 8.3

Sets stacking chart option.

Parameters

mixed $scales: Scales option.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsOptions.php, line 56

Class

ChartjsOptions
Class ChartjsOptions.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setScales($scales) {
  $this->scales = $scales;
}