New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public abstract class NumericalAxis : CartesianAxis, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterAxisLineAxisCartesianAxisNumericalAxis...

Derived Classes: LinearAxisLogarithmicAxis

Implements: IChartElementPresenter

Inherited Members CartesianAxis.HorizontalLocationPropertyCartesianAxis.VerticalLocationPropertyCartesianAxis.HorizontalLocationCartesianAxis.VerticalLocationCartesianAxis.IsStepRecalculationOnZoomEnabledLineAxis.IsInversePropertyLineAxis.PanZoomBarStylePropertyLineAxis.OnApplyTemplate()LineAxis.OnAttached()LineAxis.OnDetached(RadChartBase)LineAxis.IsInverseLineAxis.PanZoomBarStyleAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.LineStrokePropertyAxis.LineDashArrayPropertyAxis.TitlePropertyAxis.ElementBrushPropertyAxis.LabelRotationAnglePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LabelFormatPropertyAxis.MeasureNodeOverride(ChartNode, object)Axis.OnInitialized(EventArgs)Axis.OnCreateAutomationPeer()Axis.LineDashArrayAxis.LineStrokeAxis.LineThicknessAxis.MajorTickOffsetAxis.TitleAxis.TitleTemplateAxis.MajorTickTemplateAxis.MajorTickStyleAxis.TickThicknessAxis.MajorTickLengthAxis.ElementBrushAxis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LabelFormatAxis.LabelOffsetAxis.ShowLabelsAxis.LabelFitModeAxis.LabelTemplateAxis.LabelTemplateSelectorAxis.LabelStyleAxis.LabelIntervalAxis.SmartLabelsModeChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied...

Constructors

Initializes a new instance of the NumericalAxis class.

C#
protected NumericalAxis()

Fields

ActualRangeProperty

DependencyProperty

Identifies the ActualRange dependency property.

C#
public static readonly DependencyProperty ActualRangeProperty

ActualVisibleRangeProperty

DependencyProperty

Identifies the ActualVisibleRange dependency property.

C#
public static readonly DependencyProperty ActualVisibleRangeProperty

DesiredTickCountProperty

DependencyProperty

Identifies the DesiredTickCount property.

C#
public static readonly DependencyProperty DesiredTickCountProperty

MaximumProperty

DependencyProperty

Identifies the Maximum dependency property.

C#
public static readonly DependencyProperty MaximumProperty

MinimumProperty

DependencyProperty

Identifies the Minimum dependency property.

C#
public static readonly DependencyProperty MinimumProperty

MinorTicksPerMajorProperty

DependencyProperty

Identifies the MinorTicksPerMajor property.

C#
public static readonly DependencyProperty MinorTicksPerMajorProperty

MinorTickStyleProperty

DependencyProperty

Identifies the MinorTickStyle dependency property.

C#
public static readonly DependencyProperty MinorTickStyleProperty

MinorTickTemplateProperty

DependencyProperty

Identifies the MinorTickTemplate dependency property.

C#
public static readonly DependencyProperty MinorTickTemplateProperty

Identifies the RangeExtendDirection dependency property.

C#
public static readonly DependencyProperty RangeExtendDirectionProperty

Properties

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

C#
public ValueRange<double> ActualRange { get; }

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

C#
public ValueRange<double> ActualVisibleRange { get; }

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

C#
public int DesiredTickCount { get; set; }

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.

C#
[TypeConverter(typeof(StringToDoubleConverter))]
public double Maximum { get; set; }
Remarks:

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

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.

C#
[TypeConverter(typeof(StringToDoubleConverter))]
public double Minimum { get; set; }
Remarks:

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

Gets or sets the length of the minor tick.

C#
public double MinorTickLength { get; set; }

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

C#
public int MinorTickOffset { get; set; }

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

C#
public int MinorTicksPerMajor { get; set; }

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

C#
public Style MinorTickStyle { get; set; }

MinorTickTemplate

DataTemplate

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

C#
public DataTemplate MinorTickTemplate { get; set; }

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.

C#
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }

Methods

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

C#
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters:tickTypeTickTypeReturns:

DataTemplate

Overrides: Axis.GetTickTemplate(TickType)

Events

Occurs when the actual range changes.

C#
public event EventHandler<NumericalRangeChangedEventArgs> ActualRangeChanged

Occurs when the actual visible range changes.

C#
public event EventHandler<NumericalRangeChangedEventArgs> ActualVisibleRangeChanged