categoryAxis.maxDivisionsNumber

The maximum number of ticks and labels to display.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    categoryAxis: {
        maxDivisions: 5
    },
    series: [{
        type: "line",
         data: [
            { date: new Date(2023, 0, 1), value: 10 },
            { date: new Date(2023, 0, 2), value: 20 },
            { date: new Date(2023, 0, 3), value: 25 },
            { date: new Date(2023, 0, 4), value: 35 },
            { date: new Date(2023, 0, 5), value: 45 },
            { date: new Date(2023, 0, 6), value: 35 },
            { date: new Date(2023, 0, 7), value: 15 },
            { date: new Date(2023, 0, 8), value: 60 },
           
        ],
    }]
});
</script>
In this article
categoryAxis.maxDivisions
Not finding the help you need?
Contact Support