Needle Tooltip

5 posts, 1 answers
  1. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 12 Mar 2010 Link to this post

    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
  2. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 12 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 12 Mar 2010 Link to this post

    Again, great support!

    You made my day :)

    Gertjan
  5. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 15 Oct 2010 Link to this post

    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.
  6. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 20 Oct 2010 Link to this post

    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
Back to Top
DevCraft banner