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

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

공개 프로퍼티들

프로퍼티 타입 설명
ActualIntervalProperty DependencyProperty
ActualMaximumProperty DependencyProperty
ActualMinimumProperty DependencyProperty
IntervalProperty DependencyProperty
IntervalTypeProperty DependencyProperty
MaximumProperty DependencyProperty
MinimumProperty DependencyProperty

Private Properties

프로퍼티 타입 설명
AlignIntervalStart DateTime
CalculateActualInterval double
CalculateDateTimeInterval double
GetPlotAreaCoordinate UnitValue
IncrementDateTime DateTime
OnIntervalPropertyChanged void
OnIntervalPropertyChanged void
OnIntervalTypePropertyChanged void
OnIntervalTypePropertyChanged void
OnMaximumPropertyChanged void
OnMaximumPropertyChanged void
OnMinimumPropertyChanged void
OnMinimumPropertyChanged void
OverrideDataRange Range

공개 메소드들

메소드 설명
CanPlot ( object value ) : bool

Returns a value indicating whether a value can plot.

DateTimeAxis ( ) : System

Instantiates a new instance of the DateTimeAxis2 class.

보호된 메소드들

메소드 설명
CreateAxisLabel ( ) : Control

Creates a new instance of the DateTimeAxisLabel class.

GetLabelValues ( Size availableSize ) : IEnumerable

Returns a sequence of values to plot on the axis.

GetMajorAxisValues ( Size availableSize ) : IEnumerable

Returns a sequence of major values.

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 the typed actual maximum and minimum properties when the actual range changes.

PrepareAxisLabel ( Control label, object dataContext ) : void

Prepares an instance of the DateTimeAxisLabel class by setting its IntervalType property.

비공개 메소드들

메소드 설명
AlignIntervalStart ( DateTime start, double intervalSize, DateTimeIntervalType type ) : DateTime

Adjusts the beginning of the first interval depending on the type and size.

CalculateActualInterval ( Size availableSize ) : double

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

CalculateDateTimeInterval ( DateTime minimum, DateTime maximum, DateTimeIntervalType &type, Size availableSize ) : double
GetPlotAreaCoordinate ( object value, Range currentRange, double length ) : UnitValue

Returns the plot area coordinate of a value.

IncrementDateTime ( DateTime date, double interval ) : DateTime

This method accepts a date time and increments it.

OnIntervalPropertyChanged ( ) : void

IntervalProperty property changed handler.

OnIntervalPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IntervalProperty property changed handler.

OnIntervalTypePropertyChanged ( DateTimeIntervalType newValue ) : void

IntervalTypeProperty property changed handler.

OnIntervalTypePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IntervalTypeProperty property changed handler.

OnMaximumPropertyChanged ( DateTime newValue ) : void

MaximumProperty property changed handler.

OnMaximumPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MaximumProperty property changed handler.

OnMinimumPropertyChanged ( DateTime newValue ) : void

MinimumProperty property changed handler.

OnMinimumPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MinimumProperty property changed handler.

OverrideDataRange ( Range range ) : Range

메소드 상세

CanPlot() 공개 메소드

Returns a value indicating whether a value can plot.
public CanPlot ( object value ) : bool
value object The value to plot.
리턴 bool

CreateAxisLabel() 보호된 메소드

Creates a new instance of the DateTimeAxisLabel class.
protected CreateAxisLabel ( ) : Control
리턴 Windows.UI.Xaml.Controls.Control

DateTimeAxis() 공개 메소드

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

GetLabelValues() 보호된 메소드

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

GetMajorAxisValues() 보호된 메소드

Returns a sequence of major values.
protected GetMajorAxisValues ( Size availableSize ) : IEnumerable
availableSize Size The available size.
리턴 IEnumerable

GetMajorTickMarkValues() 보호된 메소드

Returns a sequence of values to create major tick marks for.
protected GetMajorTickMarkValues ( Size availableSize ) : IEnumerable
availableSize 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 to use determine the coordinate.
length double The length of the 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 the axis.
리턴 UnitValue

GetValueAtPosition() 보호된 메소드

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

OnActualRangeChanged() 보호된 메소드

Updates the typed actual maximum and minimum properties when the actual range changes.
protected OnActualRangeChanged ( Range range ) : void
range Range The actual range.
리턴 void

PrepareAxisLabel() 보호된 메소드

Prepares an instance of the DateTimeAxisLabel class by setting its IntervalType property.
protected PrepareAxisLabel ( Control label, object dataContext ) : void
label Windows.UI.Xaml.Controls.Control An instance of the DateTimeAxisLabel class. ///
dataContext object The data context to assign to the label. ///
리턴 void

프로퍼티 상세

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

Identifies the ActualInterval dependency property.
public static DependencyProperty ActualIntervalProperty
리턴 DependencyProperty

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

Identifies the ActualMaximum dependency property.
public static DependencyProperty ActualMaximumProperty
리턴 DependencyProperty

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

Identifies the ActualMinimum dependency property.
public static DependencyProperty ActualMinimumProperty
리턴 DependencyProperty

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

Identifies the Interval dependency property.
public static DependencyProperty IntervalProperty
리턴 DependencyProperty

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

Identifies the InternalIntervalType dependency property.
public static DependencyProperty IntervalTypeProperty
리턴 DependencyProperty

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

Identifies the Maximum dependency property.
public static DependencyProperty MaximumProperty
리턴 DependencyProperty

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

Identifies the Minimum dependency property.
public static DependencyProperty MinimumProperty
리턴 DependencyProperty