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 the min and roundToBaseUnit configuration options to set up a fixed date range.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
categoryAxis: {
max: new Date(2023, 11, 31)
},
series: [{
type: "line",
data: [
{ date: new Date(2023, 0, 1), value: 10 },
{ date: new Date(2023, 5, 1), value: 20 },
{ date: new Date(2023, 11, 1), value: 15 }
],
field: "value",
categoryField: "date"
}]
});
</script>