alignContentString(default: "start")

Specifies the alignment of the content.

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, 300);
var layout = new diagram.Layout(rect, {
    alignContent: "center",
    orientation: "horizontal",
    wrap: true
});
console.log("Content aligned to center");
</script>
In this article
alignContent
Not finding the help you need?
Contact Support