New to Kendo UI for jQuery? Start a free 30-day trial

The minor ticks of the axis.

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            size: 5,
            color: "#ff0000",
            width: 2,
            visible: true
        }
    }
});
</script>

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

Default: "black"

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            color: "#0000ff",
            visible: true
        }
    }
});
</script>

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

Default: 3

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            size: 6,
            visible: true
        }
    }
});
</script>

The skip of the category axis minor ticks.

Default: 0

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            skip: 1,
            visible: true
        }
    }
});
</script>

The step of the category axis minor ticks.

Default: 1

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            step: 2,
            visible: true
        }
    }
});
</script>

The visibility of the minor ticks.

Default: false

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            visible: true
        }
    }
});
</script>

The width of the minor ticks in pixels.

Default: 1

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        minorTicks: {
            width: 3,
            visible: true
        }
    }
});
</script>