<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

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.

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>

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, 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 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.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

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

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, 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 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.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

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-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, 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 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.; sender - the chart instance (may be undefined).; options - the label options. or createVisual - a function that can be used to get the default visual..

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy