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

Needle Tooltip

4 Answers 92 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Grtjn
Top achievements
Rank 1
Grtjn asked on 12 Mar 2010, 11:53 AM
Hi,

Is it possible to let my needle show the value it represents via a tooltip?
If so, how can I set this in my code-behind?

Kind regards,

Gertjan

4 Answers, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 12 Mar 2010, 02:19 PM
Hello GJ DM,

You need to set the Needle.TooltipFormat property as demonstrated here:

RadGauge gauge = new RadGauge();
RadialGauge radialGauge = new RadialGauge();
RadialScale scale = new RadialScale();
IndicatorList indicatorList = new IndicatorList();
 
indicatorList.Items.Add(new Needle() { Value = 51.2345, TooltipFormat = "{0:F2}" });
scale.Items.Add(indicatorList);
radialGauge.Items.Add(scale);
gauge.Content = radialGauge;
 
LayoutRoot.Children.Add(gauge);


Greetings,
Freddie
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
Grtjn
Top achievements
Rank 1
answered on 12 Mar 2010, 03:20 PM
Again, great support!

You made my day :)

Gertjan
0
Anatoly Chekh
Top achievements
Rank 1
answered on 15 Oct 2010, 07:55 PM
Hello.

I have a following problem:

I have a grid with 2 rows.

If I add gauge to the first row - the tooltip is shown. But if I add gauge to the second row - the tooltip is not shown!

I have the same harry result if add gauge to the secong column in the first row.

What can I do?

Thank you!
Anatoly Chekh.
0
Andrey
Telerik team
answered on 20 Oct 2010, 03:38 PM
Hello Anatoly Chekh,

Unfortunately we were unable to reproduce the problematic behavior in our local tests. Could you send us a sample application that demonstrates the erroneous issue so we can investigate it and advise you properly how to proceed?

Looking forward to your reply.


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
Tags
Gauge
Asked by
Grtjn
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Grtjn
Top achievements
Rank 1
Anatoly Chekh
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or