\Kendo\Dataviz\UI\ChartLegendItemHighlight
A PHP class representing the highlight setting of ChartLegendItem.
Methods
markers
The markers configuration of the legend item when it is hovered.
Returns
\Kendo\Dataviz\UI\ChartLegendItemHighlight
Parameters
$value \Kendo\Dataviz\UI\ChartLegendItemHighlightMarkers|array
Example - using \Kendo\Dataviz\UI\ChartLegendItemHighlightMarkers
<?php
$highlight = new \Kendo\Dataviz\UI\ChartLegendItemHighlight();
$markers = new \Kendo\Dataviz\UI\ChartLegendItemHighlightMarkers();
$background = 'value';
$markers->background($background);
$highlight->markers($markers);
?>
Example - using array
<?php
$highlight = new \Kendo\Dataviz\UI\ChartLegendItemHighlight();
$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\ChartLegendItemHighlight
Parameters
$value boolean
Example
<?php
$highlight = new \Kendo\Dataviz\UI\ChartLegendItemHighlight();
$highlight->visible(true);
?>