GoogleOptions.php in Charts 8
File
modules/charts_google/src/Settings/Google/GoogleOptions.php
View source
<?php
namespace Drupal\charts_google\Settings\Google;
class GoogleOptions implements \JsonSerializable {
private $title;
private $chartArea;
private $hAxis;
private $vAxis;
private $colors;
public function getTitle() {
return $this->title;
}
public function setTitle($title) {
$this->title = $title;
}
public function getChartArea() {
return $this->chartArea;
}
public function setChartArea($chartArea) {
$this->chartArea = $chartArea;
}
public function getHAxis() {
return $this->hAxis;
}
public function setHAxis($hAxis) {
$this->hAxis = $hAxis;
}
public function getVAxis() {
return $this->vAxis;
}
public function setVAxis($vAxis) {
$this->vAxis = $vAxis;
}
public function getColors() {
return $this->colors;
}
public function setColors($colors) {
$this->colors = $colors;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}