New to Kendo UI for jQueryStart a free 30-day trial

Options

constructor parameters

The configuration options of the layout.

options

Object
<div id="diagram"></div>
<script>
var diagram = kendo.dataviz.diagram;
var rect = new diagram.Rect(0, 0, 300, 200);
var options = {
    orientation: "horizontal",
    alignContent: "center",
    alignItems: "center",
    spacing: 15,
    wrap: true
};
var layout = new diagram.Layout(rect, options);
console.log("Layout configured with options:", options);
</script>
Not finding the help you need?
Contact Support