xNumber
The x coordinate of the point.
Example
<div id="diagram"></div>
<script>
// Create a point with x coordinate of 100
var point = new kendo.dataviz.diagram.Point(100, 50);
console.log("X coordinate:", point.x); // Output: 100
// Use the point in a diagram
$("#diagram").kendoDiagram({
shapes: [{
id: "shape1",
x: point.x,
y: point.y,
width: 100,
height: 50,
type: "rectangle"
}]
});
</script>