class Xaxis in Charts 8
Same name and namespace in other branches
- 8.3 modules/charts_highcharts/src/Settings/Highcharts/Xaxis.php \Drupal\charts_highcharts\Settings\Highcharts\Xaxis
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\Xaxis implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of Xaxis
1 file declares its use of Xaxis
- charts_highcharts.module in modules/
charts_highcharts/ charts_highcharts.module - Charts module integration with Highcharts library.
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ Xaxis.php, line 5
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class Xaxis implements \JsonSerializable {
private $categories = array();
private $title;
private $labels;
/**
* @return array
*/
public function getCategories() {
return $this->categories;
}
/**
* @param array $categories
*/
public function setCategories($categories) {
$this->categories = $categories;
}
/**
* @return mixed
*/
public function getTitle() {
return $this->title;
}
/**
* @param mixed $title
*/
public function setTitle($title) {
$this->title = $title;
}
/**
* @return mixed
*/
public function getLabels() {
return $this->labels;
}
/**
* @param mixed $labels
*/
public function setLabels($labels) {
$this->labels = $labels;
}
/**
* @return array
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Xaxis:: |
private | property | ||
Xaxis:: |
private | property | ||
Xaxis:: |
private | property | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function | ||
Xaxis:: |
public | function |