categoryAxis.rangeLabels Object
The configuration of the date axis date range labels.
Example - configure the category axis date range labels
<div id="chart"></div>
<script>
$("#chart").kendoChart({
categoryAxis: {
type: "date",
justified: true,
baseUnit: "days",
rangeLabels: {
format: "d",
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>
Related Properties
- categoryAxis.rangeLabels.background
- categoryAxis.rangeLabels.border
- categoryAxis.rangeLabels.border.color
- categoryAxis.rangeLabels.border.dashType
- categoryAxis.rangeLabels.border.width
- categoryAxis.rangeLabels.color
- categoryAxis.rangeLabels.culture
- categoryAxis.rangeLabels.dateFormats
- categoryAxis.rangeLabels.dateFormats.days
- categoryAxis.rangeLabels.dateFormats.hours
- categoryAxis.rangeLabels.dateFormats.months
- categoryAxis.rangeLabels.dateFormats.weeks
- categoryAxis.rangeLabels.dateFormats.years
- categoryAxis.rangeLabels.font
- categoryAxis.rangeLabels.format
- categoryAxis.rangeLabels.margin
- categoryAxis.rangeLabels.margin.bottom
- categoryAxis.rangeLabels.margin.left
- categoryAxis.rangeLabels.margin.right
- categoryAxis.rangeLabels.margin.top
- categoryAxis.rangeLabels.mirror
- categoryAxis.rangeLabels.padding
- categoryAxis.rangeLabels.padding.bottom
- categoryAxis.rangeLabels.padding.left
- categoryAxis.rangeLabels.padding.right
- categoryAxis.rangeLabels.padding.top
- categoryAxis.rangeLabels.rotation
- categoryAxis.rangeLabels.rotation.align
- categoryAxis.rangeLabels.rotation.angle
- categoryAxis.rangeLabels.template
- categoryAxis.rangeLabels.visible
- categoryAxis.rangeLabels.visual