width Number
(default: 100)
Defines the width of the shape when added to the diagram.
Example - specifying width 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",
width: 200
});
diagram.addShape(shape);
</script>