legend.height Number

The legend height when the legend.orientation is set to "vertical".

Example - set the chart legend height for custom positioned legend

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    position: "custom",
    orientation: "vertical",
    height: 50
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [3, 4, 5] },
    { name: "Series 3", data: [6, 7, 8] }
  ]
});
</script>

Example - set the chart legend height for legend with predefined position

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    position: "left",
    height: 50
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [3, 4, 5] },
    { name: "Series 3", data: [6, 7, 8] }
  ]
});
</script>
In this article
Not finding the help you need?