seriesDefaults.legendItem.typeString

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.
  • "area"—the legend items are rendered as a filled rectangle. This is the default value for area charts.

Example

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        type: "column",
        name: "Series A",
        data: [1, 2, 3]
    }],
    seriesDefaults: {
        legendItem: {
            type: "line"
        }
    }
});
</script>
In this article
seriesDefaults.legendItem.type
Not finding the help you need?
Contact Support