Rotate with group elements in raddiagram

2 posts, 0 answers
  1. Trung Lee
    Trung Lee avatar
    5 posts
    Member since:
    Apr 2010

    Posted 27 May 2014 Link to this post

    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 !
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 30 May 2014 Link to this post

    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top