<kendo:chart-categoryAxisItem-labels>
The axis labels configuration.
Example
<kendo:chart-categoryAxisItem>
<kendo:chart-categoryAxisItem-labels></kendo:chart-categoryAxisItem-labels>
</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-labels background="background">
</kendo:chart-categoryAxisItem-labels>
color java.lang.String
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
Example
<kendo:chart-categoryAxisItem-labels color="color">
</kendo:chart-categoryAxisItem-labels>
culture java.lang.String
The culture to use when formatting date values. See the globalization overview for more information.
Example
<kendo:chart-categoryAxisItem-labels culture="culture">
</kendo:chart-categoryAxisItem-labels>
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-labels font="font">
</kendo:chart-categoryAxisItem-labels>
format java.lang.String
The format used to display the labels. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value.
Example
<kendo:chart-categoryAxisItem-labels format="format">
</kendo:chart-categoryAxisItem-labels>
margin float
The margin of the labels. A numeric value will set all margins. Further configuration is available via kendo:chart-categoryAxisItem-labels-margin.
Example
<kendo:chart-categoryAxisItem-labels margin="margin">
</kendo:chart-categoryAxisItem-labels>
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-labels mirror="mirror">
</kendo:chart-categoryAxisItem-labels>
padding float
The padding of the labels. A numeric value will set all paddings. Further configuration is available via kendo:chart-categoryAxisItem-labels-padding.
Example
<kendo:chart-categoryAxisItem-labels padding="padding">
</kendo:chart-categoryAxisItem-labels>
position java.lang.String
The position of the axis labels. By default, labels are positioned next to the axis. When position is set to end, the labels are placed at the end of the crossing axis— typically, at the top or right end of the Chart unless the crossing axis was reversed. or When position is set to start, the labels are placed at the start of the crossing axis— typically, at the left or bottom end of the Chart unless the crossing axis was reversed..
Example
<kendo:chart-categoryAxisItem-labels position="position">
</kendo:chart-categoryAxisItem-labels>
rotation java.lang.Object
The rotation angle of the 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-labels-rotation.
Example
<kendo:chart-categoryAxisItem-labels rotation="rotation">
</kendo:chart-categoryAxisItem-labels>
skip float
The number of labels to skip. By default no labels are skipped.
Example
<kendo:chart-categoryAxisItem-labels skip="skip">
</kendo:chart-categoryAxisItem-labels>
step float
The label rendering step - render every n-th label. By default every label is rendered.
Example
<kendo:chart-categoryAxisItem-labels step="step">
</kendo:chart-categoryAxisItem-labels>
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; index - the 0-based index of the current label or count - the total number of labels on the axis.
Example
<kendo:chart-categoryAxisItem-labels template="template">
</kendo:chart-categoryAxisItem-labels>
visible boolean
If set to true the chart will display the category axis labels. By default the category axis labels are visible.
Example
<kendo:chart-categoryAxisItem-labels visible="visible">
</kendo:chart-categoryAxisItem-labels>
visual java.lang.String
A function that can be used to create a custom visual for the 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-labels visual="visual">
</kendo:chart-categoryAxisItem-labels>
Configuration JSP Tags
kendo:chart-categoryAxisItem-labels-border
The border of the labels.
More documentation is available at kendo:chart-categoryAxisItem-labels-border.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-border></kendo:chart-categoryAxisItem-labels-border>
</kendo:chart-categoryAxisItem-labels>
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.
More documentation is available at kendo:chart-categoryAxisItem-labels-dateFormats.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-dateFormats></kendo:chart-categoryAxisItem-labels-dateFormats>
</kendo:chart-categoryAxisItem-labels>
kendo:chart-categoryAxisItem-labels-margin
The margin of the labels. A numeric value will set all margins.
More documentation is available at kendo:chart-categoryAxisItem-labels-margin.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-margin></kendo:chart-categoryAxisItem-labels-margin>
</kendo:chart-categoryAxisItem-labels>
kendo:chart-categoryAxisItem-labels-padding
The padding of the labels. A numeric value will set all paddings.
More documentation is available at kendo:chart-categoryAxisItem-labels-padding.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-padding></kendo:chart-categoryAxisItem-labels-padding>
</kendo:chart-categoryAxisItem-labels>
kendo:chart-categoryAxisItem-labels-rotation
The rotation angle of the 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-labels-rotation.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-rotation></kendo:chart-categoryAxisItem-labels-rotation>
</kendo:chart-categoryAxisItem-labels>
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; index - the 0-based index of the current label or count - the total number of labels on the axis.
Example
<kendo:chart-categoryAxisItem-labels template="handle_template">
</kendo:chart-categoryAxisItem-labels>
<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 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-labels visual="handle_visual">
</kendo:chart-categoryAxisItem-labels>
<script>
function handle_visual(e) {
// Code to handle the visual event.
}
</script>
Event Tags
kendo:chart-categoryAxisItem-labels-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; index - the 0-based index of the current label or count - the total number of labels on the axis.
Example
<kendo:chart-categoryAxisItem-labels>
<kendo:chart-categoryAxisItem-labels-template>
<script>
function(e) {
// Code to handle the template event.
}
</script>
</kendo:chart-categoryAxisItem-labels-template>
</kendo:chart-categoryAxisItem-labels>
kendo:chart-categoryAxisItem-labels-visual
A function that can be used to create a custom visual for the 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-labels>
<kendo:chart-categoryAxisItem-labels-visual>
<script>
function(e) {
// Code to handle the visual event.
}
</script>
</kendo:chart-categoryAxisItem-labels-visual>
</kendo:chart-categoryAxisItem-labels>