shapes.rotation.angleNumber(default: 0)
The rotation angle.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [{
id: "1",
x: 100,
y: 100,
content: { text: "Rotated Shape" },
rotation: {
angle: 45
}
}]
});
</script>
In this article