Interface ICategoryAxis
An axis that is arranged by category.
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public interface ICategoryAxis : IAxis, IDataConsumer
Methods
| Improve this Doc View SourceGetCategoryAtPosition(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. |
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. |