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

An axis that has a range.
Наследование: DisplayAxis, IRangeAxis, IValueMarginConsumer
Показать файл Открыть проект

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

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

Private Properties

Свойство Тип Описание
EnforceMaximumAndMinimum Range
GetLabelValues IEnumerable
GetMajorGridLineValues IEnumerable
GetMajorTickMarkValues IEnumerable
GetMaxLeftAndRightOverlap void
GetMinorTickMarkValues IEnumerable
IRangeAxis IComparable
IRangeConsumer void
IValueMarginConsumer void
RenderOriented void
UpdateActualRange void
UpdateValueMargins void

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

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

Returns the plot area coordinate of a given value.

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

Метод Описание
CreateMinorTickMark ( ) : Line

Creates a minor axis tick mark.

GetMajorGridLineCoordinates ( Size availableSize ) : IEnumerable

Returns a sequence of the major grid line coordinates.

GetPlotAreaCoordinate ( object value, Range currentRange, double length ) : UnitValue

Returns the plot area coordinate of a given value.

GetPlotAreaCoordinate ( object value, double length ) : UnitValue

Returns the plot area coordinate of a given value.

GetValueAtPosition ( UnitValue value ) : IComparable

Returns the value range given a plot area coordinate.

OnActualRangeChanged ( Range range ) : void

Invalidates axis when the actual range changes.

OnObjectRegistered ( IAxisListener series ) : void

If a new range provider is registered, update actual range.

OnObjectUnregistered ( IAxisListener series ) : void

If a range provider is unregistered, update actual range.

OverrideDataRange ( Range range ) : Range

Overrides the data range.

RangeAxis ( ) : System

Instantiates a new instance of the RangeAxis class.

Render ( Size availableSize ) : void

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

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

Метод Описание
EnforceMaximumAndMinimum ( Range range ) : Range

Modifies a range to respect the minimum and maximum axis values.

GetLabelValues ( Size availableSize ) : IEnumerable
GetMajorGridLineValues ( Size availableSize ) : IEnumerable
GetMajorTickMarkValues ( Size availableSize ) : IEnumerable
GetMaxLeftAndRightOverlap ( IList valueMargins, ValueMarginCoordinateAndOverlap &maxLeftOverlapValueMargin, ValueMarginCoordinateAndOverlap &maxRightOverlapValueMargin ) : void

Returns the value margin, coordinate, and overlap triples that have the largest left and right overlap.

GetMinorTickMarkValues ( Size availableSize ) : IEnumerable
IRangeAxis ( UnitValue value ) : IComparable

Returns the value range given a plot area coordinate.

IRangeConsumer ( IRangeProvider usesRangeAxis, Range range ) : void

Updates the axis with information about a provider's data range.

IValueMarginConsumer ( IValueMarginProvider provider, IEnumerable valueMargins ) : void

Updates the layout of the axis to accommodate a sequence of value margins.

RenderOriented ( Size availableSize ) : void

Renders the axis as an oriented axis.

UpdateActualRange ( ) : void

Updates the actual range displayed on the axis.

UpdateValueMargins ( IList valueMargins, Range comparableRange ) : void

Create function that when given a range will return the amount in pixels by which the value margin range overlaps. Positive numbers represent values outside the range.

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

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

Creates a minor axis tick mark.
protected CreateMinorTickMark ( ) : Line
Результат Line

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

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

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

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

GetPlotAreaCoordinate() защищенный абстрактный Метод

Returns the plot area coordinate of a given value.
protected abstract GetPlotAreaCoordinate ( object value, Range currentRange, double length ) : UnitValue
value object The value to return the plot area coordinate for.
currentRange Range The value range to use when calculating the plot area coordinate.
length double The length of the axis.
Результат UnitValue

GetPlotAreaCoordinate() защищенный абстрактный Метод

Returns the plot area coordinate of a given value.
protected abstract GetPlotAreaCoordinate ( object value, double length ) : UnitValue
value object The value to return the plot area coordinate for.
length double The length of the axis.
Результат UnitValue

GetValueAtPosition() защищенный абстрактный Метод

Returns the value range given a plot area coordinate.
protected abstract GetValueAtPosition ( UnitValue value ) : IComparable
value UnitValue The plot area coordinate.
Результат IComparable

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

Invalidates axis when the actual range changes.
protected OnActualRangeChanged ( Range range ) : void
range Range The new actual range.
Результат void

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

If a new range provider is registered, update actual range.
protected OnObjectRegistered ( IAxisListener series ) : void
series IAxisListener The axis listener being registered.
Результат void

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

If a range provider is unregistered, update actual range.
protected OnObjectUnregistered ( IAxisListener series ) : void
series IAxisListener The axis listener being unregistered.
Результат void

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

Overrides the data range.
protected OverrideDataRange ( Range range ) : Range
range Range The range to potentially override.
Результат Range

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

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

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

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

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

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

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