\Kendo\Dataviz\UI\StockChartLegendItemArea

A PHP class representing the area setting of StockChartLegendItem.

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\StockChartLegendItemArea

Parameters

$value string

Example

<?php
$area = new \Kendo\Dataviz\UI\StockChartLegendItemArea();
$area->background('value');
?>

opacity

The opacity of the legend item. Defaults to the series opacity.

Returns

\Kendo\Dataviz\UI\StockChartLegendItemArea

Parameters

$value float

Example

<?php
$area = new \Kendo\Dataviz\UI\StockChartLegendItemArea();
$area->opacity(1);
?>
In this article
Not finding the help you need?