Class
LinearAxis

Represents a NumericalAxis which step is linear.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
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.LabelRotationAnglePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LabelFormatPropertyAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.LineStrokePropertyAxis.LineDashArrayPropertyAxis.TitlePropertyAxis.ElementBrushPropertyAxis.MeasureNodeOverride(ChartNode, object)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

LinearAxis()

Initializes a new instance of the LinearAxis class.

Declaration

cs-api-definition
public LinearAxis()

Fields

ActualMajorStepProperty

Identifies the ActualMajorStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualMajorStepProperty

Field Value

DependencyProperty

MajorStepProperty

Identifies the MajorStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorStepProperty

Field Value

DependencyProperty

TickOriginProperty

Identifies the TickOrigin dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TickOriginProperty

Field Value

DependencyProperty

Properties

ActualMajorStep

Gets the actual major step.

Declaration

cs-api-definition
public double ActualMajorStep { get; }

Property Value

double

MajorStep

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.

Declaration

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

Property Value

double

Remarks

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

TickOrigin

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.

Declaration

cs-api-definition
public decimal? TickOrigin { get; set; }

Property Value

decimal?

Methods

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides Axis.OnInitialized(EventArgs)

Events

ActualMajorStepChanged

Occurs when the actual major step changes.

Declaration

cs-api-definition
public event EventHandler ActualMajorStepChanged

Event Value

EventHandler