\Kendo\Dataviz\UI\ChartValueAxisItemLine

A PHP class representing the line setting of ChartValueAxisItem.

Methods

color

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

Returns

\Kendo\Dataviz\UI\ChartValueAxisItemLine

Parameters

$value string

Example

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

dashType

The dash type of the 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\ChartValueAxisItemLine

Parameters

$value string

Example

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

visible

If set to true the chart will display the value axis lines. By default the value axis lines are visible.

Returns

\Kendo\Dataviz\UI\ChartValueAxisItemLine

Parameters

$value boolean

Example

<?php
$line = new \Kendo\Dataviz\UI\ChartValueAxisItemLine();
$line->visible(true);
?>

width

The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.

Returns

\Kendo\Dataviz\UI\ChartValueAxisItemLine

Parameters

$value float

Example

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