class ChartjsScales in Charts 8.3
Class ChartjsScales.
@package Drupal\charts_chartjs\Settings\Chartjs
Hierarchy
- class \Drupal\charts_chartjs\Settings\Chartjs\ChartjsScales implements \Drupal\charts_chartjs\Settings\Chartjs\JsonSerializable
Expanded class hierarchy of ChartjsScales
1 file declares its use of ChartjsScales
- Chartjs.php in modules/
charts_chartjs/ src/ Plugin/ chart/ Chartjs.php
File
- modules/
charts_chartjs/ src/ Settings/ Chartjs/ ChartjsScales.php, line 10
Namespace
Drupal\charts_chartjs\Settings\ChartjsView source
class ChartjsScales implements \JsonSerializable {
/**
* xAxes array.
*
* @var mixed
*/
private $xAxes;
/**
* yAxes array.
*
* @var mixed
*/
private $yAxes;
/**
* @return mixed
*/
public function getXAxes() {
return $this->xAxes;
}
/**
* @param mixed $xAxes
*/
public function setXAxes($xAxes) {
$this->xAxes = $xAxes;
}
/**
* @return mixed
*/
public function getYAxes() {
return $this->yAxes;
}
/**
* @param mixed $yAxes
*/
public function setYAxes($yAxes) {
$this->yAxes = $yAxes;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartjsScales:: |
private | property | xAxes array. | |
ChartjsScales:: |
private | property | yAxes array. | |
ChartjsScales:: |
public | function | ||
ChartjsScales:: |
public | function | ||
ChartjsScales:: |
public | function | Json Serialize. | |
ChartjsScales:: |
public | function | ||
ChartjsScales:: |
public | function |