<kendo:stockChart-seriesItem-legendItem>

The configuration of the Chart legend item for this series.

Example

<kendo:stockChart-seriesItem>
    <kendo:stockChart-seriesItem-legendItem></kendo:stockChart-seriesItem-legendItem>
</kendo:stockChart-seriesItem>

Configuration Attributes

cursor java.lang.String

The cursor style of the legend item.

Example

<kendo:stockChart-seriesItem-legendItem cursor="cursor">
</kendo:stockChart-seriesItem-legendItem>

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-seriesItem-legendItem type="type">
</kendo:stockChart-seriesItem-legendItem>

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.; createVisual—A function for getting the default visual.; series—The item series. or pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series..

Example

<kendo:stockChart-seriesItem-legendItem visual="visual">
</kendo:stockChart-seriesItem-legendItem>

Configuration JSP Tags

kendo:stockChart-seriesItem-legendItem-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-seriesItem-legendItem-area.

Example

<kendo:stockChart-seriesItem-legendItem>
    <kendo:stockChart-seriesItem-legendItem-area></kendo:stockChart-seriesItem-legendItem-area>
</kendo:stockChart-seriesItem-legendItem>

kendo:stockChart-seriesItem-legendItem-highlight

The highlight configuration of the legend item.

More documentation is available at kendo:stockChart-seriesItem-legendItem-highlight.

Example

<kendo:stockChart-seriesItem-legendItem>
    <kendo:stockChart-seriesItem-legendItem-highlight></kendo:stockChart-seriesItem-legendItem-highlight>
</kendo:stockChart-seriesItem-legendItem>

kendo:stockChart-seriesItem-legendItem-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-seriesItem-legendItem-line.

Example

<kendo:stockChart-seriesItem-legendItem>
    <kendo:stockChart-seriesItem-legendItem-line></kendo:stockChart-seriesItem-legendItem-line>
</kendo:stockChart-seriesItem-legendItem>

kendo:stockChart-seriesItem-legendItem-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-seriesItem-legendItem-markers.

Example

<kendo:stockChart-seriesItem-legendItem>
    <kendo:stockChart-seriesItem-legendItem-markers></kendo:stockChart-seriesItem-legendItem-markers>
</kendo:stockChart-seriesItem-legendItem>

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.; createVisual—A function for getting the default visual.; series—The item series. or pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series..

Example

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

Event Tags

kendo:stockChart-seriesItem-legendItem-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.; createVisual—A function for getting the default visual.; series—The item series. or pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series..

Example

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