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>
  var Shape = kendo.dataviz.diagram.Shape;
  var diagram = $("#diagram").data("kendoDiagram");

  var shape = new Shape({
    id: 1,
    x: 20,
    y: 20,
    fill: "#c0f0fc",
    height: 60
In this article
Not finding the help you need? Improve this article