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

Marker orientation

1 Answer 55 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Chen-song
Top achievements
Rank 1
Chen-song asked on 25 May 2015, 10:20 PM

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.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 27 May 2015, 11:56 AM
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
Tags
Gauges
Asked by
Chen-song
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or