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

The padding of the content.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Padded Text",
        padding: 10
      }
    }]
});
</script>

The bottom padding of the content.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Bottom Padded Text",
        padding: { bottom: 15 }
      }
    }]
});
</script>

The left padding of the content.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Left Padded Text",
        padding: { left: 15 }
      }
    }]
});
</script>

The right padding of the content.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Right Padded Text",
        padding: { right: 15 }
      }
    }]
});
</script>

The top padding of the content.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      content: {
        text: "Top Padded Text",
        padding: { top: 15 }
      }
    }]
});
</script>