class ChartLegend in Charts 8.3
Same name in this branch
- 8.3 modules/charts_billboard/src/Settings/Billboard/ChartLegend.php \Drupal\charts_billboard\Settings\Billboard\ChartLegend
- 8.3 modules/charts_c3/src/Settings/CThree/ChartLegend.php \Drupal\charts_c3\Settings\CThree\ChartLegend
- 8.3 modules/charts_highcharts/src/Settings/Highcharts/ChartLegend.php \Drupal\charts_highcharts\Settings\Highcharts\ChartLegend
Chart Legend.
Hierarchy
- class \Drupal\charts_billboard\Settings\Billboard\ChartLegend implements \Drupal\charts_billboard\Settings\Billboard\JsonSerializable
Expanded class hierarchy of ChartLegend
1 file declares its use of ChartLegend
- Billboard.php in modules/
charts_billboard/ src/ Plugin/ chart/ Billboard.php
File
- modules/
charts_billboard/ src/ Settings/ Billboard/ ChartLegend.php, line 8
Namespace
Drupal\charts_billboard\Settings\BillboardView source
class ChartLegend implements \JsonSerializable {
private $show;
/**
* Get Show.
*
* @return mixed
* Show.
*/
public function getShow() {
return $this->show;
}
/**
* Set Show.
*
* @param mixed $show
* Show.
*/
public function setShow($show) {
$this->show = $show;
}
/**
* Json Serialize.
*
* @return array
* Json Serialize.
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ChartLegend:: |
private | property | ||
ChartLegend:: |
public | function | Get Show. | |
ChartLegend:: |
public | function | Json Serialize. | |
ChartLegend:: |
public | function | Set Show. |