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

An axis class used to determine the plot area coordinate of values.
Inheritance: Windows.UI.Xaml.Controls.Control, IAxis
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
LocationProperty DependencyProperty
OrientationProperty DependencyProperty

Public Methods

Method Description
CanPlot ( object value ) : bool

Returns a value indicating whether the axis can plot a value.

GetPlotAreaCoordinate ( object value ) : UnitValue

The plot area coordinate of a value.

Protected Methods

Method Description
Axis ( ) : System

Instantiates a new instance of the Axis class.

OnDependentAxesCollectionChanged ( ) : void

Child axes collection changed.

OnInvalidated ( RoutedEventArgs args ) : void

Raises the invalidated event.

OnLocationPropertyChanged ( AxisLocation oldValue, AxisLocation newValue ) : void

LocationProperty property changed handler.

OnObjectRegistered ( IAxisListener series ) : void

This method is invoked when a series is registered.

OnObjectUnregistered ( IAxisListener series ) : void

This method is invoked when a series is unregistered.

OnOrientationPropertyChanged ( AxisOrientation oldValue, AxisOrientation newValue ) : void

OrientationProperty property changed handler.

Private Methods

Method Description
OnChildAxesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Child axes collection changed.

OnLocationPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

LocationProperty property changed handler.

OnOrientationPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

OrientationProperty property changed handler.

RegisteredListenersCollectionChanged ( object sender, System e ) : void

This event is raised when the registered listeners collection is changed.

Method Details

Axis() protected method

Instantiates a new instance of the Axis class.
protected Axis ( ) : System
return System

CanPlot() public abstract method

Returns a value indicating whether the axis can plot a value.
public abstract CanPlot ( object value ) : bool
value object The value to plot.
return bool

GetPlotAreaCoordinate() public abstract method

The plot area coordinate of a value.
public abstract GetPlotAreaCoordinate ( object value ) : UnitValue
value object The value for which to retrieve the plot area /// coordinate.
return UnitValue

OnDependentAxesCollectionChanged() protected method

Child axes collection changed.
protected OnDependentAxesCollectionChanged ( ) : void
return void

OnInvalidated() protected method

Raises the invalidated event.
protected OnInvalidated ( RoutedEventArgs args ) : void
args RoutedEventArgs Information about the event.
return void

OnLocationPropertyChanged() protected method

LocationProperty property changed handler.
protected OnLocationPropertyChanged ( AxisLocation oldValue, AxisLocation newValue ) : void
oldValue AxisLocation Old value.
newValue AxisLocation New value.
return void

OnObjectRegistered() protected method

This method is invoked when a series is registered.
protected OnObjectRegistered ( IAxisListener series ) : void
series IAxisListener The series that has been registered.
return void

OnObjectUnregistered() protected method

This method is invoked when a series is unregistered.
protected OnObjectUnregistered ( IAxisListener series ) : void
series IAxisListener The series that has been unregistered.
return void

OnOrientationPropertyChanged() protected method

OrientationProperty property changed handler.
protected OnOrientationPropertyChanged ( AxisOrientation oldValue, AxisOrientation newValue ) : void
oldValue AxisOrientation Old value.
newValue AxisOrientation New value.
return void

Property Details

LocationProperty public_oe static_oe property

Identifies the Location dependency property.
public static DependencyProperty LocationProperty
return DependencyProperty

OrientationProperty public_oe static_oe property

Identifies the Orientation dependency property.
public static DependencyProperty OrientationProperty
return DependencyProperty