You are here

public function ChartjsChart::setData in Charts 8.3

Set Data.

Parameters

mixed $data: Data.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsChart.php, line 83

Class

ChartjsChart
Class ChartjsChart.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setData($data) {
  $this->data = $data;
}