rotation Object

The shape rotation settings.

Example - creating a rotated shape

<div id="diagram"></div>
  var Shape = kendo.dataviz.diagram.Shape;
  var diagram = $("#diagram").data("kendoDiagram");

  var shape = new Shape({
    id: 1,
    x: 40,
    y: 40,
    fill: "#c0f0fc",
    rotation: {
      angle: 45

rotation.angle Number (default: 0)

The rotation angle.

In this article
Not finding the help you need? Improve this article