alignItemsString(default: "start")

Specifies the alignment of the items based on each other.

Possible values are:

  • "start"
  • "center"
  • "end"

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, {
    alignItems: "end",
    orientation: "vertical",
    spacing: 10
});
console.log("Items aligned to end");
</script>
In this article
alignItems
Not finding the help you need?
Contact Support