You are here

public function ChartjsStacking::setStacking in Charts 8.3

Sets stacking chart option.

Parameters

mixed $stacked: Stacking option.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsStacking.php, line 35

Class

ChartjsStacking
Class ChartjsStacking.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setStacking($stacked) {
  $this->stacked = $stacked;
}