New to Telerik UI for WPF? Download free 30-day trial

Navigation

The RadChart provides you with an API for navigating between the hierarchy levels when using its drill down feature. It can be used via the HierarchicalManager property of the RadChart. The HierarchyManger tracks the history of the user navigation through the data. Using its Back() and Forward() methods you can enable him to go back through the levels of hierarchy or forward when he wants to follow the same navigation line.

Here is an example of two buttons, which call the respective methods.

<StackPanel> 
    <Button x:Name="BackButton" 
            Content="Back" 
            Click="BackButton_Click" /> 
    <Button x:Name="ForwardButton" 
            Content="Forward" 
            Click="ForwardButton_Click" /> 
</StackPanel> 

private void BackButton_Click(object sender, RoutedEventArgs e) 
{ 
    this.radChart.HierarchyManager.Back(); 
} 
private void ForwardButton_Click(object sender, RoutedEventArgs e) 
{ 
    this.radChart.HierarchyManager.Forward(); 
} 
Private Sub BackButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) 
    Me.radChart.HierarchyManager.Back() 
End Sub 
Private Sub ForwardButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) 
    Me.radChart.HierarchyManager.Forward() 
End Sub 
In this article