C# Класс WinRTXamlToolkit.Controls.DataVisualization.Charting.CategoryAxis

Наследование: DisplayAxis, ICategoryAxis
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SortOrderProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Тип Описание
CreateAndPrepareAxisLabel Windows.UI.Xaml.Controls.Control
OnSortOrderPropertyChanged void
OnSortOrderPropertyChanged void
RenderOriented void
UpdateCategories void

Открытые методы

Метод Описание
CanPlot ( object value ) : bool

Returns a value indicating whether a value can be plotted on the axis.

CategoryAxis ( ) : System

Instantiates a new instance of the CategoryAxis class.

DataChanged ( IDataProvider dataProvider, IEnumerable data ) : void

Updates the categories in response to an update from a registered axis data provider.

GetCategoryAtPosition ( UnitValue position ) : object

Returns the category at a given coordinate.

GetPlotAreaCoordinate ( object value ) : UnitValue

The plot area coordinate of a value.

GetPlotAreaCoordinateRange ( object category ) : Range

Returns range of coordinates for a given category.

Защищенные методы

Метод Описание
GetMajorGridLineCoordinates ( Size availableSize ) : IEnumerable

Returns the major axis grid line coordinates.

OnObjectRegistered ( IAxisListener series ) : void

Updates categories when a series is registered.

OnObjectUnregistered ( IAxisListener series ) : void

Updates categories when a series is unregistered.

Render ( Size availableSize ) : void

Renders the axis labels, tick marks, and other visual elements.

Приватные методы

Метод Описание
CreateAndPrepareAxisLabel ( object value ) : Control

Creates and prepares a new axis label.

OnSortOrderPropertyChanged ( ) : void

SortOrderProperty property changed handler.

OnSortOrderPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

SortOrderProperty property changed handler.

RenderOriented ( Size availableSize ) : void

Renders as an oriented axis.

UpdateCategories ( ) : void

Updates the list of categories.

Описание методов

CanPlot() публичный Метод

Returns a value indicating whether a value can be plotted on the axis.
public CanPlot ( object value ) : bool
value object A value which may or may not be able to be /// plotted.
Результат bool

CategoryAxis() публичный Метод

Instantiates a new instance of the CategoryAxis class.
public CategoryAxis ( ) : System
Результат System

DataChanged() публичный Метод

Updates the categories in response to an update from a registered axis data provider.
public DataChanged ( IDataProvider dataProvider, IEnumerable data ) : void
dataProvider IDataProvider The category axis information /// provider.
data IEnumerable A sequence of categories.
Результат void

GetCategoryAtPosition() публичный Метод

Returns the category at a given coordinate.
public GetCategoryAtPosition ( UnitValue position ) : object
position UnitValue The plot area position.
Результат object

GetMajorGridLineCoordinates() защищенный Метод

Returns the major axis grid line coordinates.
protected GetMajorGridLineCoordinates ( Size availableSize ) : IEnumerable
availableSize Windows.Foundation.Size The available size.
Результат IEnumerable

GetPlotAreaCoordinate() публичный Метод

The plot area coordinate of a value.
public GetPlotAreaCoordinate ( object value ) : UnitValue
value object The value for which to retrieve the plot area /// coordinate.
Результат UnitValue

GetPlotAreaCoordinateRange() публичный Метод

Returns range of coordinates for a given category.
public GetPlotAreaCoordinateRange ( object category ) : Range
category object The category to return the range for.
Результат Range

OnObjectRegistered() защищенный Метод

Updates categories when a series is registered.
protected OnObjectRegistered ( IAxisListener series ) : void
series IAxisListener The series to be registered.
Результат void

OnObjectUnregistered() защищенный Метод

Updates categories when a series is unregistered.
protected OnObjectUnregistered ( IAxisListener series ) : void
series IAxisListener The series to be unregistered.
Результат void

Render() защищенный Метод

Renders the axis labels, tick marks, and other visual elements.
protected Render ( Size availableSize ) : void
availableSize Windows.Foundation.Size The available size.
Результат void

Описание свойств

SortOrderProperty публичное статическое свойство

Identifies the SortOrder dependency property.
public static DependencyProperty,Windows.UI.Xaml SortOrderProperty
Результат Windows.UI.Xaml.DependencyProperty