shapes.minWidthNumber(default: 20)

Defines the minimum width the shape should have, that is, it cannot be resized to a value smaller than the given one. See example at shapes.minHeight.

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: { text: "Shape 1" },
        minWidth: 150,
        width: 100  // will be enforced to minWidth
    }]
});
</script>
In this article
shapes.minWidth
Not finding the help you need?
Contact Support