// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System.Collections.ObjectModel; namespace System.Windows.Controls.DataVisualization.Charting { /// /// An axis interface used to determine the plot area coordinate of values. /// public interface IAxis { /// /// Gets or sets the orientation of the axis. /// AxisOrientation Orientation { get; set; } /// /// This event is raised when the Orientation property is changed. /// event RoutedPropertyChangedEventHandler OrientationChanged; /// /// Returns a value indicating whether the axis can plot a value. /// /// The value to plot. /// A value indicating whether the axis can plot a value. /// bool CanPlot(object value); /// /// The plot area coordinate of a value. /// /// The value for which to retrieve the plot area /// coordinate. /// The plot area coordinate. UnitValue GetPlotAreaCoordinate(object value); /// /// Gets the registered IAxisListeners. /// ObservableCollection RegisteredListeners { get; } /// /// Gets the collection of child axes. /// ObservableCollection DependentAxes { get; } } }