categoryAxis.maxDivisions Number
The maximum number of ticks, labels and grid lines to display. Applicable for date category axis. You can combine this property with a bigger value of the maxDateGroups property to increase the number of rendered data points in the Chart without drawing too many labels, ticks, and grid lines.
Example
<div id="chart"></div>
<script>
function createChart() {
$("#chart").kendoChart({
dataSource: {
transport: {
read: {
url: "https://demos.telerik.com/kendo-ui/service/StockData",
dataType: "jsonp"
}
},
schema: {
model: {
fields: {
Date: {
type: "date"
}
}
}
}
},
seriesDefaults: {
type: "line"
},
series: [{
field: "Open",
categoryField: "Date"
}],
categoryAxis: {
maxDivisions: 20,
labels: {
rotation: -45
}
},
tooltip: {
visible: true,
format: "C2"
},
pannable: true,
zoomable: true
});
}
$(document).ready(createChart);
</script>