Tooltip formatting problem

6 posts, 0 answers
  1. Walter Mesquita
    Walter Mesquita avatar
    5 posts
    Member since:
    Feb 2010

    Posted 22 Feb 2010 Link to this post

    Hi,
    I am working on a chart that has an optional drill-down feature. "Optional" as in some items will have the drill-down enabled and others will not.

    I want to customize the tooltips so that the items with the drill-down display an extra message like "Click to view [drill-down chart's title]...". My series' ItemToolTipFormat is "#XCAT (#Y)".

    I have implemented the ItemDataBound event so that the "extra" tooltip message gets appended to the default tooltip for the items with the drill-down option.

    Everything seems to work fine. Except that when the "default" tooltip contains a "0", it gets replaced by something that I have not yet identified. For example, if the default tooltip were "Task1 (140)", and I wanted to append "Click to view 'Top 10 operators for Task1'", the final tooltip would display "Task1 (1414). Click to view  'Top 10 operators for Task1'". The "0" in "Task1 (140)" was replaced by 14...

    Thanks in advance,
    Walter
  2. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 24 Feb 2010 Link to this post

    Hi

    I am having Tooltip problem too:
                    DataPoint dp = new DataPoint();
                   
                    dp.YValue = item.Total;
                    string tip = item.Month.ToString() + ", " + item.Year.ToString();
                    dp.Tooltip = tip;

    It should show "January, 2010" but instead get the YValue and Add it to the end. "January, 2026" if value is 6.

    or

    "January, 2009" it will show "January, 2069"

  3. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 25 Feb 2010 Link to this post

    Hi Martin and Walter,

    Both of your cases sound very strange. We are unable to reproduce such erroneous behavior locally. Can you please send us a small runnable application which we can debug for you? Thanks.

    All the best,
    Vladimir Milev
    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.
  4. Walter Mesquita
    Walter Mesquita avatar
    5 posts
    Member since:
    Feb 2010

    Posted 25 Feb 2010 Link to this post

    Hi Vladimir,
    thanks for your reply. I managed to work around the problem by binding the Tooltip to a property of my "data item" class.

    As requested, I built a sample solution that reproduces the error. How do I send it to you?

    Best regards,
    Walter
  5. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 02 Mar 2010 Link to this post

    Hi Walter Mesquita,

    You can put it on a public site or attach it inside a bug report.

    Greetings,
    Vladimir Milev
    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.
  6. loic
    loic avatar
    7 posts
    Member since:
    Feb 2011

    Posted 02 May 2011 Link to this post

    Hi, I have exactly the same issue.

    I guess that bug is fired by a margin between the ItemToolTipFormat I am setting, and the Y default value.

    Did you find a solution for this bug?

    Or, how to disable the ToolTip Default value (binded to AxisY)?


    Regards
Back to Top