y Number (default: 0)

Defines the y-coordinate of the shape when added to the diagram.

Example - specifying shape vertical position

<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");

  var shape = new Shape({
    id: 1,
    y: 200,
    fill: "#c0f0fc",
    type: "circle"
  });
  diagram.addShape(shape);
</script>
In this article