Class HierarchyManager
This class represents the unit, which is responsible for managing the Hierarchical data sources in RadChart. It provides means to manage and control the chart state in hierarchical data scenarios.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class HierarchyManager : DependencyObject
Constructors
HierarchyManager()
Fields
CurrentItemsSourceProperty
Identifies the CurrentItemsSource dependency property.
Declaration
public static readonly DependencyProperty CurrentItemsSourceProperty
Field Value
System.Windows.DependencyProperty
|
CurrentItemsSourcePropertyKey
Identifies the CurrentItemsSource dependency property key.
Declaration
protected static readonly DependencyPropertyKey CurrentItemsSourcePropertyKey
Field Value
DependencyPropertyKey
|
Properties
CurrentItemsSource
Gets the items source, which corresponds to the current level in the hierarchy.
Declaration
public object CurrentItemsSource { get; protected set; }
Property Value
System.Object
The current items source. |
HierarchicalViewDescriptors
Gets the chart HierarchicalViewDescriptors.
Declaration
public ChartHierarchicalViewDescriptorCollection HierarchicalViewDescriptors { get; }
Property Value
ChartHierarchicalViewDescriptorCollection
The HierarchicalViewDescriptors. |
RadChart
Gets or sets the instance of RadChart.
Declaration
public RadChart RadChart { get; set; }
Property Value
RadChart
The chart. |
Methods
Back()
Returns the chart to the state it was before the last hierarchy-related action.
Declaration
public void Back()
Forward()
Puts the chart into the state it was before the last Back action.
Declaration
public void Forward()
OnDrill(HierarchyDrillEventArgs)
Raises the HierarchyDrill event.
Declaration
protected virtual void OnDrill(HierarchyDrillEventArgs e)
Parameters
HierarchyDrillEventArgs
e
The HierarchyDrillEventArgs instance containing the event data. |
Reset()
Puts the hierarchical chart in it initial state. Clears the Back and Forward stacks.
Declaration
public void Reset()
Events
Drill
Occurs when a hierarchy-related action is performed.
Declaration
public event EventHandler<HierarchyDrillEventArgs> Drill
Event Type
System.EventHandler<HierarchyDrillEventArgs>
|