heightNumber

Sets the height of the rectangle.

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "rect1",
        type: "rectangle",
        x: 50,
        y: 50,
        height: 100,
        width: 150
    }]
});

var diagram = $("#diagram").getKendoDiagram();
var shape = diagram.getShapeById("rect1");
var rect = new kendo.dataviz.diagram.Rect(50, 50, 150, 100);
console.log("Rectangle height:", rect.height);
</script>
In this article
height
Not finding the help you need?
Contact Support