categoryAxis.roundToBaseUnitBoolean
(default: true)
If set to true
the chart will round the first and last date to the nearest base unit.
The roundToBaseUnit
option will be ignored if series.type is set to "bar", "column", "boxPlot", "ohlc", "candlestick" or "waterfall".
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
categoryAxis: {
categories: [
new Date("2012/01/15"),
new Date("2012/02/15"),
new Date("2012/03/15")
],
roundToBaseUnit: false
},
series: [
{ data: [1, 2, 3] }
]
});
</script>
In this article