<kendo:chart-categoryAxisItem-rangeLabels>

The configuration of the date axis date range labels.

Example

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

Configuration Attributes

background java.lang.String

The background color of the labels. Accepts a valid CSS color string, including hex and rgb.

Example

<kendo:chart-categoryAxisItem-rangeLabels background="background">
</kendo:chart-categoryAxisItem-rangeLabels>

color java.lang.String

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

Example

<kendo:chart-categoryAxisItem-rangeLabels color="color">
</kendo:chart-categoryAxisItem-rangeLabels>

culture java.lang.String

The culture to use when formatting date values. See the globalization overview for more information.

Example

<kendo:chart-categoryAxisItem-rangeLabels culture="culture">
</kendo:chart-categoryAxisItem-rangeLabels>

font java.lang.String

The font style of the labels. Accepts a valid CSS color string, for example "20px 'Courier New'".

Example

<kendo:chart-categoryAxisItem-rangeLabels font="font">
</kendo:chart-categoryAxisItem-rangeLabels>

format java.lang.String

The format used to display the labels. Uses kendo.format.

Example

<kendo:chart-categoryAxisItem-rangeLabels format="format">
</kendo:chart-categoryAxisItem-rangeLabels>

margin float

The margin of the labels. A numeric value will set all margins. Further configuration is available via kendo:chart-categoryAxisItem-rangeLabels-margin.

Example

<kendo:chart-categoryAxisItem-rangeLabels margin="margin">
</kendo:chart-categoryAxisItem-rangeLabels>

mirror boolean

If set to true the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right.

Example

<kendo:chart-categoryAxisItem-rangeLabels mirror="mirror">
</kendo:chart-categoryAxisItem-rangeLabels>

padding float

The padding of the labels. A numeric value will set all paddings. Further configuration is available via kendo:chart-categoryAxisItem-rangeLabels-padding.

Example

<kendo:chart-categoryAxisItem-rangeLabels padding="padding">
</kendo:chart-categoryAxisItem-rangeLabels>

rotation java.lang.Object

The rotation angle of the date range labels. By default the labels are not rotated. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels. Further configuration is available via kendo:chart-categoryAxisItem-rangeLabels-rotation.

Example

<kendo:chart-categoryAxisItem-rangeLabels rotation="rotation">
</kendo:chart-categoryAxisItem-rangeLabels>

template java.lang.String

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label; culture - the default culture (if set) on the label; text - The default label text.; index - The index of the label. or count - The total number of rendered labels..

Example

<kendo:chart-categoryAxisItem-rangeLabels template="template">
</kendo:chart-categoryAxisItem-rangeLabels>

visible boolean

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

<kendo:chart-categoryAxisItem-rangeLabels visible="visible">
</kendo:chart-categoryAxisItem-rangeLabels>

visual java.lang.String

A function that can be used to create a custom visual for the date range labels. The available argument fields are: createVisual - a function that can be used to get the default visual.; culture - the default culture (if set) on the label; dataItem - the data item, in case a field has been specified; format - the default format of the label; options - the label options.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; text - the label text. or value - the category value.

Example

<kendo:chart-categoryAxisItem-rangeLabels visual="visual">
</kendo:chart-categoryAxisItem-rangeLabels>

Configuration JSP Tags

kendo:chart-categoryAxisItem-rangeLabels-border

The border of the labels.

More documentation is available at kendo:chart-categoryAxisItem-rangeLabels-border.

Example

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

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.

More documentation is available at kendo:chart-categoryAxisItem-rangeLabels-dateFormats.

Example

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

kendo:chart-categoryAxisItem-rangeLabels-margin

The margin of the labels. A numeric value will set all margins.

More documentation is available at kendo:chart-categoryAxisItem-rangeLabels-margin.

Example

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

kendo:chart-categoryAxisItem-rangeLabels-padding

The padding of the labels. A numeric value will set all paddings.

More documentation is available at kendo:chart-categoryAxisItem-rangeLabels-padding.

Example

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

kendo:chart-categoryAxisItem-rangeLabels-rotation

The rotation angle of the date range labels. By default the labels are not rotated. Can be set to "auto" if the axis is horizontal in which case the labels will be rotated only if the slot size is not sufficient for the entire labels.

More documentation is available at kendo:chart-categoryAxisItem-rangeLabels-rotation.

Example

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

Event Attributes

template String

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label; culture - the default culture (if set) on the label; text - The default label text.; index - The index of the label. or count - The total number of rendered labels..

Example

<kendo:chart-categoryAxisItem-rangeLabels template="handle_template">
</kendo:chart-categoryAxisItem-rangeLabels>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

visual String

A function that can be used to create a custom visual for the date range labels. The available argument fields are: createVisual - a function that can be used to get the default visual.; culture - the default culture (if set) on the label; dataItem - the data item, in case a field has been specified; format - the default format of the label; options - the label options.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; text - the label text. or value - the category value.

Example

<kendo:chart-categoryAxisItem-rangeLabels visual="handle_visual">
</kendo:chart-categoryAxisItem-rangeLabels>
<script>
    function handle_visual(e) {
        // Code to handle the visual event.
    }
</script>

Event Tags

kendo:chart-categoryAxisItem-rangeLabels-template

The template which renders the labels.The fields which can be used in the template are: value - the category value; dataItem - the data item, in case a field has been specified. If the category does not have a corresponding item in the data then an empty object will be passed.; format - the default format of the label; culture - the default culture (if set) on the label; text - The default label text.; index - The index of the label. or count - The total number of rendered labels..

Example

<kendo:chart-categoryAxisItem-rangeLabels>
    <kendo:chart-categoryAxisItem-rangeLabels-template>
        <script>
            function(e) {
                // Code to handle the template event.
            }
        </script>
    </kendo:chart-categoryAxisItem-rangeLabels-template>
</kendo:chart-categoryAxisItem-rangeLabels>

kendo:chart-categoryAxisItem-rangeLabels-visual

A function that can be used to create a custom visual for the date range labels. The available argument fields are: createVisual - a function that can be used to get the default visual.; culture - the default culture (if set) on the label; dataItem - the data item, in case a field has been specified; format - the default format of the label; options - the label options.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; sender - the chart instance (may be undefined).; text - the label text. or value - the category value.

Example

<kendo:chart-categoryAxisItem-rangeLabels>
    <kendo:chart-categoryAxisItem-rangeLabels-visual>
        <script>
            function(e) {
                // Code to handle the visual event.
            }
        </script>
    </kendo:chart-categoryAxisItem-rangeLabels-visual>
</kendo:chart-categoryAxisItem-rangeLabels>
In this article
Not finding the help you need?