You are here

public function ChartjsData::setLabels in Charts 8.3

Set Labels property.

Parameters

mixed $labels: Labels.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsData.php, line 45

Class

ChartjsData
Class ChartjsData.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setLabels($labels) {
  $this->labels = $labels;
}