Show / Hide Table of Contents

Interface ICategoryAxis

An axis that is arranged by category.

Inherited Members
IAxis.Orientation
IAxis.OrientationChanged
IAxis.CanPlot(Object)
IAxis.GetPlotAreaCoordinate(Object)
IAxis.RegisteredListeners
IAxis.DependentAxes
IDataConsumer.DataChanged(IDataProvider, IEnumerable<Object>)
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public interface ICategoryAxis : IAxis, IDataConsumer

Methods

| Improve this Doc View Source

GetCategoryAtPosition(UnitValue)

Returns the category at a given coordinate.

Declaration
object GetCategoryAtPosition(UnitValue position)
Parameters
Type Name Description
UnitValue position

The plot are coordinate.

Returns
Type Description
System.Object

The category at the given plot area coordinate.

| Improve this Doc View Source

GetPlotAreaCoordinateRange(Object)

Accepts a category and returns the coordinate range of that category on the axis.

Declaration
Range<UnitValue> GetPlotAreaCoordinateRange(object category)
Parameters
Type Name Description
System.Object category

A category for which to retrieve the coordinate location.

Returns
Type Description
Range<UnitValue>

The coordinate range of the category on the axis.

  • Improve this Doc
  • View Source