Show / Hide Table of Contents

Class NumericAxis

An axis that displays numeric values.

Inheritance
System.Object
DependencyObject
UIElement
FrameworkElement
Control
Axis
DisplayAxis
RangeAxis
NumericAxis
LinearAxis
Implements
IRequireSeriesHost
IRangeAxis
IAxis
IRangeConsumer
IValueMarginConsumer
Inherited Members
RangeAxis.MinorTickMarkStyle
RangeAxis.MinorTickMarkStyleProperty
RangeAxis.ActualRange
RangeAxis.ProtectedMaximum
RangeAxis.ProtectedMinimum
RangeAxis.CreateMinorTickMark()
RangeAxis.GetPlotAreaCoordinate(Object)
RangeAxis.GetPlotAreaCoordinate(Object, Double)
RangeAxis.GetPlotAreaCoordinate(Object, Range<IComparable>, Double)
RangeAxis.Render(Size)
RangeAxis.GetMajorGridLineCoordinates(Size)
RangeAxis.GetMajorGridLineValues(Size)
RangeAxis.GetMajorTickMarkValues(Size)
RangeAxis.GetMinorTickMarkValues(Size)
RangeAxis.GetLabelValues(Size)
RangeAxis.GetValueAtPosition(UnitValue)
RangeAxis.IRangeAxis.Range
RangeAxis.IRangeAxis.GetValueAtPosition(UnitValue)
RangeAxis.IRangeConsumer.RangeChanged(IRangeProvider, Range<IComparable>)
RangeAxis.IValueMarginConsumer.ValueMarginsChanged(IValueMarginProvider, IEnumerable<ValueMargin>)
RangeAxis.OnObjectRegistered(IAxisListener)
RangeAxis.OnObjectUnregistered(IAxisListener)
RangeAxis.IRangeAxis.Origin
DisplayAxis.MaximumAxisIntervalsPer200Pixels
DisplayAxis.AxisGridName
DisplayAxis.AxisTitleName
DisplayAxis.AxisLabelStyle
DisplayAxis.AxisLabelStyleProperty
DisplayAxis.OnAxisLabelStylePropertyChanged(Style, Style)
DisplayAxis.ActualLength
DisplayAxis.GetLength(Size)
DisplayAxis.MajorTickMarkStyle
DisplayAxis.MajorTickMarkStyleProperty
DisplayAxis.OnMajorTickMarkStylePropertyChanged(Style, Style)
DisplayAxis.Title
DisplayAxis.TitleProperty
DisplayAxis.OnTitlePropertyChanged(Object, Object)
DisplayAxis.TitleStyle
DisplayAxis.TitleStyleProperty
DisplayAxis.ShowGridLines
DisplayAxis.ShowGridLinesProperty
DisplayAxis.OnShowGridLinesPropertyChanged(Boolean, Boolean)
DisplayAxis.GridLineStyle
DisplayAxis.GridLineStyleProperty
DisplayAxis.CreateMajorTickMark()
DisplayAxis.CreateTickMark(Style)
DisplayAxis.OnDependentAxesCollectionChanged()
DisplayAxis.PrepareAxisLabel(Control, Object)
DisplayAxis.OnApplyTemplate()
DisplayAxis.OnLocationPropertyChanged(AxisLocation, AxisLocation)
DisplayAxis.MeasureOverride(Size)
DisplayAxis.OnOrientationPropertyChanged(AxisOrientation, AxisOrientation)
DisplayAxis.OnInvalidated(RoutedEventArgs)
DisplayAxis.Invalidate()
DisplayAxis.SeriesHost
DisplayAxis.OnSeriesHostPropertyChanged(ISeriesHost, ISeriesHost)
Axis.Location
Axis.LocationProperty
Axis.LocationChanged
Axis.DependentAxes
Axis.Orientation
Axis.OrientationProperty
Axis.OrientationChanged
Axis.RegisteredListeners
Control.EnableBaseControlHandlingOfVisualStates
Control.ManageIsEnabled(Boolean)
Control.Background
Control.BackgroundProperty
Control.BorderBrush
Control.BorderBrushProperty
Control.BorderThickness
Control.BorderThicknessProperty
Control.FontWeight
Control.FontWeightProperty
Control.FontStyle
Control.FontStyleProperty
Control.Foreground
Control.ForegroundProperty
Control.FontFamily
Control.FontFamilyProperty
Control.FontSize
Control.FontSizeProperty
Control.TextDecorations
Control.TextDecorationsProperty
Control.Padding
Control.PaddingProperty
Control.HorizontalContentAlignment
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignment
Control.VerticalContentAlignmentProperty
Control.TabIndex
Control.TabIndexProperty
Control.IsTabStop
Control.IsTabStopProperty
Control.TabNavigation
Control.TabNavigationProperty
Control.Template
Control.TemplateProperty
Control.ApplyTemplate()
Control.GetTemplateChild(String)
Control.Focus()
Control.HandlesScrolling
Control.OnGotFocus(RoutedEventArgs)
Control.OnLostFocus(RoutedEventArgs)
Control.CreateDomElement(Object, Object)
Control.CharacterSpacingProperty
Control.CharacterSpacing
Control.FontStretchProperty
Control.FontStretch
Control.OnDrop(DragEventArgs)
Control.OnDragEnter(DragEventArgs)
Control.OnDragLeave(DragEventArgs)
Control.OnTextInputUpdate(TextCompositionEventArgs)
Control.ArrangeOverride(Size)
FrameworkElement.LayoutUpdated
FrameworkElement.SizeChanged
FrameworkElement.ResourceLookupMode
FrameworkElement.StyleProperty
FrameworkElement.Style
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.DefaultStyleKey
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.OverridesDefaultStyle
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.VisualChildrenCount
FrameworkElement.GetVisualChild(Int32)
FrameworkElement.Parent
FrameworkElement.AddLogicalChild(Object)
FrameworkElement.RemoveLogicalChild(Object)
FrameworkElement.LogicalChildren
FrameworkElement.TemplatedParent
FrameworkElement.Resources
FrameworkElement.IsLoaded
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetBinding(DependencyProperty, Binding)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.Cursor
FrameworkElement.CursorProperty
FrameworkElement.FindName(String)
FrameworkElement.Name
FrameworkElement.NameProperty
FrameworkElement.DataContext
FrameworkElement.DataContextProperty
FrameworkElement.DataContextChanged
FrameworkElement.Triggers
FrameworkElement.FlowDirectionProperty
FrameworkElement.FlowDirection
FrameworkElement.LanguageProperty
FrameworkElement.Language
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.Tag
FrameworkElement.TagProperty
FrameworkElement.LoadedEvent
FrameworkElement.Loaded
FrameworkElement.Unloaded
FrameworkElement.BindingValidationError
FrameworkElement.ContextMenuProperty
FrameworkElement.ContextMenu
FrameworkElement.ContextMenuOpening
FrameworkElement.ToolTipProperty
FrameworkElement.ToolTip
FrameworkElement.INTERNAL_OnDetachedFromVisualTree()
FrameworkElement.INTERNAL_OnAttachedToVisualTree()
FrameworkElement.Height
FrameworkElement.HeightProperty
FrameworkElement.Width
FrameworkElement.WidthProperty
FrameworkElement.HorizontalAlignment
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignment
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.Margin
FrameworkElement.MarginProperty
FrameworkElement.MinHeight
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidth
FrameworkElement.MinWidthProperty
FrameworkElement.MaxHeight
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidth
FrameworkElement.MaxWidthProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualWidth
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualHeight
UIElement.TransformToVisual(UIElement)
UIElement.OnCreateAutomationPeer()
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.OnMouseWheel(MouseWheelEventArgs)
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public abstract class NumericAxis : RangeAxis, IControl, IFrameworkElement, IUIElement, IDependencyObject, IRequireSeriesHost, IRangeAxis, IAxis, IRangeConsumer, IValueMarginConsumer

Constructors

| Improve this Doc View Source

NumericAxis()

Instantiates a new instance of the NumericAxis class.

Declaration
protected NumericAxis()

Fields

| Improve this Doc View Source

ActualMaximumProperty

Identifies the ActualMaximum dependency property.

Declaration
public static readonly DependencyProperty ActualMaximumProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ActualMinimumProperty

Identifies the ActualMinimum dependency property.

Declaration
public static readonly DependencyProperty ActualMinimumProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ExtendRangeToOriginProperty

Identifies the ExtendRangeToOrigin dependency property.

Declaration
public static readonly DependencyProperty ExtendRangeToOriginProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MaximumProperty

Identifies the Maximum dependency property.

Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

MinimumProperty

Identifies the Minimum dependency property.

Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

ActualMaximum

Gets the actual maximum value plotted on the chart.

Declaration
public double? ActualMaximum { get; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

ActualMinimum

Gets the actual maximum value plotted on the chart.

Declaration
public double? ActualMinimum { get; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

ExtendRangeToOrigin

Gets or sets a value indicating whether to always show the origin.

Declaration
public bool ExtendRangeToOrigin { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Maximum

Gets or sets the maximum value plotted on the axis.

Declaration
[TypeConverter(typeof(NullableConverter<double>))]
public double? Maximum { get; set; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

Minimum

Gets or sets the minimum value to plot on the axis.

Declaration
[TypeConverter(typeof(NullableConverter<double>))]
public double? Minimum { get; set; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

Origin

Gets the origin value on the axis.

Declaration
protected override IComparable Origin { get; }
Property Value
Type Description
System.IComparable
Overrides
RangeAxis.Origin

Methods

| Improve this Doc View Source

CanPlot(Object)

Returns a value indicating whether a value can plot.

Declaration
public override bool CanPlot(object value)
Parameters
Type Name Description
System.Object value

The value to plot.

Returns
Type Description
System.Boolean

A value indicating whether a value can plot.

Overrides
Axis.CanPlot(Object)
| Improve this Doc View Source

CreateAxisLabel()

Returns a numeric axis label.

Declaration
protected override Control CreateAxisLabel()
Returns
Type Description
Control

A numeric axis label.

Overrides
DisplayAxis.CreateAxisLabel()
| Improve this Doc View Source

OnActualRangeChanged(Range<IComparable>)

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

Declaration
protected override void OnActualRangeChanged(Range<IComparable> range)
Parameters
Type Name Description
Range<System.IComparable> range

The actual range.

Overrides
RangeAxis.OnActualRangeChanged(Range<IComparable>)
| Improve this Doc View Source

OnExtendRangeToOriginPropertyChanged(Boolean, Boolean)

ExtendRangeToOriginProperty property changed handler.

Declaration
protected virtual void OnExtendRangeToOriginPropertyChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
System.Boolean oldValue

Old value.

System.Boolean newValue

New value.

| Improve this Doc View Source

OnMaximumPropertyChanged(Nullable<Double>)

MaximumProperty property changed handler.

Declaration
protected virtual void OnMaximumPropertyChanged(double? newValue)
Parameters
Type Name Description
System.Nullable<System.Double> newValue

New value.

| Improve this Doc View Source

OnMinimumPropertyChanged(Nullable<Double>)

MinimumProperty property changed handler.

Declaration
protected virtual void OnMinimumPropertyChanged(double? newValue)
Parameters
Type Name Description
System.Nullable<System.Double> newValue

New value.

| Improve this Doc View Source

OverrideDataRange(Range<IComparable>)

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

Declaration
protected override Range<IComparable> OverrideDataRange(Range<IComparable> range)
Parameters
Type Name Description
Range<System.IComparable> range

The range of data values.

Returns
Type Description
Range<System.IComparable>

A range that can store both the data values and their margins.

Overrides
RangeAxis.OverrideDataRange(Range<IComparable>)

Implements

IRequireSeriesHost
IRangeAxis
IAxis
IRangeConsumer
IValueMarginConsumer

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
VisualTreeExtensions.GetBoundsRelativeTo(FrameworkElement, UIElement)
VisualTreeExtensions.InvokeOnLayoutUpdated(FrameworkElement, Action)
  • Improve this Doc
  • View Source