You are here

public function ChartjsOptions::setLegend in Charts 8.3

Parameters

mixed $legend:

File

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

Class

ChartjsOptions
Class ChartjsOptions.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setLegend($legend) {
  $this->legend = $legend;
}