spacingNumber(default: 0)

Specifies the distance between the elements.

Example

<div id="diagram"></div>
<script>
var diagram = kendo.dataviz.diagram;
var rect = new diagram.Rect(0, 0, 300, 200);
var layout = new diagram.Layout(rect, {
    orientation: "vertical",
    spacing: 15
});
console.log("Element spacing set to 15px");
</script>
In this article
spacing
Not finding the help you need?
Contact Support