Xaxis.php in Charts 8.3
File
modules/charts_highcharts/src/Settings/Highcharts/Xaxis.php
View source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class Xaxis implements \JsonSerializable {
private $categories = [];
private $title;
private $labels;
private $tickmarkPlacement;
private $min;
private $max;
private $tickInterval;
private $lineWidth = 1;
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 getTickmarkPlacement() {
return $this->tickmarkPlacement;
}
public function setTickmarkPlacement($tickmarkPlacement) {
$this->tickmarkPlacement = $tickmarkPlacement;
}
public function getMin() {
return $this->min;
}
public function setMin($min) {
$this->min = $min;
}
public function getMax() {
return $this->max;
}
public function setMax($max) {
$this->max = $max;
}
public function getTickInterval() {
return $this->tickInterval;
}
public function setTickInterval($tickInterval) {
$this->tickInterval = $tickInterval;
}
public function getLineWidth() {
return $this->lineWidth;
}
public function setLineWidth($lineWidth) {
$this->lineWidth = $lineWidth;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}