shapeDefaults.yNumber(default: 0)

Defines the y-coordinate of shapes added to the Diagram.

Example

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