New to Kendo UI for jQuery? Start a free 30-day trial

Panes.padding

configuration

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

panes.padding

Number|Object

Default: 0

<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" }
  ],
  panes: [
    { name: "top-pane", padding: 10 },
    { name: "bottom-pane", padding: 10 }
  ]
});
</script>

The bottom padding of the chart panes.

Default: 0

<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" }
  ],
  panes: [
    {
      name: "top-pane",
      padding: {
        bottom: 10
      }
    },
    {
      name: "bottom-pane",
      padding: {
        bottom: 10
      }
    }
  ]
});
</script>

The left padding of the chart panes.

Default: 0

<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" }
  ],
  panes: [
    {
      name: "top-pane",
      padding: {
        left: 10
      }
    },
    {
      name: "bottom-pane",
      padding: {
        left: 10
      }
    }
  ]
});
</script>

The right padding of the chart panes.

Default: 0

<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" }
  ],
  panes: [
    {
      name: "top-pane",
      padding: {
        right: 10
      }
    },
    {
      name: "bottom-pane",
      padding: {
        right: 10
      }
    }
  ]
});
</script>

The top padding of the chart panes.

Default: 0

<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" }
  ],
  panes: [
    {
      name: "top-pane",
      padding: {
        top: 10
      }
    },
    {
      name: "bottom-pane",
      padding: {
        top: 10
      }
    }
  ]
});
</script>