\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
A PHP class representing the majorGridLines setting of StockChartCategoryAxisItem.
Methods
color
The color of the lines. Any valid CSS color string will work here, including hex and rgb.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value string
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->color('value');
?>
dashType
The dash type of the grid lines.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value string
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->dashType('value');
?>
skip
The skip of the category axis major grid lines.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value float
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->skip(1);
?>
step
The step of the category axis major grid lines.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value float
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->step(1);
?>
visible
The visibility of the lines.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value boolean
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->visible(true);
?>
width
The width of the lines.
Returns
\Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines
Parameters
$value float
Example
<?php
$majorGridLines = new \Kendo\Dataviz\UI\StockChartCategoryAxisItemMajorGridLines();
$majorGridLines->width(1);
?>