Xaxis.php in Charts 8
File
modules/charts_highcharts/src/Settings/Highcharts/Xaxis.php
View source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class Xaxis implements \JsonSerializable {
private $categories = array();
private $title;
private $labels;
public function getCategories() {
return $this->categories;
}
public function setCategories($categories) {
$this->categories = $categories;
}
public function getTitle() {
return $this->title;
}
public function setTitle($title) {
$this->title = $title;
}
public function getLabels() {
return $this->labels;
}
public function setLabels($labels) {
$this->labels = $labels;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}