shapeDefaults.center.xNumber

The x-coordinate of the center.

Example

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapeDefaults: {
      type: "circle",
      center: { x: 150, y: 100 },
      radius: 30,
      fill: { color: "orange" }
    },
    shapes: [
      { content: { text: "Centered" } }
    ]
  });
</script>
In this article
shapeDefaults.center.x
Not finding the help you need?
Contact Support