Hi Team,
Recently we observed one issue in tooltip for XamDataChart Lineseries.
We are getting "Infragistics.Controls.Charts.DataContext" as a prefix to the actual text.
If the tooltip value is "Sales" in Xaml, Then Control is showing tooltip as "Infragistics.Controls.Charts.DataContext Sales".
<ig:XamDataChart.Series> <ig:LineSeries Tooltip="Sales" /> </ig:XamDataChart.Series>
Hello Sandeep,
I have put together a sample project against our most recent Infragistics for WPF toolset 2022.1, and in doing so, I was unable to reproduce the behavior you are seeing. For reference, I am using specific version 22.1.20221.40.
I am attaching the sample project I used to test this. It will be helpful if you can run it on your machine and let me know if the issue is reproduced. If it is not, this means that there is something specific to your application that is causing this behavior, and it would be helpful if you can modify the sample project such that it reproduces the issue. Alternatively, if you have an isolated sample project of your own that you can provide, I will gladly take a look at that.
Please let me know if you have any other questions or concerns on this matter.
XamDataChartTooltipDemo.zip
Andrew, I have a similar issue as Sandeep but with XamDoughnutChart.
Here's how it should look:
and here's how it looks after upgrading to 22.1:
To duplicate, replace XamDataChart in your sample code with this:
<ig:XamDoughnutChart InnerExtent="40" Grid.Row="3" Grid.Column="1" Cursor="Hand"> <ig:XamDoughnutChart.Series> <ig:RingSeries ItemsSource="{Binding Data}" ValueMemberPath="Value" RadiusFactor="0.8" OthersCategoryThreshold="0" Brushes="#FF5B9BD5 #FFED7D31 #FFA5A5A5 #FFFFC000 #FF2E64A0 #FF70AD47 #FF9E480E #FFE0CD8E #FF997300 #FF264478" > <ig:RingSeries.ToolTip> <StackPanel Orientation="Vertical"> <TextBlock Text="Test:" FontWeight="Bold"/> <TextBlock Text="{Binding Item.Value, StringFormat='{}{0:C2}'}"/> </StackPanel> </ig:RingSeries.ToolTip> </ig:RingSeries> </ig:XamDoughnutChart.Series> </ig:XamDoughnutChart>