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

YAxis.title.padding

configuration

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

yAxis.title.padding

Number|Object

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  yAxis: [{
    title: {
      text: "Years",
      padding: 20
    }
  }],
  series: [
    { type: "scatter", data: [[1, 2]] }
  ]
});
</script>

The bottom padding of the title.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  yAxis: [{
    title: {
      text: "Years",
      padding: {
        bottom: 20
      }
    }
  }],
  series: [
    { type: "scatter", data: [[1, 2]] }
  ]
});
</script>

The left padding of the title.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  yAxis: [{
    title: {
      text: "Years",
      padding: {
        left: 20
      }
    }
  }],
  series: [
    { type: "scatter", data: [[1, 2]] }
  ]
});
</script>

The right padding of the title.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  yAxis: [{
    title: {
      text: "Years",
      padding: {
        right: 20
      }
    }
  }],
  series: [
    { type: "scatter", data: [[1, 2]] }
  ]
});
</script>

The top padding of the title.

Default: 0

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  yAxis: [{
    title: {
      text: "Years",
      padding: {
        top: 20
      }
    }
  }],
  series: [
    { type: "scatter", data: [[1, 2]] }
  ]
});
</script>