Class
NumericalAxis

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:

cs-api-definition
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.LabelRotationAnglePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LabelFormatPropertyAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.LineStrokePropertyAxis.LineDashArrayPropertyAxis.TitlePropertyAxis.ElementBrushPropertyAxis.MeasureNodeOverride(ChartNode, object)Axis.OnInitialized(EventArgs)Axis.OnCreateAutomationPeer()Axis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LabelFormatAxis.LabelOffsetAxis.ShowLabelsAxis.LabelFitModeAxis.LabelTemplateAxis.LabelTemplateSelectorAxis.LabelStyleAxis.LabelIntervalAxis.SmartLabelsModeAxis.LineDashArrayAxis.LineStrokeAxis.LineThicknessAxis.MajorTickOffsetAxis.TitleAxis.TitleTemplateAxis.MajorTickTemplateAxis.MajorTickStyleAxis.TickThicknessAxis.MajorTickLengthAxis.ElementBrushChartElementPresenter.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

NumericalAxis()

Initializes a new instance of the NumericalAxis class.

Declaration

cs-api-definition
protected NumericalAxis()

Fields

ActualRangeProperty

Identifies the ActualRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualRangeProperty

Field Value

DependencyProperty

ActualVisibleRangeProperty

Identifies the ActualVisibleRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualVisibleRangeProperty

Field Value

DependencyProperty

DesiredTickCountProperty

Identifies the DesiredTickCount property.

Declaration

cs-api-definition
public static readonly DependencyProperty DesiredTickCountProperty

Field Value

DependencyProperty

MaximumProperty

Identifies the Maximum dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaximumProperty

Field Value

DependencyProperty

MinimumProperty

Identifies the Minimum dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimumProperty

Field Value

DependencyProperty

MinorTickStyleProperty

Identifies the MinorTickStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTickStyleProperty

Field Value

DependencyProperty

MinorTickTemplateProperty

Identifies the MinorTickTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTickTemplateProperty

Field Value

DependencyProperty

MinorTicksPerMajorProperty

Identifies the MinorTicksPerMajor property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTicksPerMajorProperty

Field Value

DependencyProperty

RangeExtendDirectionProperty

Identifies the RangeExtendDirection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RangeExtendDirectionProperty

Field Value

DependencyProperty

Properties

ActualRange

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

Declaration

cs-api-definition
public ValueRange<double> ActualRange { get; }

Property Value

ValueRange<double>

ActualVisibleRange

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

Declaration

cs-api-definition
public ValueRange<double> ActualVisibleRange { get; }

Property Value

ValueRange<double>

DesiredTickCount

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

Declaration

cs-api-definition
public int DesiredTickCount { get; set; }

Property Value

int

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

cs-api-definition
[TypeConverter(typeof(StringToDoubleConverter))]
public double Maximum { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(StringToDoubleConverter))]
public double Minimum { get; set; }

Property Value

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

cs-api-definition
public double MinorTickLength { get; set; }

Property Value

double

MinorTickOffset

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

Declaration

cs-api-definition
public int MinorTickOffset { get; set; }

Property Value

int

MinorTickStyle

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.

Declaration

cs-api-definition
public Style MinorTickStyle { get; set; }

Property Value

Style

MinorTickTemplate

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

Declaration

cs-api-definition
public DataTemplate MinorTickTemplate { get; set; }

Property Value

DataTemplate

MinorTicksPerMajor

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

Declaration

cs-api-definition
public int MinorTicksPerMajor { get; set; }

Property Value

int

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

cs-api-definition
public NumericalAxisRangeExtendDirection RangeExtendDirection { get; set; }

Property Value

NumericalAxisRangeExtendDirection

Methods

GetTickTemplate(TickType)

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

Declaration

cs-api-definition
protected override DataTemplate GetTickTemplate(TickType tickType)

Parameters

tickType

TickType

Returns

DataTemplate

Overrides Axis.GetTickTemplate(TickType)

Events

ActualRangeChanged

Occurs when the actual range changes.

Declaration

cs-api-definition
public event EventHandler<NumericalRangeChangedEventArgs> ActualRangeChanged

Event Value

EventHandler<NumericalRangeChangedEventArgs>

ActualVisibleRangeChanged

Occurs when the actual visible range changes.

Declaration

cs-api-definition
public event EventHandler<NumericalRangeChangedEventArgs> ActualVisibleRangeChanged

Event Value

EventHandler<NumericalRangeChangedEventArgs>