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

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

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Jan", "Feb", "Mar"],
    plotBands: [{
      from: 0.5,
      to: 1.5,
      color: "lightblue",
      label: {
        text: "Band Label",
        padding: 8
      }
    }]
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The bottom padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Jan", "Feb", "Mar"],
    plotBands: [{
      from: 0.5,
      to: 1.5,
      color: "lightblue",
      label: {
        text: "Band Label",
        padding: {
          bottom: 5
        }
      }
    }]
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The left padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Jan", "Feb", "Mar"],
    plotBands: [{
      from: 0.5,
      to: 1.5,
      color: "lightblue",
      label: {
        text: "Band Label",
        padding: {
          left: 5
        }
      }
    }]
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The right padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Jan", "Feb", "Mar"],
    plotBands: [{
      from: 0.5,
      to: 1.5,
      color: "lightblue",
      label: {
        text: "Band Label",
        padding: {
          right: 5
        }
      }
    }]
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The top padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  categoryAxis: {
    categories: ["Jan", "Feb", "Mar"],
    plotBands: [{
      from: 0.5,
      to: 1.5,
      color: "lightblue",
      label: {
        text: "Band Label",
        padding: {
          top: 5
        }
      }
    }]
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>