New to Kendo UI for jQueryStart a free 30-day trial

The relative padding of the content as a percentage of the shape size.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Relative Padded Text",
        relativePadding: 0.1  // 10% of shape size
      }
    }]
});
</script>

The bottom relative padding of the content as a percentage.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Bottom Relative Padded",
        relativePadding: { bottom: 0.15 }  // 15% of shape height
      }
    }]
});
</script>

The left relative padding of the content as a percentage.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Left Relative Padded",
        relativePadding: { left: 0.15 }  // 15% of shape width
      }
    }]
});
</script>

The right relative padding of the content as a percentage.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Right Relative Padded",
        relativePadding: { right: 0.15 }  // 15% of shape width
      }
    }]
});
</script>

The top relative padding of the content as a percentage.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Top Relative Padded",
        relativePadding: { top: 0.15 }  // 15% of shape height
      }
    }]
});
</script>