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