\Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItemArea
A PHP class representing the area setting of StockChartSeriesDefaultsLegendItem.
Methods
background
The background color of the legend item. Accepts a valid CSS color string, including HEX and RGB. Defaults to the series color.
Returns
\Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItemArea
Parameters
$value string
Example
<?php
$area = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItemArea();
$area->background('value');
?>
opacity
The opacity of the legend item. Defaults to the series opacity.
Returns
\Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItemArea
Parameters
$value float
Example
<?php
$area = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItemArea();
$area->opacity(1);
?>