C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.CategoryAxis

Inheritance: DisplayAxis, ICategoryAxis
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
SortOrderProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
CreateAndPrepareAxisLabel Windows.UI.Xaml.Controls.Control
OnSortOrderPropertyChanged void
OnSortOrderPropertyChanged void
RenderOriented void
UpdateCategories void

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

CanPlot() public méthode

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.
Résultat bool

CategoryAxis() public méthode

Instantiates a new instance of the CategoryAxis class.
public CategoryAxis ( ) : System
Résultat System

DataChanged() public méthode

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.
Résultat void

GetCategoryAtPosition() public méthode

Returns the category at a given coordinate.
public GetCategoryAtPosition ( UnitValue position ) : object
position UnitValue The plot area position.
Résultat object

GetMajorGridLineCoordinates() protected méthode

Returns the major axis grid line coordinates.
protected GetMajorGridLineCoordinates ( Size availableSize ) : IEnumerable
availableSize Windows.Foundation.Size The available size.
Résultat IEnumerable

GetPlotAreaCoordinate() public méthode

The plot area coordinate of a value.
public GetPlotAreaCoordinate ( object value ) : UnitValue
value object The value for which to retrieve the plot area /// coordinate.
Résultat UnitValue

GetPlotAreaCoordinateRange() public méthode

Returns range of coordinates for a given category.
public GetPlotAreaCoordinateRange ( object category ) : Range
category object The category to return the range for.
Résultat Range

OnObjectRegistered() protected méthode

Updates categories when a series is registered.
protected OnObjectRegistered ( IAxisListener series ) : void
series IAxisListener The series to be registered.
Résultat void

OnObjectUnregistered() protected méthode

Updates categories when a series is unregistered.
protected OnObjectUnregistered ( IAxisListener series ) : void
series IAxisListener The series to be unregistered.
Résultat void

Render() protected méthode

Renders the axis labels, tick marks, and other visual elements.
protected Render ( Size availableSize ) : void
availableSize Windows.Foundation.Size The available size.
Résultat void

Property Details

SortOrderProperty public_oe static_oe property

Identifies the SortOrder dependency property.
public static DependencyProperty,Windows.UI.Xaml SortOrderProperty
Résultat Windows.UI.Xaml.DependencyProperty