<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.

Example

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

Configuration Attributes

cursor java.lang.String

The cursor style of the legend item.

Example

<kendo:stockChart-legend-item cursor="cursor">
</kendo:stockChart-legend-item>

type java.lang.String

Sets the type of the legend items. The default value is based on the series type.The supported values are: "line"—the legend items are rendered as a line. This is the default value for line charts. or "area"—the legend items are rendered as a filled rectangle. This is the default value for area charts..

Example

<kendo:stockChart-legend-item type="type">
</kendo:stockChart-legend-item>

visual java.lang.String

A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options. or createVisual - a function that can be used to get the default visual..

Example

<kendo:stockChart-legend-item visual="visual">
</kendo:stockChart-legend-item>

Configuration JSP Tags

kendo:stockChart-legend-item-area

Sets the configuration of the legend items of type area. By default, all series except line and scatter use this legend type.

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

Example

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

kendo:stockChart-legend-item-highlight

The highlight configuration of the legend item.

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

Example

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

kendo:stockChart-legend-item-line

Sets the configuration of the legend items of type line. This is the default legend item type for all line and scatter series.

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

Example

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

kendo:stockChart-legend-item-markers

The configuration of the Chart legend item markers.By default, the marker configuration will be the same as the series.markers settings of the displayed series.

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

Example

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

Event Attributes

visual String

A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options. or createVisual - a function that can be used to get the default visual..

Example

<kendo:stockChart-legend-item visual="handle_visual">
</kendo:stockChart-legend-item>
<script>
    function handle_visual(e) {
        // Code to handle the visual event.
    }
</script>

Event Tags

kendo:stockChart-legend-item-visual

A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options. or createVisual - a function that can be used to get the default visual..

Example

<kendo:stockChart-legend-item>
    <kendo:stockChart-legend-item-visual>
        <script>
            function(e) {
                // Code to handle the visual event.
            }
        </script>
    </kendo:stockChart-legend-item-visual>
</kendo:stockChart-legend-item>
In this article
Not finding the help you need?