\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

A PHP class representing the highlight setting of StockChartNavigatorSeriesItem.

Methods

border

The border of highlighted points. The color is computed automatically from the base point color.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightBorder

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$border = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightBorder();
$color = 'value';
$border->color($color);
$highlight->border($border);
?>

Example - using array

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$color = 'value';
$highlight->border(array('color' => $color));
?>

color

The highlight color.** Available only for pie series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

Parameters

$value string

Example

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$highlight->color('value');
?>

line

Line options for highlighted points. The color is computed automatically from the base point color.** Available only for candlestick series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightLine

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$line = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlightLine();
$color = 'value';
$line->color($color);
$highlight->line($line);
?>

Example - using array

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$color = 'value';
$highlight->line(array('color' => $color));
?>

opacity

The opacity of the highlighted points.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

Parameters

$value float

Example

<?php
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$highlight->opacity(1);
?>

visible

A value indicating if the series points should be highlighted.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

Parameters

$value boolean

Example

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