This is a migrated thread and some comments may be shown as answers.

RadDiagram shape rotation angle clientside using javascript

2 Answers 87 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Ibraheem
Top achievements
Rank 2
Ibraheem asked on 30 Sep 2015, 03:04 PM

I need a clientside equivalent to rotate a shape in raddiagram. Till now, I'm using the following serverside code :

diagramShape.RotationSettings.Angle = 45;

So, are there an alternative javascript to do the job.

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Ibraheem
Top achievements
Rank 2
answered on 01 Oct 2015, 01:52 PM

Any update for the above post ?

We are waiting for 2​2 hours with no answer till now.

Is that acceptable behavior for Telerik support team ??

0
Vessy
Telerik team
answered on 05 Oct 2015, 03:02 PM
Hi Ibraheem,

You can change the rotation angle of a shape on the client by using the Kendo UI Diagram Widget's rotate() method, e.g:
$find("RadDiagram1").get_kendoWidget().getShapeById("DiagramShape1").rotate(45)

You may also find useful the information in the following help article: Getting the RadDiagram Client-side Object

As for the response time - please note, that threads are handled according to the client's license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

Regards,
Vessy
Telerik
Tags
Diagram
Asked by
Ibraheem
Top achievements
Rank 2
Answers by
Ibraheem
Top achievements
Rank 2
Vessy
Telerik team
Share this question
or