ChartLegendItemStyle.php in Charts 8.3
File
modules/charts_highcharts/src/Settings/Highcharts/ChartLegendItemStyle.php
View source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class ChartLegendItemStyle implements \JsonSerializable {
private $color;
private $cursor = 'pointer';
private $fontSize = '12px';
private $fontWeight = 'bold';
private $textOverflow;
public function getColor() {
return $this->color;
}
public function setColor($color) {
$this->color = $color;
}
public function getCursor() {
return $this->cursor;
}
public function setCursor($cursor) {
$this->cursor = $cursor;
}
public function getFontSize() {
return $this->fontSize;
}
public function setFontSize($fontSize) {
$this->fontSize = $fontSize;
}
public function getFontWeight() {
return $this->fontWeight;
}
public function setFontWeight($fontWeight) {
$this->fontWeight = $fontWeight;
}
public function getTextOverflow() {
return $this->textOverflow;
}
public function setTextOverflow($textOverflow) {
$this->textOverflow = $textOverflow;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}