I'm trying to show a tooltip in the needle in order to show the selected value.
I have this code in the xaml file:
And I wanted to add the tooltip format in the code behind file:
But when I run the program, it only shows a blank square, as you can see in the image that I have attached.
I think that I am missing something.
I saw this Page and i tried this code:
But it doesn't work either.
Regards,
Alberto Martinez
I have this code in the xaml file:
<telerik:RadRadialGauge Name="RadialGaugeDemo" HorizontalAlignment="Left" Margin="961,30,0,0" Grid.Row="1" VerticalAlignment="Top" Height="255" Width="274"> <telerik:RadialScale Name="scale" LabelRotationMode="None" IsInteractive="True" MajorTickOffset="-0.015*" MiddleTickOffset="-0.015*" MinorTickOffset="-0.015*" Min="0" Max="120"> <telerik:RadialScale.Indicators> <telerik:Needle Name="needle" Value="50"/> <telerik:Pinpoint /> </telerik:RadialScale.Indicators> </telerik:RadialScale> </telerik:RadRadialGauge>And I wanted to add the tooltip format in the code behind file:
needle.TooltipFormat = "{0:F2}";But when I run the program, it only shows a blank square, as you can see in the image that I have attached.
I think that I am missing something.
I saw this Page and i tried this code:
<telerik:Needle x:Name="needle" IsAnimated="True" Value="{Binding Value}" TooltipFormat="No: {0}"/>But it doesn't work either.
Regards,
Alberto Martinez