• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class NumericalAxis

Base class for all axes that use numbers to plot associated points.

Inheritance
System.Object
RadControlBase
PresenterBase
ChartElementPresenter
Axis
LineAxis
CartesianAxis
NumericalAxis
LinearAxis
LogarithmicAxis
Inherited Members
CartesianAxis.HorizontalLocationProperty
CartesianAxis.VerticalLocationProperty
CartesianAxis.HorizontalLocation
CartesianAxis.VerticalLocation
CartesianAxis.IsStepRecalculationOnZoomEnabled
LineAxis.IsInverseProperty
LineAxis.PanZoomBarStyleProperty
LineAxis.OnApplyTemplate()
LineAxis.IChartElementPresenter.MeasureVisual(ChartNode, RadSize)
LineAxis.OnAttached()
LineAxis.OnDetached(RadChartBase)
LineAxis.IsInverse
LineAxis.PanZoomBarStyle
Axis.LabelRotationAngleProperty
Axis.ShowLabelsProperty
Axis.LabelIntervalProperty
Axis.LabelFitModeProperty
Axis.LabelTemplateProperty
Axis.LabelTemplateSelectorProperty
Axis.LabelStyleProperty
Axis.LabelFormatProperty
Axis.MajorTickTemplateProperty
Axis.MajorTickStyleProperty
Axis.TitleTemplateProperty
Axis.LineStrokeProperty
Axis.LineDashArrayProperty
Axis.TitleProperty
Axis.ElementBrushProperty
Axis.MeasureNodeOverride(ChartNode, Object)
Axis.OnInitialized(EventArgs)
Axis.OnCreateAutomationPeer()
Axis.LabelRotationAngle
Axis.LastLabelVisibility
Axis.LabelFormat
Axis.LabelOffset
Axis.ShowLabels
Axis.LabelFitMode
Axis.LabelTemplate
Axis.LabelTemplateSelector
Axis.LabelStyle
Axis.LabelInterval
Axis.SmartLabelsMode
Axis.LineDashArray
Axis.LineStroke
Axis.LineThickness
Axis.MajorTickOffset
Axis.Title
Axis.TitleTemplate
Axis.MajorTickTemplate
Axis.MajorTickStyle
Axis.TickThickness
Axis.MajorTickLength
Axis.ElementBrush
ChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)
ChartElementPresenter.ZIndex
ChartElementPresenter.Chart
PresenterBase.InfinitySize
PresenterBase.InfinityPoint
PresenterBase.IChartElementPresenter.MeasureContent(ChartNode, Object)
PresenterBase.RefreshNode(ChartNode)
PresenterBase.InvalidatePalette()
PresenterBase.RefreshNodeCore(ChartNode)
PresenterBase.CreateContentPresenter(Object, DataTemplate)
PresenterBase.IChartElementPresenter.IsVisible
PresenterBase.RenderSurface
RadControlBase.OnUnloaded(Object, RoutedEventArgs)
RadControlBase.OnLoaded(Object, RoutedEventArgs)
RadControlBase.IsLoaded
RadControlBase.IsTemplateApplied
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll

Syntax

public abstract class NumericalAxis : CartesianAxis, IChartElementPresenterWithMargin, IChartElementPresenter

Constructors

NumericalAxis()

Initializes a new instance of the NumericalAxis class.

Declaration
protected NumericalAxis()

Fields

ActualRangeProperty

Identifies the ActualRange dependency property.

Declaration
public static readonly DependencyProperty ActualRangeProperty
Field Value
System.Windows.DependencyProperty

ActualVisibleRangeProperty

Identifies the ActualVisibleRange dependency property.

Declaration
public static readonly DependencyProperty ActualVisibleRangeProperty
Field Value
System.Windows.DependencyProperty

DesiredTickCountProperty

Identifies the DesiredTickCount property.

Declaration
public static readonly DependencyProperty DesiredTickCountProperty
Field Value
System.Windows.DependencyProperty

MaximumProperty

Identifies the Maximum dependency property.

Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
System.Windows.DependencyProperty

MinimumProperty

Identifies the Minimum dependency property.

Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
System.Windows.DependencyProperty

MinorTicksPerMajorProperty

Identifies the MinorTicksPerMajor property.

Declaration
public static readonly DependencyProperty MinorTicksPerMajorProperty
Field Value
System.Windows.DependencyProperty

MinorTickStyleProperty

Identifies the MinorTickStyle dependency property.

Declaration
public static readonly DependencyProperty MinorTickStyleProperty
Field Value
System.Windows.DependencyProperty

MinorTickTemplateProperty

Identifies the MinorTickTemplate dependency property.

Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
System.Windows.DependencyProperty

RangeExtendDirectionProperty

Identifies the RangeExtendDirection dependency property.

Declaration
public static readonly DependencyProperty RangeExtendDirectionProperty
Field Value
System.Windows.DependencyProperty

Properties

ActualRange

Gets the actual range used by the axis to plot data points.

Declaration
public ValueRange<double> ActualRange { get; }
Property Value
ValueRange<System.Double>

ActualVisibleRange

Gets the range that is actually visible on the plot area when the chart is zoomed in.

Declaration
public ValueRange<double> ActualVisibleRange { get; }
Property Value
ValueRange<System.Double>

DesiredTickCount

Gets or sets the user-defined number of major ticks presented on the axis.

Declaration
public int DesiredTickCount { get; set; }
Property Value
System.Int32

Maximum

Gets or sets the user-defined maximum of the axis. By default the axis itself will calculate the maximum, depending on the maximum of the plotted data points.

Declaration
public double Maximum { get; set; }
Property Value
System.Double

Remarks

You can reset this property by setting it to double.PositiveInfinity to restore the default behavior.

Minimum

Gets or sets the user-defined minimum of the axis. By default the axis itself will calculate the minimum, depending on the minimum of the plotted data points.

Declaration
public double Minimum { get; set; }
Property Value
System.Double

Remarks

You can reset this property by setting it to double.NegativeInfinity to restore the default behavior.

MinorTickLength

Gets or sets the length of the minor tick.

Declaration
public double MinorTickLength { get; set; }
Property Value
System.Double

MinorTickOffset

Gets or sets index-based offset of the first tick to be displayed.

Declaration
public int MinorTickOffset { get; set; }
Property Value
System.Int32

MinorTicksPerMajor

Gets or sets the number of minor ticks per major interval.

Declaration
public int MinorTicksPerMajor { get; set; }
Property Value
System.Int32

MinorTickStyle

Gets or sets the style for each System.Windows.Shapes.Rectangle instance created to represent a minor tick when no MinorTickTemplate is specified. Creating a System.Windows.Shapes.Rectangle instance per tick instead of a System.Windows.Controls.ContentPresenter gives a huge performance boost.

Declaration
public Style MinorTickStyle { get; set; }
Property Value
System.Windows.Style

MinorTickTemplate

Gets or sets the template that defines the appearance of all minor ticks present on the axis.

Declaration
public DataTemplate MinorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate

RangeExtendDirection

Gets or sets a value that specifies how the auto-range of this axis will be extended so that each data point is visualized in the best possible way.

Declaration
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }
Property Value
NumericalAxisRangeExtendDirection

Methods

GetTickTemplate(TickType)

Gets the System.Windows.DataTemplate instance used to visualize the a tick with the specified TickType.

Declaration
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters
TickType tickType

Returns
System.Windows.DataTemplate

Overrides
Axis.GetTickTemplate(TickType)

Events

ActualRangeChanged

Occurs when the actual range changes.

Declaration
public event EventHandler<NumericalRangeChangedEventArgs> ActualRangeChanged
Event Type
System.EventHandler<NumericalRangeChangedEventArgs>

ActualVisibleRangeChanged

Occurs when the actual visible range changes.

Declaration
public event EventHandler<NumericalRangeChangedEventArgs> ActualVisibleRangeChanged
Event Type
System.EventHandler<NumericalRangeChangedEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.