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

Shapes.center

configuration

The center point of the shape.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      id: "1",
      center: { x: 150, y: 100 },
      content: { text: "Centered Shape" }
    }]
});
</script>

The x-coordinate of the shape center.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      id: "1",
      center: { x: 200 },
      content: { text: "Shape" }
    }]
});
</script>

The y-coordinate of the shape center.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
      id: "1",
      center: { y: 150 },
      content: { text: "Shape" }
    }]
});
</script>