Hi team,
Hello elinder,
With the way the tooltip is defined, it doesn't need to be placed on every StackedFragmentSeries. It only needs to be placed on the StackedColumnSeries. This is because the template already displays the values presented by the StackedFragmentSeries, so there's no need to place a tooltip on each individual fragment series if they are all going to show the same data anyway.
The reason the tooltips aren't working is because DataTemplates cannot be assigned to the ToolTip directly. The tooltip needs to be assigned to a control and inside that control you can place something like a ContentPresenter to use your template.
<ig:StackedColumnSeries.ToolTip> <Grid> <ContentPresenter Content="{Binding}" ContentTemplate="{StaticResource TooltipTemplate}"/> </Grid> </ig:StackedColumnSeries.ToolTip>
I have attached a modified version of your sample that you can take a look at. Let me know if you have any questions.
Hi elinder,
Let me know if you have any further questions on this matter.