C# 클래스 WinRTXamlToolkit.Controls.DataVisualization.Charting.RangeAxis

An axis that has a range.
상속: DisplayAxis, IRangeAxis, IValueMarginConsumer
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 프로퍼티들

프로퍼티 타입 설명
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