\Kendo\Dataviz\UI\ChartTitleBorder

A PHP class representing the border setting of ChartTitle.

Methods

color

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

Returns

\Kendo\Dataviz\UI\ChartTitleBorder

Parameters

$value string

Example

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

dashType

The dash type of the chart title 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\ChartTitleBorder

Parameters

$value string

Example

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

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\ChartTitleBorder

Parameters

$value float

Example

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