1. Daní
    Daní avatar
    314 posts
    Member since:
    Feb 2008

    Posted 28 Oct 2009 Link to this post

    Hi,

    I'd like to show a tooltip on the Chart. This tooltip comes from a public string property. This property returns a string formatting a DateTime in the form of "Date:" +  date.ToString("dd/MM/yy HH:mm:ss"). 

    When defining series I set:
    _dataSeries.ItemMappings.Add(new ItemMapping { DataPointMember = DataPointMember.YValue, FieldName = "Valor" });
    _dataSeries.ItemMappings.Add(new ItemMapping { DataPointMember = DataPointMember.Tooltip, FieldName = "Date" });
    _dataSeries.SeriesDefinition.ItemToolTipFormat = "{0}";
    _dataSeries.SeriesDefinition.ShowItemToolTips = true;

    I've tried severals ItemToolTipFormat values, but never get success. What must I do?

    thanks
  2. Daní
    Daní avatar
    314 posts
    Member since:
    Feb 2008

    Posted 28 Oct 2009 Link to this post

    I'm getting tooltips such;
    Date:25/03/59 13:134:31
    or
    Date :21/03/09 59:52:23

    I'm using the lates Q3 Beta 2 internal release

  3. Daní
    Daní avatar
    314 posts
    Member since:
    Feb 2008

    Posted 30 Oct 2009 Link to this post

    Any comment about that.

     I'm really a bit confused about how tooltips are formatted. I'd like to supply an already formatted string so I want tooltip to not format anything, just show the content provided.
  4. Daní
    Daní avatar
    314 posts
    Member since:
    Feb 2008

    Posted 30 Oct 2009 Link to this post

    I could solve it providing a TooltipStyle to series definition. It's working great now!
  5. Vinod Sardar
    Vinod Sardar avatar
    33 posts
    Member since:
    Nov 2009

    Posted 16 Dec 2009 Link to this post

    what did u do?

    Could you just paste the Style and Sample code.

    Thanks,

    Vinod Sa
Back to Top