seriesDefaults.legendItem.area Object
Sets the configuration of the legend items of type area
.
By default, all series except line and scatter use this legend type.
Example - sets the opacity of area
legend items
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "area",
name: "Series A",
data: [1, 2, 3]
}, {
type: "area",
name: "Series B",
data: [4, 5, 6]
}],
seriesDefaults: {
legendItem: {
area: {
opacity: 0.1
}
}
}
});
</script>