I am trying to show a ToolTipTemplate for LineSeries but don't get it to work.
If I try with Bar series instead it works just fine.
Code in xaml.cs file
private CartesianSeries CreateLineSeries(List<GraphPointDto> items, Brush brush)
var series = new LineSeries()
ItemsSource = items,
Stroke = brush,
ValueBinding = new PropertyNameDataPointBinding("Value"),
CategoryBinding = new PropertyNameDataPointBinding("DateTime"),
TooltipTemplate = this.Resources["MyToolTipTemplate"] as DataTemplate,
Code in xaml