\Kendo\Dataviz\UI\ChartSeriesItemHighlightLine

A PHP class representing the line setting of ChartSeriesItemHighlight.

Methods

color

The line color. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemHighlightLine

Parameters

$value string

Example

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

dashType

The dash type of the highlight line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemHighlightLine

Parameters

$value string

Example

<?php
$line = new \Kendo\Dataviz\UI\ChartSeriesItemHighlightLine();
$line->dashType('value');
?>

opacity

The opacity of the line. By default the border is opaque.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemHighlightLine

Parameters

$value float

Example

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

width

The width of the line.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemHighlightLine

Parameters

$value float

Example

<?php
$line = new \Kendo\Dataviz\UI\ChartSeriesItemHighlightLine();
$line->width(1);
?>
In this article
Not finding the help you need?