// (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.Generic;
namespace System.Windows.Controls.DataVisualization.Charting
{
///
/// An axis that is arranged by category.
///
public interface ICategoryAxis : IAxis, IDataConsumer
{
///
/// Accepts a category and returns the coordinate range of that category
/// on the axis.
///
/// A category for which to retrieve the
/// coordinate location.
/// The coordinate range of the category on the axis.
Range GetPlotAreaCoordinateRange(object category);
///
/// Returns the category at a given coordinate.
///
/// The plot are coordinate.
/// The category at the given plot area coordinate.
object GetCategoryAtPosition(UnitValue position);
}
}