Edit this page

legend Object

The chart legend configuration options.

Example - configure the chart legend

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    background: "green",
    position: "left",
    labels: {
      font: "20px sans-serif",
      color: "red"
    }
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [3, 4, 5] }
  ]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy