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

Represents a NumericalAxis which step is linear.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class LinearAxis : NumericalAxis, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterAxisLineAxisCartesianAxisNumericalAxisLinearAxis...

Implements: IChartElementPresenter

Inherited Members NumericalAxis.ActualRangePropertyNumericalAxis.ActualVisibleRangePropertyNumericalAxis.MinimumPropertyNumericalAxis.MaximumPropertyNumericalAxis.RangeExtendDirectionPropertyNumericalAxis.DesiredTickCountPropertyNumericalAxis.MinorTicksPerMajorPropertyNumericalAxis.MinorTickTemplatePropertyNumericalAxis.MinorTickStylePropertyNumericalAxis.GetTickTemplate(TickType)NumericalAxis.ActualRangeNumericalAxis.ActualVisibleRangeNumericalAxis.MinimumNumericalAxis.MaximumNumericalAxis.RangeExtendDirectionNumericalAxis.DesiredTickCountNumericalAxis.MinorTicksPerMajorNumericalAxis.MinorTickTemplateNumericalAxis.MinorTickStyleNumericalAxis.MinorTickOffsetNumericalAxis.MinorTickLengthNumericalAxis.ActualRangeChangedNumericalAxis.ActualVisibleRangeChangedCartesianAxis.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.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 LinearAxis class.

C#
public LinearAxis()

Fields

ActualMajorStepProperty

DependencyProperty

Identifies the ActualMajorStep dependency property.

C#
public static readonly DependencyProperty ActualMajorStepProperty

MajorStepProperty

DependencyProperty

Identifies the MajorStep dependency property.

C#
public static readonly DependencyProperty MajorStepProperty

TickOriginProperty

DependencyProperty

Identifies the TickOrigin dependency property.

C#
public static readonly DependencyProperty TickOriginProperty

Properties

Gets the actual major step.

C#
public double ActualMajorStep { get; }

Gets or sets the major step between each axis tick. By default the axis itself will calculate the major step, depending on the plotted data points.

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

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

Gets or sets a value that indicates where the ticks originate. The position of the ticks is determined based on the combination of the MajorStep and TickOrigin values. The axis will generate the ticks and labels in a way so that a label would be positioned at the given TickOrigin.

C#
public decimal? TickOrigin { get; set; }

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: Axis.OnInitialized(EventArgs)

Events

Occurs when the actual major step changes.

C#
public event EventHandler ActualMajorStepChanged