public function ChartjsData::setDatasets in Charts 8.3
Set an object that specifies the datasets.
Parameters
mixed $datasets: Datasets.
File
- modules/
charts_chartjs/ src/ Settings/ Chartjs/ ChartjsData.php, line 65
Class
- ChartjsData
- Class ChartjsData.
Namespace
Drupal\charts_chartjs\Settings\ChartjsCode
public function setDatasets($datasets) {
$this->datasets = $datasets;
}