Hi,I'm trying to replicate a chart that I built using Highcharts.JS (please see picture in attached file).The problem I'm having is that I cannot find a way to display "shared" tooltips i.e. a tooltip that will display the Y values of two/more series for a given X value (in my case a date) as illustrated in the attached.In Highcharts, this is achievable by setting the tooltip to "Shared" and then writing a custom formatter, via which it is possible to access data points for all the series.Is this possible?Thanks in advance!Regards,Maurizio
Attachment: shared_tooltip_ef258519.rar
<DataTemplate x:Key="tooltipTempalate">
<Border BorderThickness="2" BorderBrush="{Binding Interior}"
CornerRadius="4" Padding="5" Background="White">
<StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="XValue : "/>
<TextBlock Text="{Binding XData,Converter={StaticResource converter}}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Series1 : "/>
<TextBlock Text="{Binding Item.Value1}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Series2 : "/>
<TextBlock Text="{Binding Item.Value2}"/>
</StackPanel>
</StackPanel>
</Border>
</DataTemplate>
|