<kendo:stockChart-legend>

The chart legend configuration options.

Example

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

Configuration Attributes

background java.lang.String

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

Example

<kendo:stockChart-legend background="background">
</kendo:stockChart-legend>

margin java.lang.Object

The margin of the legend.

Example

<kendo:stockChart-legend margin="margin">
</kendo:stockChart-legend>

offsetX float

The X offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels to the right of it's initial position. A negative value will move the legend to the left of the current position.

Example

<kendo:stockChart-legend offsetX="offsetX">
</kendo:stockChart-legend>

offsetY float

The Y offset from its position. The offset is relative to the current position of the legend. For instance, a value of 20 will move the legend 20 pixels down from it's initial position. A negative value will move the legend upwards from the current position.

Example

<kendo:stockChart-legend offsetY="offsetY">
</kendo:stockChart-legend>

padding java.lang.Object

The padding of the legend.

Example

<kendo:stockChart-legend padding="padding">
</kendo:stockChart-legend>

position java.lang.String

The positions of the legend.

Example

<kendo:stockChart-legend position="position">
</kendo:stockChart-legend>

reverse boolean

If set to true the legend items will be reversed.Available in versions 2013.3.1306 and later.

Example

<kendo:stockChart-legend reverse="reverse">
</kendo:stockChart-legend>

visible boolean

The visibility of the legend.

Example

<kendo:stockChart-legend visible="visible">
</kendo:stockChart-legend>

Configuration JSP Tags

kendo:stockChart-legend-border

The border of the legend.

More documentation is available at kendo:stockChart-legend-border.

Example

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

kendo:stockChart-legend-inactiveItems

Configures the legend inactive items.

More documentation is available at kendo:stockChart-legend-inactiveItems.

Example

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

kendo:stockChart-legend-item

The configuration of the Chart legend item.To override the marker configuration of individual series, use the series.legendItem settings of the series.

More documentation is available at kendo:stockChart-legend-item.

Example

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

kendo:stockChart-legend-labels

Configures the legend labels.

More documentation is available at kendo:stockChart-legend-labels.

Example

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

kendo:stockChart-legend-title

The legend title configuration options or text.

More documentation is available at kendo:stockChart-legend-title.

Example

<kendo:stockChart-legend>
    <kendo:stockChart-legend-title></kendo:stockChart-legend-title>
</kendo:stockChart-legend>
In this article
Not finding the help you need?