\Kendo\Dataviz\UI\ChartCategoryAxisItemLine
A PHP class representing the line setting of ChartCategoryAxisItem.
Methods
color
The color of the lines. Accepts a valid CSS color string, including hex and rgb.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemLine
Parameters
$value string
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLine();
$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\ChartCategoryAxisItemLine
Parameters
$value string
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLine();
$line->dashType('value');
?>
visible
If set to true the chart will display the category axis lines. By default the category axis lines are visible.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemLine
Parameters
$value boolean
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLine();
$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\ChartCategoryAxisItemLine
Parameters
$value float
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLine();
$line->width(1);
?>