navigator.categoryAxis.maxDateGroupsNumber(default: 10)
The maximum number of groups (categories) to display when categoryAxis.baseUnit is set to "fit" or categoryAxis.baseUnitStep is set to "auto".
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
navigator: {
categoryAxis: {
maxDateGroups: 5
}
},
series: [{
type: "line",
field: "value",
categoryField: "date",
data: [
{ value: 1, date: new Date(2012, 1, 1) },
{ value: 2, date: new Date(2012, 1, 2) },
{ value: 3, date: new Date(2012, 1, 3) },
{ value: 4, date: new Date(2012, 1, 4) },
{ value: 5, date: new Date(2012, 1, 5) },
{ value: 6, date: new Date(2012, 1, 6) }
]
}]
});
</script>
In this article