class ChartLegendItemStyle in Charts 8.3
Chart Legend.
Hierarchy
- class \Drupal\charts_highcharts\Settings\Highcharts\ChartLegendItemStyle implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
Expanded class hierarchy of ChartLegendItemStyle
1 file declares its use of ChartLegendItemStyle
- Highcharts.php in modules/
charts_highcharts/ src/ Plugin/ chart/ Highcharts.php
File
- modules/
charts_highcharts/ src/ Settings/ Highcharts/ ChartLegendItemStyle.php, line 8
Namespace
Drupal\charts_highcharts\Settings\HighchartsView source
class ChartLegendItemStyle implements \JsonSerializable {
private $color;
private $cursor = 'pointer';
private $fontSize = '12px';
private $fontWeight = 'bold';
private $textOverflow;
/**
* @return string
*/
public function getColor() {
return $this->color;
}
/**
* @param string $color
*/
public function setColor($color) {
$this->color = $color;
}
/**
* @return string
*/
public function getCursor() {
return $this->cursor;
}
/**
* @param string $cursor
*/
public function setCursor($cursor) {
$this->cursor = $cursor;
}
/**
* @return string
*/
public function getFontSize() {
return $this->fontSize;
}
/**
* @param string $fontSize
*/
public function setFontSize($fontSize) {
$this->fontSize = $fontSize;
}
/**
* @return string
*/
public function getFontWeight() {
return $this->fontWeight;
}
/**
* @param string $fontWeight
*/
public function setFontWeight($fontWeight) {
$this->fontWeight = $fontWeight;
}
/**
* @return mixed
*/
public function getTextOverflow() {
return $this->textOverflow;
}
/**
* @param mixed $textOverflow
*/
public function setTextOverflow($textOverflow) {
$this->textOverflow = $textOverflow;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartLegendItemStyle:: |
private | property | ||
ChartLegendItemStyle:: |
private | property | ||
ChartLegendItemStyle:: |
private | property | ||
ChartLegendItemStyle:: |
private | property | ||
ChartLegendItemStyle:: |
private | property | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | Json Serialize. | |
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function | ||
ChartLegendItemStyle:: |
public | function |