paneDefaults.padding Number|Object (default: 0)

The padding of the panes. A numeric value will set all paddings.

Example - set the default pane padding 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: {
    padding: 10
  },
  panes: [
    { name: "top-pane" },
    { name: "bottom-pane" }
  ]
});
</script>
In this article
Not finding the help you need? Improve this article