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

need to set tooltip for radgauge in radrange

2 Answers 78 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Kapil
Top achievements
Rank 1
Kapil asked on 07 Sep 2010, 01:55 PM
i need to set tooltip for radialrange in radialscale ...right now i am doing it by setting property like

 rs.Ranges.Add(New RadialRange With {.Background = Brushes.Blue, .Min = 0, .Max = 200, 
.StartWidth = 0.1, .EndWidth = 0.1, .TooltipFormat = "critical {0:F0}", .Tooltip = "critical"}})
but couldnt get to show tooltip with this..please help me out

Thanks,

Kapil Garg

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 09 Sep 2010, 08:07 AM
Hello Kapil,

Currently the TooltipFormat property is not supported for the ranges.
We have created the PITS issue. You can check when this feature will be available using the following link:
http://www.telerik.com/support/pits.aspx#/public/wpf/3377

As workaround you can use standard Tooltip property. But you should place the scale over the RadialGauge element, because the foreground of the RadialGauge overlaps the range and the tooltip cannot be displayed.
Please look at the following sample XAML code that shows tooltip on the range:

<Window x:Class="MainWindow"
    Title="MainWindow" Height="350" Width="525">
    <Grid Width="300" Height="300">
        <telerik:RadGauge>
            <telerik:RadialGauge Name="radialGauge">
            </telerik:RadialGauge>
        </telerik:RadGauge>
        <telerik:RadialScale Name="rs">
            <telerik:RangeList>
                <telerik:RadialRange
                    Min="0" Max="200"
                    Background="Blue"
                    ToolTip="critical"
                    StartWidth="0.1" EndWidth="0.1" />
            </telerik:RangeList>
        </telerik:RadialScale>
    </Grid>
</Window>

Kind regards,
Andrey Murzov
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items
0
Kapil
Top achievements
Rank 1
answered on 09 Sep 2010, 01:45 PM
Thanks alot for your answere..
Tags
Gauges
Asked by
Kapil
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Kapil
Top achievements
Rank 1
Share this question
or