<kendo:chart-categoryAxisItem-rangeLabels-dateFormats>

The format used to display date range labels for date category axis. The {0} placeholder represents the category value.The chart will choose the appropriate format for the current categoryAxis.baseUnit. Setting the categoryAxis.rangeLabels.format option will override the date formats.See also: kendo.format.

Example

<kendo:chart-categoryAxisItem-rangeLabels>
    <kendo:chart-categoryAxisItem-rangeLabels-dateFormats></kendo:chart-categoryAxisItem-rangeLabels-dateFormats>
</kendo:chart-categoryAxisItem-rangeLabels>

Configuration Attributes

days java.lang.String

The format used when categoryAxis.baseUnit is set to "days".

Example

<kendo:chart-categoryAxisItem-rangeLabels-dateFormats days="days">
</kendo:chart-categoryAxisItem-rangeLabels-dateFormats>

hours java.lang.String

The format used when categoryAxis.baseUnit is set to "hours".

Example

<kendo:chart-categoryAxisItem-rangeLabels-dateFormats hours="hours">
</kendo:chart-categoryAxisItem-rangeLabels-dateFormats>

months java.lang.String

The format used when categoryAxis.baseUnit is set to "months".

Example

<kendo:chart-categoryAxisItem-rangeLabels-dateFormats months="months">
</kendo:chart-categoryAxisItem-rangeLabels-dateFormats>

weeks java.lang.String

The format used when categoryAxis.baseUnit is set to "weeks".

Example

<kendo:chart-categoryAxisItem-rangeLabels-dateFormats weeks="weeks">
</kendo:chart-categoryAxisItem-rangeLabels-dateFormats>

years java.lang.String

The format used when categoryAxis.baseUnit is set to "years".

Example

<kendo:chart-categoryAxisItem-rangeLabels-dateFormats years="years">
</kendo:chart-categoryAxisItem-rangeLabels-dateFormats>
In this article
Not finding the help you need?