ClassLinearAxis
Represents a NumericalAxis which step is linear.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class LinearAxis : NumericalAxis, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterAxisLineAxisCartesianAxisNumericalAxisLinearAxis
Implements:
Inherited Members
Constructors
LinearAxis()
Initializes a new instance of the LinearAxis class.
Declaration
public LinearAxis()
Fields
ActualMajorStepProperty
Identifies the ActualMajorStep dependency property.
Declaration
public static readonly DependencyProperty ActualMajorStepProperty
Field Value
DependencyProperty
MajorStepProperty
Identifies the MajorStep dependency property.
Declaration
public static readonly DependencyProperty MajorStepProperty
Field Value
DependencyProperty
TickOriginProperty
Identifies the TickOrigin dependency property.
Declaration
public static readonly DependencyProperty TickOriginProperty
Field Value
DependencyProperty
Properties
ActualMajorStep
Gets the actual major step.
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
[TypeConverter(typeof(StringToDoubleConverter))]
public double MajorStep { get; set; }
Property Value
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.
Methods
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides
Events
ActualMajorStepChanged
Occurs when the actual major step changes.
Declaration
public event EventHandler ActualMajorStepChanged
Event Value