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

An axis that displays numeric values.
Inheritance: RangeAxis
显示文件 Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
ActualMaximumProperty Windows.UI.Xaml.DependencyProperty
ActualMinimumProperty Windows.UI.Xaml.DependencyProperty
ExtendRangeToOriginProperty Windows.UI.Xaml.DependencyProperty
MaximumProperty Windows.UI.Xaml.DependencyProperty
MinimumProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
CanPlot ( object value ) : bool

Returns a value indicating whether a value can plot.

Protected Methods

Method Description
CreateAxisLabel ( ) : Control

Returns a numeric axis label.

NumericAxis ( ) : System

Instantiates a new instance of the NumericAxis class.

OnActualRangeChanged ( Range range ) : void

Updates the typed actual maximum and minimum properties when the actual range changes.

OnExtendRangeToOriginPropertyChanged ( bool oldValue, bool newValue ) : void

ExtendRangeToOriginProperty property changed handler.

OnMaximumPropertyChanged ( double newValue ) : void

MaximumProperty property changed handler.

OnMinimumPropertyChanged ( double newValue ) : void

MinimumProperty property changed handler.

OverrideDataRange ( Range range ) : Range

Overrides the data value range and returns a range that takes the margins of the values into account.

Private Methods

Method Description
OnExtendRangeToOriginPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

ExtendRangeToOriginProperty property changed handler.

OnMaximumPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MaximumProperty property changed handler.

OnMinimumPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

MinimumProperty property changed handler.

Method Details

CanPlot() public method

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

CreateAxisLabel() protected method

Returns a numeric axis label.
protected CreateAxisLabel ( ) : Control
return Windows.UI.Xaml.Controls.Control

NumericAxis() protected method

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

OnActualRangeChanged() protected method

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

OnExtendRangeToOriginPropertyChanged() protected method

ExtendRangeToOriginProperty property changed handler.
protected OnExtendRangeToOriginPropertyChanged ( bool oldValue, bool newValue ) : void
oldValue bool Old value.
newValue bool New value.
return void

OnMaximumPropertyChanged() protected method

MaximumProperty property changed handler.
protected OnMaximumPropertyChanged ( double newValue ) : void
newValue double New value.
return void

OnMinimumPropertyChanged() protected method

MinimumProperty property changed handler.
protected OnMinimumPropertyChanged ( double newValue ) : void
newValue double New value.
return void

OverrideDataRange() protected method

Overrides the data value range and returns a range that takes the margins of the values into account.
protected OverrideDataRange ( Range range ) : Range
range Range The range of data values.
return Range

Property Details

ActualMaximumProperty public_oe static_oe property

Identifies the ActualMaximum dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualMaximumProperty
return Windows.UI.Xaml.DependencyProperty

ActualMinimumProperty public_oe static_oe property

Identifies the ActualMinimum dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualMinimumProperty
return Windows.UI.Xaml.DependencyProperty

ExtendRangeToOriginProperty public_oe static_oe property

Identifies the ExtendRangeToOrigin dependency property.
public static DependencyProperty,Windows.UI.Xaml ExtendRangeToOriginProperty
return Windows.UI.Xaml.DependencyProperty

MaximumProperty public_oe static_oe property

Identifies the Maximum dependency property.
public static DependencyProperty,Windows.UI.Xaml MaximumProperty
return Windows.UI.Xaml.DependencyProperty

MinimumProperty public_oe static_oe property

Identifies the Minimum dependency property.
public static DependencyProperty,Windows.UI.Xaml MinimumProperty
return Windows.UI.Xaml.DependencyProperty