Thanks,
Gary
<telerik:RadChart x:Name="RadChart1">
<telerik:RadChart.DefaultView>
<chart:ChartDefaultView>
<chart:ChartDefaultView.ChartLegend>
<chart:ChartLegend Visibility="Collapsed" />
</chart:ChartDefaultView.ChartLegend>
<chart:ChartDefaultView.ChartArea>
<chart:ChartArea LegendName="TooltipLegend" />
</chart:ChartDefaultView.ChartArea>
</chart:ChartDefaultView>
</telerik:RadChart.DefaultView>
<ToolTipService.ToolTip>
<ToolTip Background="Black" Style="{StaticResource CustomToolTipStyle}">
<ToolTip.Content>
<chart:ChartLegend x:Name="TooltipLegend" Background="Black" Height="200" Width="150" />
</ToolTip.Content>
</ToolTip>
</ToolTipService.ToolTip>
</telerik:RadChart>
That’s basically everything needed to achieve the desired functionality!
We will only tweak the default tooltip template to add some nice rounded corners like this:
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
xmlns:chart="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
Title="Window1">
<Grid x:Name="LayoutRoot" Background="White">
<Grid.Resources>
<Style x:Key="CustomToolTipStyle" TargetType="ToolTip">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToolTip">
<Border x:Name="Root" CornerRadius="10"
BorderThickness="{TemplateBinding BorderThickness}"
Background="#FFFFFFFF"
BorderBrush="{TemplateBinding BorderBrush}">
<Border BorderBrush="#FFFFFFFF"
BorderThickness="1"
CornerRadius="8"
Background="{TemplateBinding Background}"
Padding="{TemplateBinding Padding}">
<Border.Resources>
<Storyboard x:Key="Visible State" />
<Storyboard x:Key="Normal State" />
</Border.Resources>
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}"
Cursor="{TemplateBinding Cursor}" Margin="{TemplateBinding Padding}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<telerik:RadChart x:Name="RadChart1">
<telerik:RadChart.DefaultView>
<chart:ChartDefaultView>
<chart:ChartDefaultView.ChartLegend>
<chart:ChartLegend Visibility="Collapsed" />
</chart:ChartDefaultView.ChartLegend>
<chart:ChartDefaultView.ChartArea>
<chart:ChartArea LegendName="TooltipLegend" />
</chart:ChartDefaultView.ChartArea>
</chart:ChartDefaultView>
</telerik:RadChart.DefaultView>
<ToolTipService.ToolTip>
<ToolTip Background="Black" Style="{StaticResource CustomToolTipStyle}">
<ToolTip.Content>
<chart:ChartLegend x:Name="TooltipLegend" Background="Black" Height="200" Width="150" />
</ToolTip.Content>
</ToolTip>
</ToolTipService.ToolTip>
</telerik:RadChart>
</Grid>
</Window>