legend.inactiveItems Object

The chart inactive legend items configuration.

Example - configure the chart legend inactive items

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    inactiveItems: {
      labels: {
        background: "green",
        color: "white"
      }
    }
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [3, 4, 5] }
  ]
});
</script>
In this article
Not finding the help you need? Improve this article