categoryAxis.maxObject
The last date displayed on the axis. By default, the minimum date is the same as the last category. This is often used in combination with theminandroundToBaseUnitconfiguration options to set up a fixed date range.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
categoryAxis: {
type: "date",
max: new Date("2023/03/31"),
categories: [
new Date("2023/01/01"),
new Date("2023/02/01"),
new Date("2023/03/01")
]
},
series: [{
data: [10, 15, 8]
}]
});
</script>