\Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder

A PHP class representing the border setting of ChartSeriesItemLabels.

Methods

color

The color of the border. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder

Parameters

$value string |\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

<?php
$border = new \Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder();
$border->color(new \Kendo\JavaScriptFunction('function() { }'));
?>

dashType

The dash type of the border.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\ChartSeriesItemLabelsBorder

Parameters

$value string |\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

<?php
$border = new \Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder();
$border->dashType(new \Kendo\JavaScriptFunction('function() { }'));
?>

width

The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder

Parameters

$value float |\Kendo\JavaScriptFunction

Example - using float

<?php
$border = new \Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder();
$border->width(1);
?>

Example - using \Kendo\JavaScriptFunction

<?php
$border = new \Kendo\Dataviz\UI\ChartSeriesItemLabelsBorder();
$border->width(new \Kendo\JavaScriptFunction('function() { }'));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy