minWidth Number (default: 20)

Defines the minimum width the shape should have, i.e. it cannot be resized to a value smaller than the given one.

Example - specifying a minimum width 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",
    minWidth: 60
In this article