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

An axis that has a range.
Inheritance: DisplayAxis, IRangeAxis, IValueMarginConsumer
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

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

Private Properties

Свойство Type Description
EnforceMaximumAndMinimum Range
GetLabelValues IEnumerable
GetMajorGridLineValues IEnumerable
GetMajorTickMarkValues IEnumerable
GetMaxLeftAndRightOverlap void
GetMinorTickMarkValues IEnumerable
IRangeAxis IComparable
IRangeConsumer void
IValueMarginConsumer void
RenderOriented void
UpdateActualRange void
UpdateValueMargins void

Méthodes publiques

Méthode Description
GetPlotAreaCoordinate ( object value ) : UnitValue

Returns the plot area coordinate of a given value.

Méthodes protégées

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

Private Methods

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

Method Details

CreateMinorTickMark() protected méthode

Creates a minor axis tick mark.
protected CreateMinorTickMark ( ) : Line
Résultat Line

GetMajorGridLineCoordinates() protected méthode

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

GetPlotAreaCoordinate() public méthode

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

GetPlotAreaCoordinate() protected abstract méthode

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

GetPlotAreaCoordinate() protected abstract méthode

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

GetValueAtPosition() protected abstract méthode

Returns the value range given a plot area coordinate.
protected abstract GetValueAtPosition ( UnitValue value ) : IComparable
value UnitValue The plot area coordinate.
Résultat IComparable

OnActualRangeChanged() protected méthode

Invalidates axis when the actual range changes.
protected OnActualRangeChanged ( Range range ) : void
range Range The new actual range.
Résultat void

OnObjectRegistered() protected méthode

If a new range provider is registered, update actual range.
protected OnObjectRegistered ( IAxisListener series ) : void
series IAxisListener The axis listener being registered.
Résultat void

OnObjectUnregistered() protected méthode

If a range provider is unregistered, update actual range.
protected OnObjectUnregistered ( IAxisListener series ) : void
series IAxisListener The axis listener being unregistered.
Résultat void

OverrideDataRange() protected méthode

Overrides the data range.
protected OverrideDataRange ( Range range ) : Range
range Range The range to potentially override.
Résultat Range

RangeAxis() protected méthode

Instantiates a new instance of the RangeAxis class.
protected RangeAxis ( ) : System
Résultat System

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

MinorTickMarkStyleProperty public_oe static_oe property

Identifies the MinorTickMarkStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml MinorTickMarkStyleProperty
Résultat Windows.UI.Xaml.DependencyProperty