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_c3\Settings\CThree\ChartLegend implements \Drupal\charts_c3\Settings\CThree\JsonSerializable
Expanded class hierarchy of ChartLegend
File
- modules/
charts_c3/ src/ Settings/ CThree/ ChartLegend.php, line 8
Namespace
Drupal\charts_c3\Settings\CThreeView 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. |