yNumber

The y coordinate of the point.

Example

<div id="diagram"></div>
<script>
// Create a point with y coordinate of 200
var point = new kendo.dataviz.diagram.Point(75, 200);
console.log("Y coordinate:", point.y); // Output: 200

// Use the point to position a shape vertically
$("#diagram").kendoDiagram({
    shapes: [{
        id: "shape1",
        x: point.x,
        y: point.y, // Positioned at y=200
        width: 80,
        height: 40,
        type: "circle"
    }]
});
</script>
In this article
y
Not finding the help you need?
Contact Support