shapes.yNumber(default: 0)

Defines the y-coordinate of the shape when added to the Diagram. Does not take effect if the Diagram is using a pre-defined layout. You can see an example at shapes.x

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 200,  // vertical position
        content: { text: "Shape at Y=200" }
    }]
});
</script>
In this article
shapes.y
Not finding the help you need?
Contact Support