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

An axis that has a range.
상속: Axis, IRequireSeriesHost
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AxisLabelStyleProperty DependencyProperty
MajorTickMarkStyleProperty DependencyProperty
ShowGridLinesProperty DependencyProperty
TitleProperty DependencyProperty
TitleStyleProperty DependencyProperty

Private Properties

프로퍼티 타입 설명
ArrangeAxisGrid void
DisplayAxisSizeChanged void
GetMajorGridLineCoordinates IEnumerable
InternalGetMajorGridLinePositions IEnumerable
OnAxisLabelStylePropertyChanged void
OnGridLinesPropertyChanged void
OnMajorTickMarkStylePropertyChanged void
OnOrientedPanelSizeChanged void
OnShowGridLinesPropertyChanged void
OnTitlePropertyChanged void
RenderAxis void
SetShowGridLines void

보호된 메소드들

메소드 설명
CreateAxisLabel ( ) : Control

Creates an axis label.

CreateMajorTickMark ( ) : Line

Creates a major axis tick mark.

CreateTickMark ( Style style ) : Line

Creates a tick mark and applies a style to it.

DisplayAxis ( ) : System

Instantiates a new instance of the DisplayAxis class.

GetLength ( Size availableSize ) : double

Returns the length of the axis given an available size.

Invalidate ( ) : void

Invalidates the axis.

MeasureOverride ( Size availableSize ) : Size

Renders the axis.

OnApplyTemplate ( ) : void

Retrieves template parts and configures layout.

OnAxisLabelStylePropertyChanged ( Style oldValue, Style newValue ) : void

AxisLabelStyleProperty property changed handler.

OnDependentAxesCollectionChanged ( ) : void

Updates the grid lines element if a suitable dependent axis has been added to a radial axis.

OnInvalidated ( RoutedEventArgs args ) : void

Updates the visual appearance of the axis when it is invalidated.

OnLocationPropertyChanged ( AxisLocation oldValue, AxisLocation newValue ) : void

Arranges the grid when the location property is changed.

OnMajorTickMarkStylePropertyChanged ( Style oldValue, Style newValue ) : void

MajorTickMarkStyleProperty property changed handler.

OnOrientationPropertyChanged ( AxisOrientation oldValue, AxisOrientation newValue ) : void

Reformulates the grid when the orientation is changed. Grid is either separated into two columns or two rows. The title is inserted with the outermost section from the edge and an oriented panel is inserted into the innermost section.

OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void

This method is run when the series host property is changed.

OnShowGridLinesPropertyChanged ( bool oldValue, bool newValue ) : void

ShowGridLinesProperty property changed handler.

OnTitlePropertyChanged ( object oldValue, object newValue ) : void

TitleProperty property changed handler.

PrepareAxisLabel ( Control label, object dataContext ) : void

Prepares an axis label to be plotted.

Render ( Size availableSize ) : void

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

비공개 메소드들

메소드 설명
ArrangeAxisGrid ( ) : void

Arranges the elements in the axis grid.

DisplayAxisSizeChanged ( object sender, SizeChangedEventArgs e ) : void

If display axis has just become visible, invalidate.

GetMajorGridLineCoordinates ( Size availableSize ) : IEnumerable
InternalGetMajorGridLinePositions ( ) : IEnumerable

This method is used to share the grid line coordinates with the internal grid lines control.

OnAxisLabelStylePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

AxisLabelStyleProperty property changed handler.

OnGridLinesPropertyChanged ( DisplayAxisGridLines oldValue, DisplayAxisGridLines newValue ) : void

GridLinesProperty property changed handler.

OnMajorTickMarkStylePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MajorTickMarkStyleProperty property changed handler.

OnOrientedPanelSizeChanged ( object sender, SizeChangedEventArgs e ) : void

When the size of the oriented panel changes invalidate the axis.

OnShowGridLinesPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

ShowGridLinesProperty property changed handler.

OnTitlePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

TitleProperty property changed handler.

RenderAxis ( Size availableSize ) : void

Renders the axis if there is a valid value for orientation.

SetShowGridLines ( bool newValue ) : void

Creates and destroys a grid lines element based on the specified value.

메소드 상세

CreateAxisLabel() 보호된 메소드

Creates an axis label.
protected CreateAxisLabel ( ) : Control
리턴 Windows.UI.Xaml.Controls.Control

CreateMajorTickMark() 보호된 메소드

Creates a major axis tick mark.
protected CreateMajorTickMark ( ) : Line
리턴 Line

CreateTickMark() 보호된 메소드

Creates a tick mark and applies a style to it.
protected CreateTickMark ( Style style ) : Line
style Style The style to apply.
리턴 Line

DisplayAxis() 보호된 메소드

Instantiates a new instance of the DisplayAxis class.
protected DisplayAxis ( ) : System
리턴 System

GetLength() 보호된 메소드

Returns the length of the axis given an available size.
protected GetLength ( Size availableSize ) : double
availableSize Size The available size.
리턴 double

Invalidate() 보호된 메소드

Invalidates the axis.
protected Invalidate ( ) : void
리턴 void

MeasureOverride() 보호된 메소드

Renders the axis.
protected MeasureOverride ( Size availableSize ) : Size
availableSize Size The available size.
리턴 Size

OnApplyTemplate() 보호된 메소드

Retrieves template parts and configures layout.
protected OnApplyTemplate ( ) : void
리턴 void

OnAxisLabelStylePropertyChanged() 보호된 메소드

AxisLabelStyleProperty property changed handler.
protected OnAxisLabelStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Style Old value.
newValue Style New value.
리턴 void

OnDependentAxesCollectionChanged() 보호된 메소드

Updates the grid lines element if a suitable dependent axis has been added to a radial axis.
protected OnDependentAxesCollectionChanged ( ) : void
리턴 void

OnInvalidated() 보호된 메소드

Updates the visual appearance of the axis when it is invalidated.
protected OnInvalidated ( RoutedEventArgs args ) : void
args RoutedEventArgs Information for the invalidated event.
리턴 void

OnLocationPropertyChanged() 보호된 메소드

Arranges the grid when the location property is changed.
protected OnLocationPropertyChanged ( AxisLocation oldValue, AxisLocation newValue ) : void
oldValue AxisLocation The old location.
newValue AxisLocation The new location.
리턴 void

OnMajorTickMarkStylePropertyChanged() 보호된 메소드

MajorTickMarkStyleProperty property changed handler.
protected OnMajorTickMarkStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Style Old value.
newValue Style New value.
리턴 void

OnOrientationPropertyChanged() 보호된 메소드

Reformulates the grid when the orientation is changed. Grid is either separated into two columns or two rows. The title is inserted with the outermost section from the edge and an oriented panel is inserted into the innermost section.
protected OnOrientationPropertyChanged ( AxisOrientation oldValue, AxisOrientation newValue ) : void
oldValue AxisOrientation The old value.
newValue AxisOrientation The new value.
리턴 void

OnSeriesHostPropertyChanged() 보호된 메소드

This method is run when the series host property is changed.
protected OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void
oldValue ISeriesHost The old series host.
newValue ISeriesHost The new series host.
리턴 void

OnShowGridLinesPropertyChanged() 보호된 메소드

ShowGridLinesProperty property changed handler.
protected OnShowGridLinesPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
리턴 void

OnTitlePropertyChanged() 보호된 메소드

TitleProperty property changed handler.
protected OnTitlePropertyChanged ( object oldValue, object newValue ) : void
oldValue object Old value.
newValue object New value.
리턴 void

PrepareAxisLabel() 보호된 메소드

Prepares an axis label to be plotted.
protected PrepareAxisLabel ( Control label, object dataContext ) : void
label Control The axis label to prepare.
dataContext object The data context to use for the axis /// label.
리턴 void

Render() 보호된 추상적인 메소드

Renders the axis labels, tick marks, and other visual elements.
protected abstract Render ( Size availableSize ) : void
availableSize Size The available size.
리턴 void

프로퍼티 상세

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

Identifies the AxisLabelStyle dependency property.
public static DependencyProperty AxisLabelStyleProperty
리턴 DependencyProperty

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

Identifies the MajorTickMarkStyle dependency property.
public static DependencyProperty MajorTickMarkStyleProperty
리턴 DependencyProperty

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

Identifies the ShowGridLines dependency property.
public static DependencyProperty ShowGridLinesProperty
리턴 DependencyProperty

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

Identifies the Title dependency property.
public static DependencyProperty TitleProperty
리턴 DependencyProperty

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

Identifies the TitleStyle dependency property.
public static DependencyProperty TitleStyleProperty
리턴 DependencyProperty