This is a migrated thread and some comments may be shown as answers.
Tooltip
4 Answers 70 Views
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 29 Oct 2009, 01:08 AM
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

4 Answers, 1 is accepted

Sort by
0
Daní
Top achievements
Rank 1
answered on 29 Oct 2009, 01:10 AM
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

0
Daní
Top achievements
Rank 1
answered on 30 Oct 2009, 10:57 AM
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.
0
Daní
Top achievements
Rank 1
answered on 30 Oct 2009, 12:35 PM
I could solve it providing a TooltipStyle to series definition. It's working great now!
0
Vinod Sardar
Top achievements
Rank 1
answered on 16 Dec 2009, 08:23 AM
what did u do?

Could you just paste the Style and Sample code.

Thanks,

Vinod Sa
Tags
Chart
Asked by
Daní
Top achievements
Rank 1
Answers by
Daní
Top achievements
Rank 1
Vinod Sardar
Top achievements
Rank 1
Share this question
or