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

Disabling LinearScale tick labels

2 Answers 61 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 15 Jan 2010, 11:51 PM
Is there a way to disable the numerical tick label on the LinearScale control?

2 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 19 Jan 2010, 09:28 AM
Hi Sean,

You can check the approach in this example -- define an empty template and use it for the labels:

<Grid.Resources>
    <DataTemplate x:Key="TickLabelEmpty">
        <Canvas />
    </DataTemplate>
</Grid.Resources>
<telerik:RadGauge x:Name="radGauge">
    <telerik:LinearGauge>
        <telerik:LinearScale Min="0" Max="100" >
            <telerik:LinearScale.Label>
                <telerik:LabelProperties ItemTemplate="{StaticResource TickLabelEmpty}" />
            </telerik:LinearScale.Label>
...................


Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Sean
Top achievements
Rank 1
answered on 19 Jan 2010, 03:41 PM
That worked, thanks Ves.
Tags
Gauges
Asked by
Sean
Top achievements
Rank 1
Answers by
Ves
Telerik team
Sean
Top achievements
Rank 1
Share this question
or