You are here

public function ChartjsChart::setScaleColorRanges in Charts 8.3

Sets scale color options.

Parameters

mixed $scaleColorRanges: Scale color options.

File

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

Class

ChartjsChart
Class ChartjsChart.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

public function setScaleColorRanges($scaleColorRanges) {
  $this->scaleColorRanges = $scaleColorRanges;
}