categoryAxis.rangeLabels.visible Boolean
(default: false)
If set to true
, the Chart displays the category axis date range labels.
By default, the category axis date range labels are not visible.
Example - hide the category axis date range labels
<div id="chart"></div>
<script>
$("#chart").kendoChart({
categoryAxis: {
type: "date",
justified: true,
baseUnit: "days",
rangeLabels: {
visible: true
},
labels: {
format: "M-d"
}
},
series: [{
type: 'line',
field: 'value',
categoryField: 'date',
data: [{
value: 1,
date: new Date("2012/01/01")
}, {
value: 2,
date: new Date("2012/01/04")
}, {
value: 3,
date: new Date("2012/01/07")
}]
}]
});
</script>