\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

A PHP class representing the minorTicks setting of SparklineCategoryAxisItem.

Methods

color

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

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value string

Example

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

size

The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value float

Example

<?php
$minorTicks = new \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks();
$minorTicks->size(1);
?>

skip

The skip of the category axis minor ticks.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value float

Example

<?php
$minorTicks = new \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks();
$minorTicks->skip(1);
?>

step

The step of the category axis minor ticks.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value float

Example

<?php
$minorTicks = new \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks();
$minorTicks->step(1);
?>

visible

The visibility of the minor ticks.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value boolean

Example

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

width

The width of the minor ticks in pixels.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks

Parameters

$value float

Example

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