categoryAxis.minObject

The first date displayed on the axis. By default, the minimum date is the same as the first category. This is often used in combination with themaxandroundToBaseUnitconfiguration options to set up a fixed date range.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    categoryAxis: {
        type: "date",
        min: new Date("2022/12/01"),
        categories: [
            new Date("2023/01/01"),
            new Date("2023/02/01"),
            new Date("2023/03/01")
        ]
    },
    series: [{
        data: [10, 15, 8]
    }]
});
</script>
In this article
categoryAxis.min
Not finding the help you need?
Contact Support