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

상속: NumericAxis
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActualIntervalProperty Windows.UI.Xaml.DependencyProperty
IntervalProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
LinearAxis ( ) : System

Instantiates a new instance of the LinearAxis class.

보호된 메소드들

메소드 설명
CalculateActualInterval ( Size availableSize ) : double

Returns the actual interval to use to determine which values are displayed in the axis.

GetLabelValues ( Size availableSize ) : IEnumerable

Returns a sequence of values to plot on the axis.

GetMajorTickMarkValues ( Size availableSize ) : IEnumerable

Returns a sequence of values to create major tick marks for.

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

Returns the plot area coordinate of a value.

GetPlotAreaCoordinate ( object value, double length ) : UnitValue

Returns the plot area coordinate of a value.

GetValueAtPosition ( UnitValue value ) : IComparable

Returns the value range given a plot area coordinate.

OnActualRangeChanged ( Range range ) : void

Updates ActualDoubleRange when ActualRange changes.

OverrideDataRange ( Range range ) : Range

Overrides the actual range to ensure that it is never set to an empty range.

비공개 메소드들

메소드 설명
AlignToInterval ( double value, double interval ) : double

Aligns a value to the provided interval value. The aligned value should always be smaller than or equal to than the provided value.

GetMajorValues ( Size availableSize ) : IEnumerable

Returns a sequence of major axis values.

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

Returns the plot area coordinate of a value.

LengthToRange ( double midPoint, double length ) : Range

Function that uses the mid point of all the data values in the value margins to convert a length into a range of data with the mid point as the center of that range.

OnIntervalPropertyChanged ( ) : void

IntervalProperty property changed handler.

OnIntervalPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IntervalProperty property changed handler.

메소드 상세

CalculateActualInterval() 보호된 메소드

Returns the actual interval to use to determine which values are displayed in the axis.
protected CalculateActualInterval ( Size availableSize ) : double
availableSize Windows.Foundation.Size The available size.
리턴 double

GetLabelValues() 보호된 메소드

Returns a sequence of values to plot on the axis.
protected GetLabelValues ( Size availableSize ) : IEnumerable
availableSize Windows.Foundation.Size The available size.
리턴 IEnumerable

GetMajorTickMarkValues() 보호된 메소드

Returns a sequence of values to create major tick marks for.
protected GetMajorTickMarkValues ( Size availableSize ) : IEnumerable
availableSize Windows.Foundation.Size The available size.
리턴 IEnumerable

GetPlotAreaCoordinate() 보호된 메소드

Returns the plot area coordinate of a value.
protected GetPlotAreaCoordinate ( object value, Range currentRange, double length ) : UnitValue
value object The value to plot.
currentRange Range The range of values.
length double The length of axis.
리턴 UnitValue

GetPlotAreaCoordinate() 보호된 메소드

Returns the plot area coordinate of a value.
protected GetPlotAreaCoordinate ( object value, double length ) : UnitValue
value object The value to plot.
length double The length of axis.
리턴 UnitValue

GetValueAtPosition() 보호된 메소드

Returns the value range given a plot area coordinate.
protected GetValueAtPosition ( UnitValue value ) : IComparable
value UnitValue The plot area position.
리턴 IComparable

LinearAxis() 공개 메소드

Instantiates a new instance of the LinearAxis class.
public LinearAxis ( ) : System
리턴 System

OnActualRangeChanged() 보호된 메소드

Updates ActualDoubleRange when ActualRange changes.
protected OnActualRangeChanged ( Range range ) : void
range Range New ActualRange value.
리턴 void

OverrideDataRange() 보호된 메소드

Overrides the actual range to ensure that it is never set to an empty range.
protected OverrideDataRange ( Range range ) : Range
range Range The range to override.
리턴 Range

프로퍼티 상세

ActualIntervalProperty 공개적으로 정적으로 프로퍼티

Identifies the ActualInterval dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualIntervalProperty
리턴 Windows.UI.Xaml.DependencyProperty

IntervalProperty 공개적으로 정적으로 프로퍼티

Identifies the Interval dependency property.
public static DependencyProperty,Windows.UI.Xaml IntervalProperty
리턴 Windows.UI.Xaml.DependencyProperty