Edit this page

legend.spacing Number

The spacing between the labels in pixels when the legend.orientation is "horizontal".

Example - set the chart legend spacing

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  legend: {
    position: "bottom",
    spacing: 100
  },
  series: [
    { name: "Series 1", data: [1, 2, 3] },
    { name: "Series 2", data: [3, 4, 5] },
    { name: "Series 3", data: [6, 7, 8] }
  ]
});
</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