center Object

The center of the circle.

x Number

The X position of the circle center.

y Number

The Y position of the circle center.

Example - setting the center of the Circle

<div id="diagram"></div>
  var diagram = kendo.dataviz.diagram;
  function getVisual(data) {
    var g = new diagram.Group({
      autoSize: true
    var r = new diagram.Circle({
      center: {x: 40, y: 40},
      radius: 40

    return g;

    layout: "tree",
    shapes: [{
      id: "1",
      content: {
        text: "Monday"
      visual: getVisual
In this article
Not finding the help you need? Improve this article