justifyContentString(default: "start")

Specifies how should the content be justified.

Possible values are:

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

Example

<div id="diagram"></div>
<script>
var diagram = kendo.dataviz.diagram;
var rect = new diagram.Rect(0, 0, 400, 250);
var layout = new diagram.Layout(rect, {
    justifyContent: "center",
    orientation: "horizontal",
    spacing: 20
});
console.log("Content justified to center");
</script>
In this article
justifyContent
Not finding the help you need?
Contact Support