series.legendItem.line Object

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

Example - override the color of line legend items

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [{
    type: "line",
    name: "Series A",
    data: [1, 2, 3]
  }, {
    type: "line",
    name: "Series B",
    data: [4, 5, 6],
    legendItem: {
      line: {
        color: "#777",
      }
    }
  }]
});
</script>
In this article