\Kendo\Dataviz\UI\ChartLegendItem

A PHP class representing the item setting of ChartLegend.

Methods

cursor

The cursor style of the legend item.

Returns

\Kendo\Dataviz\UI\ChartLegendItem

Parameters

$value string

Example

<?php
$item = new \Kendo\Dataviz\UI\ChartLegendItem();
$item->cursor('value');
?>

visual

A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options.; createVisual - a function that can be used to get the default visual.; series - the item series. or pointIndex - the index of the point in the series. Available for pie, donut, pyramid and funnel series..

Returns

\Kendo\Dataviz\UI\ChartLegendItem

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$item = new \Kendo\Dataviz\UI\ChartLegendItem();
$item->visual(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?