height Number

The height of the text block.

Example - setting height to the text

<div id="diagram"></div>
<script>
  var diagram = kendo.dataviz.diagram;
  function getVisual(data) {
    var g = new diagram.Group();

    g.append(new diagram.Circle({
      width: 60,
      height: 60,
      fill: { color: "#add8e6" }
    }));

    g.append(new diagram.TextBlock({
      text: data.id,
      x: 15,
      y: 15,
      height: 30,
      width: 30
    }));

    return g;
  };

  $("#diagram").kendoDiagram({
    layout: "tree",
    shapes: [{
      id: 123,
      visual: getVisual
    }]
  });
</script>
In this article