I added a tooltip based on code I got from the demos to my chart. I am seeing some ghosting when I drag the mouse over a bar (on a bar chart.) It seems that the machine has a bit to do with it. One of our testers is seeing it worse on her machine which is a little older than mine. I am still seeing it, but not as bad with a newer, more powerful machine. I am defining the tooltip's data template in the code behind (for a couple reason I won't get into at the moment):
private DataTemplate GetToolTipDataTemplate(){ StringReader markup = new StringReader( string.Format("{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}", @"<DataTemplate xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"">", @"<Grid>", @"<Border BorderBrush=""Gray"" BorderThickness=""1"" Background=""#FFF7F7F7"">", @"<TextBlock Text=""{Binding Value, StringFormat='", LabelFormat, @"'}"" Margin=""4,4,4,4"" FontFamily=""Segoe UI"" FontSize=""14"" ", @"Foreground=""#FF494949"" VerticalAlignment=""Center""/>", @"</Border>", @"</Grid>", @"</DataTemplate>")); XmlReader xmlReader = XmlReader.Create(markup); return XamlReader.Load(xmlReader) as DataTemplate;}
Here is an image of the tooltip ghosting:
![]()
I will note that the data template above is a bit different from what you see in the image. I took out the vector image to see if its generation was causing the issue. But it is still doing it.
Any ideas?