paneDefaults.title.margin Number|Object (default: 5)

The margin of the title. A numeric value will set all margins.

Example - set the default pane title margin as a number

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { data: [1, 2, 3] },
    { data: [1, 2, 3, 4], axis: "bottom" }
  ],
  valueAxis: [
    { pane: "top-pane" },
    { pane: "bottom-pane", name: "bottom" }
  ],
  paneDefaults: {
      title: {
        margin: 10
      }
  },
  panes: [
    { name: "top-pane",
      title: {
        text: "Top"
      }
    },
    { name: "bottom-pane",
      title: {
        text: "Bottom"
      }
    }
  ]
});
</script>
In this article
Not finding the help you need? Improve this article