<kendo:stockChart-legend-labels>

Configures the legend labels.

Example

<kendo:stockChart-legend>
    <kendo:stockChart-legend-labels></kendo:stockChart-legend-labels>
</kendo:stockChart-legend>

Configuration Attributes

color java.lang.String

The color of the labels. Any valid CSS color string will work here, including hex and rgb.

Example

<kendo:stockChart-legend-labels color="color">
</kendo:stockChart-legend-labels>

font java.lang.String

The font style of the labels.

Example

<kendo:stockChart-legend-labels font="font">
</kendo:stockChart-legend-labels>

template java.lang.String

The template which renders the labels.The fields which can be used in the template are: text - the text the legend item.; series - the data series.; value - the point value. (only for donut and pie charts); percentage - the point value represented as a percentage value. Available only for 100% stacked charts. or dataItem - the original data item used to construct the point..

Example

<kendo:stockChart-legend-labels template="template">
</kendo:stockChart-legend-labels>
In this article
Not finding the help you need?