\Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight

A PHP class representing the highlight setting of StockChartSeriesItemLegendItem.

Methods

markers

The markers configuration of the legend item when it is hovered.

Returns

\Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight

Parameters

$value \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlightMarkers|array

Example - using \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlightMarkers

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight();
$markers = new \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlightMarkers();
$background = 'value';
$markers->background($background);
$highlight->markers($markers);
?>

Example - using array

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight();
$background = 'value';
$highlight->markers(array('background' => $background));
?>

visible

If set to false, the hover effect of the legend item is disabled.

Returns

\Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight

Parameters

$value boolean

Example

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartSeriesItemLegendItemHighlight();
$highlight->visible(true);
?>
In this article
Not finding the help you need?