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({
    series: [{
        data: [1, 2, 3]
    }],
    yAxis: {
        plotBands: [{
            from: 1,
            to: 2,
            label: {
                text: "Target Range",
                padding: 5
            }
        }]
    }
});
</script>

The bottom padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        data: [1, 2, 3]
    }],
    yAxis: {
        plotBands: [{
            from: 1,
            to: 2,
            label: {
                text: "Target Range",
                padding: {
                    bottom: 5
                }
            }
        }]
    }
});
</script>

The left padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        data: [1, 2, 3]
    }],
    yAxis: {
        plotBands: [{
            from: 1,
            to: 2,
            label: {
                text: "Target Range",
                padding: {
                    left: 5
                }
            }
        }]
    }
});
</script>

The right padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        data: [1, 2, 3]
    }],
    yAxis: {
        plotBands: [{
            from: 1,
            to: 2,
            label: {
                text: "Target Range",
                padding: {
                    right: 5
                }
            }
        }]
    }
});
</script>

The top padding of the label.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        data: [1, 2, 3]
    }],
    yAxis: {
        plotBands: [{
            from: 1,
            to: 2,
            label: {
                text: "Target Range",
                padding: {
                    top: 5
                }
            }
        }]
    }
});
</script>