<kendo:chart-categoryAxisItem-labels-dateFormats>

The format used to display 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.labels.format option will override the date formats.See also: kendo.format.

Example

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

Configuration Attributes

days java.lang.String

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

Example

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

hours java.lang.String

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

Example

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

months java.lang.String

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

Example

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

weeks java.lang.String

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

Example

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

years java.lang.String

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

Example

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