\Kendo\Dataviz\UI\ChartSeriesItemLegendItemArea

A PHP class representing the area setting of ChartSeriesItemLegendItem.

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

Parameters

$value string

Example

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

opacity

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

Returns

\Kendo\Dataviz\UI\ChartSeriesItemLegendItemArea

Parameters

$value float

Example

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