Marker orientation

2 posts, 0 answers
  1. Chen-song
    Chen-song avatar
    4 posts
    Member since:
    Jan 2014

    Posted 25 May 2015 Link to this post

    In linear gauges, is there a way to control marker orientation? By default, triangular markers point to the left. Is there a way to make it point to the right or up/down? This seems a simple thing, but it's hard to find any reference to it in the documentation.

    Thank you for any information.

  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 27 May 2015 Link to this post

    Hi Chen-song,

    The linear scale expose an attached property that can control the rotation of the marker but, the property is used only to determine if the marker is used in a vertical or linear scale. In other words you can display the arrow to point to left or up. 
    <telerik:Marker telerik:LinearScale.RotateForVertical="True" />

    In order to achieve your requirement you can apply a RotateTransform to the Marker control.
    <telerik:Marker.LayoutTransform>
        <RotateTransform Angle="90" />
    </telerik:Marker.LayoutTransform>

    Please let me know if this works for you.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top