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

Rotate with group elements in raddiagram

1 Answer 75 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Trung Lee
Top achievements
Rank 2
Trung Lee asked on 27 May 2014, 06:46 PM
Hi Team Telerik,

I have some issue regarding raddiagram with wpf.

1. I have 2 picture attached as : "grouprotate45.jpg" and "groupnotrotate.jpg"
 - It's rotate normal when i rotate 1 element in raddiram. 
 - But my issue when i group many elements and then i rotate them. The group not rotate but it's only rotate per element in and it's not correct..

2. I have picture as "idplacementcorrect.png" 
 - How to draw an id of button and it's always place in bottom right of button when i rotate it it's rotate too as same in picture. i can draw button as same my picture with code but i don't know how to place it as correct position when element rotate.


Thank you so much !

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 30 May 2014, 11:55 AM
Hello,

I can see that you are using outdated version of our binaries. I tried to reproduce the reported behavior in our QSF with our latest official release and it seems that the code works as expected. Could you please upgrade your binaries and test the same scenario on your side?

Regarding your second requirement, I suppose that you created the little rectangle in the ContentTemplate of the RadDiagramShape. I can tell that because the RadDiagram applies rotate transformation to the rotated shape. This means the content of the rotated shape will be rotated as one part and this is the designed and expected behavior. Unfortunately, there is no way to achieve the required behavior out of the box.

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Diagram
Asked by
Trung Lee
Top achievements
Rank 2
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or