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

Returns

\Kendo\Dataviz\UI\StockChartLegendItem

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$item = new \Kendo\Dataviz\UI\StockChartLegendItem();
$item->visual(new \Kendo\JavaScriptFunction('function() { }'));
?>