ClassDateTimeContinuousAxis
Represents an Axis which plots points along the actual timeline.
Definition
Namespace:Telerik.UI.Xaml.Controls.Chart
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class DateTimeContinuousAxis : CartesianAxis, IChartElementPresenter, IElementPresenter
Inheritance: objectRadControlPresenterBaseChartElementPresenterAxisLineAxisCartesianAxisDateTimeContinuousAxis
Implements:
Inherited Members
Constructors
DateTimeContinuousAxis()
Initializes a new instance of the DateTimeContinuousAxis class.
Declaration
public DateTimeContinuousAxis()
Fields
GapLengthProperty
Identifies the GapLength dependency property.
Declaration
public static readonly DependencyProperty GapLengthProperty
Field Value
DependencyProperty
MajorStepProperty
Identifies the MajorStep dependency property.
Declaration
public static readonly DependencyProperty MajorStepProperty
Field Value
DependencyProperty
MajorStepUnitProperty
Identifies the MajorStepUnit dependency property.
Declaration
public static readonly DependencyProperty MajorStepUnitProperty
Field Value
DependencyProperty
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
DependencyProperty
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
DependencyProperty
MinorTickStyleProperty
Identifies the MinorTickStyle dependency property.
Declaration
public static readonly DependencyProperty MinorTickStyleProperty
Field Value
DependencyProperty
MinorTickTemplateProperty
Identifies the MinorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
DependencyProperty
MinorTicksPerMajorProperty
Identifies the MinorTicksPerMajor property.
Declaration
public static readonly DependencyProperty MinorTicksPerMajorProperty
Field Value
DependencyProperty
PlotStretchProperty
Identifies the PlotStretch dependency property.
Declaration
public static readonly DependencyProperty PlotStretchProperty
Field Value
DependencyProperty
Properties
ActualRange
Gets the actual range used by the axis to plot data points.
Declaration
public ValueRange<DateTime> ActualRange { get; }
Property Value
GapLength
Gets or sets the gap (in the range [0, 1]) to be applied when calculating each plotted ChartSeries position.
MajorStep
Gets or sets the user-defined step between two adjacent ticks on the axis. Specify Zero to clear the value. If not specified, the step will be automatically determined, depending on the smallest difference between any two dates.
MajorStepUnit
Gets or sets the unit that defines the custom major step of the axis. If no explicit step is defined, the axis will automatically calculate one, depending on the smallest difference between any two dates.
Declaration
public TimeInterval MajorStepUnit { get; set; }
Property Value
Maximum
Gets or sets the custom maximum of the axis. Specify DateTime.MaxValue to clear the property value so that the maximum is auto-generated.
MaximumTicks
Gets or sets the maximum ticks that might be displayed on the axis. This property is useful in some corner cases when ticks may become a really big number.
Minimum
Gets or sets the custom minimum of the axis. Specify DateTime.MinValue to clear the property value so that the minimum is auto-generated.
MinorTickLength
Gets or sets the length of the minor tick.
MinorTickOffset
Gets or sets index-based offset of the first tick to be displayed.
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
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
public DataTemplate MinorTickTemplate { get; set; }
Property Value
DataTemplate
MinorTicksPerMajor
Gets or sets the number of minor ticks per major interval.
PlotMode
Gets or sets the mode which determines how points are plotted by this axis.
Declaration
public AxisPlotMode PlotMode { get; set; }
Property Value
PlotStretch
Gets or sets the DateTimePlotStretchMode value that determines the length of each data point plotted by the axis.
Declaration
public DateTimePlotStretchMode PlotStretch { get; set; }
Property Value
Methods
GetTickTemplate(TickType)
Gets the DataTemplate instance used to visualize the a tick with the specified TickType.
Declaration
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters
tickType
Returns
DataTemplate
Overrides