legend.titleObject

The legend title configuration options or text.

Example

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    title: {
      text: "Legend Title",
      align: "center",
      background: "lightgray",
      color: "darkblue",
      font: "18px Arial",
      border: {
        color: "black",
        width: 1,
        dashType: "solid"
      }
    }
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [4, 5, 6] }
  ]
});
</script>
In this article
legend.titleRelated Properties
Not finding the help you need?
Contact Support