<kendo:chart-seriesDefaults-labels>
The chart series label configuration.
Example
<kendo:chart-seriesDefaults>
<kendo:chart-seriesDefaults-labels></kendo:chart-seriesDefaults-labels>
</kendo:chart-seriesDefaults>
Configuration Attributes
ariaTemplate java.lang.String
The template which renders the ARIA label for the series labels.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for 100% stacked charts.; series - the data series or value - the point value. Can be a number or object containing each bound field..
Example
<kendo:chart-seriesDefaults-labels ariaTemplate="ariaTemplate">
</kendo:chart-seriesDefaults-labels>
background java.lang.String
The background color of the labels. Accepts a valid CSS color string, including hex and rgb.
Example
<kendo:chart-seriesDefaults-labels background="background">
</kendo:chart-seriesDefaults-labels>
color java.lang.String
The text color of the labels. Accepts a valid CSS color string, including hex and rgb.
Example
<kendo:chart-seriesDefaults-labels color="color">
</kendo:chart-seriesDefaults-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-seriesDefaults-labels font="font">
</kendo:chart-seriesDefaults-labels>
format java.lang.String
The format of the labels. Uses kendo.format.
Example
<kendo:chart-seriesDefaults-labels format="format">
</kendo:chart-seriesDefaults-labels>
margin float
The margin of the labels. A numeric value will set all margins. Further configuration is available via kendo:chart-seriesDefaults-labels-margin.
Example
<kendo:chart-seriesDefaults-labels margin="margin">
</kendo:chart-seriesDefaults-labels>
padding float
The padding of the labels. A numeric value will set all margins. Further configuration is available via kendo:chart-seriesDefaults-labels-padding.
Example
<kendo:chart-seriesDefaults-labels padding="padding">
</kendo:chart-seriesDefaults-labels>
position java.lang.String
The position of the labels. "above" - the label is positioned at the top of the marker. Applicable for series that render points, incl. bubble.; "below" - the label is positioned at the bottom of the marker. Applicable for series that render points, incl. bubble.; "center" - the label is positioned at the point center. Applicable for bar, column, donut, pie, funnel, pyramid, radarColumn and waterfall series.; "insideBase" - the label is positioned inside, near the base of the bar. Applicable for bar, column and waterfall series.; "insideEnd" - the label is positioned inside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series.; "left" - the label is positioned to the left of the marker. Applicable for series that render points, incl. bubble.; "outsideEnd" - the label is positioned outside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.; "right" - the label is positioned to the right of the marker. Applicable for series that render points, incl. bubble.; "top" - the label is positioned at the top of the segment. Applicable for funnel and pyramid series.; "bottom" - the label is positioned at the bottom of the segment. Applicable for funnel and pyramid series. or "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. Applicable for rangeArea and verticalRangeArea series..
Example
<kendo:chart-seriesDefaults-labels position="position">
</kendo:chart-seriesDefaults-labels>
rotation java.lang.Object
The rotation angle of the labels. By default, the labels are not rotated.
Example
<kendo:chart-seriesDefaults-labels rotation="rotation">
</kendo:chart-seriesDefaults-labels>
template java.lang.String
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.; series - the data series; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Example
<kendo:chart-seriesDefaults-labels template="template">
</kendo:chart-seriesDefaults-labels>
visible boolean
If set to true the chart will display the series labels. By default chart series labels are not displayed.
Example
<kendo:chart-seriesDefaults-labels visible="visible">
</kendo:chart-seriesDefaults-labels>
visual java.lang.String
A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
Example
<kendo:chart-seriesDefaults-labels visual="visual">
</kendo:chart-seriesDefaults-labels>
Configuration JSP Tags
kendo:chart-seriesDefaults-labels-border
The border of the labels.
More documentation is available at kendo:chart-seriesDefaults-labels-border.
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-border></kendo:chart-seriesDefaults-labels-border>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-from
The chart series from label configuration.
More documentation is available at kendo:chart-seriesDefaults-labels-from.
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-from></kendo:chart-seriesDefaults-labels-from>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-margin
The margin of the labels. A numeric value will set all margins.
More documentation is available at kendo:chart-seriesDefaults-labels-margin.
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-margin></kendo:chart-seriesDefaults-labels-margin>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-padding
The padding of the labels. A numeric value will set all margins.
More documentation is available at kendo:chart-seriesDefaults-labels-padding.
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-padding></kendo:chart-seriesDefaults-labels-padding>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-to
The chart series to label configuration.
More documentation is available at kendo:chart-seriesDefaults-labels-to.
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-to></kendo:chart-seriesDefaults-labels-to>
</kendo:chart-seriesDefaults-labels>
Event Attributes
ariaTemplate String
The template which renders the ARIA label for the series labels.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for 100% stacked charts.; series - the data series or value - the point value. Can be a number or object containing each bound field..
Example
<kendo:chart-seriesDefaults-labels ariaTemplate="handle_ariaTemplate">
</kendo:chart-seriesDefaults-labels>
<script>
function handle_ariaTemplate(e) {
// Code to handle the ariaTemplate event.
}
</script>
position String
The position of the labels. "above" - the label is positioned at the top of the marker. Applicable for series that render points, incl. bubble.; "below" - the label is positioned at the bottom of the marker. Applicable for series that render points, incl. bubble.; "center" - the label is positioned at the point center. Applicable for bar, column, donut, pie, funnel, pyramid, radarColumn and waterfall series.; "insideBase" - the label is positioned inside, near the base of the bar. Applicable for bar, column and waterfall series.; "insideEnd" - the label is positioned inside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series.; "left" - the label is positioned to the left of the marker. Applicable for series that render points, incl. bubble.; "outsideEnd" - the label is positioned outside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.; "right" - the label is positioned to the right of the marker. Applicable for series that render points, incl. bubble.; "top" - the label is positioned at the top of the segment. Applicable for funnel and pyramid series.; "bottom" - the label is positioned at the bottom of the segment. Applicable for funnel and pyramid series. or "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. Applicable for rangeArea and verticalRangeArea series..
Example
<kendo:chart-seriesDefaults-labels position="handle_position">
</kendo:chart-seriesDefaults-labels>
<script>
function handle_position(e) {
// Code to handle the position event.
}
</script>
template String
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.; series - the data series; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Example
<kendo:chart-seriesDefaults-labels template="handle_template">
</kendo:chart-seriesDefaults-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: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
Example
<kendo:chart-seriesDefaults-labels visual="handle_visual">
</kendo:chart-seriesDefaults-labels>
<script>
function handle_visual(e) {
// Code to handle the visual event.
}
</script>
Event Tags
kendo:chart-seriesDefaults-labels-ariaTemplate
The template which renders the ARIA label for the series labels.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for 100% stacked charts.; series - the data series or value - the point value. Can be a number or object containing each bound field..
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-ariaTemplate>
<script>
function(e) {
// Code to handle the ariaTemplate event.
}
</script>
</kendo:chart-seriesDefaults-labels-ariaTemplate>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-position
The position of the labels. "above" - the label is positioned at the top of the marker. Applicable for series that render points, incl. bubble.; "below" - the label is positioned at the bottom of the marker. Applicable for series that render points, incl. bubble.; "center" - the label is positioned at the point center. Applicable for bar, column, donut, pie, funnel, pyramid, radarColumn and waterfall series.; "insideBase" - the label is positioned inside, near the base of the bar. Applicable for bar, column and waterfall series.; "insideEnd" - the label is positioned inside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series.; "left" - the label is positioned to the left of the marker. Applicable for series that render points, incl. bubble.; "outsideEnd" - the label is positioned outside, near the end of the point. Applicable for bar, column, donut, pie, radarColumn and waterfall series. Not applicable for stacked series.; "right" - the label is positioned to the right of the marker. Applicable for series that render points, incl. bubble.; "top" - the label is positioned at the top of the segment. Applicable for funnel and pyramid series.; "bottom" - the label is positioned at the bottom of the segment. Applicable for funnel and pyramid series. or "auto" - the from and to labels area positioned at the top/bottom(rangeArea series) or left/right(verticalRangeArea series) so that they are outside the filled area. Applicable for rangeArea and verticalRangeArea series..
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-position>
<script>
function(e) {
// Code to handle the position event.
}
</script>
</kendo:chart-seriesDefaults-labels-position>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-template
The template which renders the chart series label.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.; series - the data series; value - the point value. Can be a number or object containing each bound field.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-template>
<script>
function(e) {
// Code to handle the template event.
}
</script>
</kendo:chart-seriesDefaults-labels-template>
</kendo:chart-seriesDefaults-labels>
kendo:chart-seriesDefaults-labels-visual
A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text.; rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the label options.; createVisual - a function that can be used to get the default visual.; sender - the chart instance (may be undefined).; value - The point value.; category - The point category.; stackValue - The cumulative point value on the stack. Available only for the stackable series.; dataItem - The point dataItem.; series - The point series.; percentage - The point value that is represented as a percentage value. Available only for the Donut, Pie, and 100% stacked charts.; runningTotal - The sum of point values from the last runningTotal summary point onwards. Available for the Waterfall series. or total - The sum of all previous series values. Available for the Waterfall series..
Example
<kendo:chart-seriesDefaults-labels>
<kendo:chart-seriesDefaults-labels-visual>
<script>
function(e) {
// Code to handle the visual event.
}
</script>
</kendo:chart-seriesDefaults-labels-visual>
</kendo:chart-seriesDefaults-labels>