height Number (default: 100)

Defines the height of the shape when added to the diagram.

Example - specifying height for the shape

<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");

  var shape = new Shape({
    id: 1,
    x: 20,
    y: 20,
    fill: "#c0f0fc",
    height: 60
  });
  diagram.addShape(shape);
</script>
In this article