<div id="diagram"></div>
<script>
var point = new kendo.dataviz.diagram.Point(150, 100);
console.log("Initial x:", point.x);
point.x = 250;
console.log("Modified x:", point.x);
$("#diagram").kendoDiagram({
shapes: [{
id: "shape1",
x: point.x,
y: point.y,
width: 60,
height: 60,
type: "rectangle"
}]
});
</script>