\Kendo\Dataviz\UI\StockChartLegendItem

A PHP class representing the item setting of StockChartLegend.

Methods

cursor

The cursor style of the legend item.

Returns

\Kendo\Dataviz\UI\StockChartLegendItem

Parameters

$value string

Example

<?php
$item = new \Kendo\Dataviz\UI\StockChartLegendItem();
$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. or createVisual - a function that can be used to get the default visual..

Returns

\Kendo\Dataviz\UI\StockChartLegendItem

Parameters

$value \Kendo\JavaScriptFunction

Example

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