Class
DateTimeContinuousAxis

Represents an Axis which plots points along the actual timeline.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DateTimeContinuousAxis : CartesianAxis, IChartElementPresenter, IElementPresenter

Inheritance: objectRadControlPresenterBaseChartElementPresenterAxisLineAxisCartesianAxisDateTimeContinuousAxis

Implements: IChartElementPresenterIElementPresenter

Inherited Members CartesianAxis.HorizontalLocationPropertyCartesianAxis.VerticalLocationPropertyCartesianAxis.HorizontalLocationCartesianAxis.VerticalLocationLineAxis.IsInversePropertyLineAxis.UnapplyTemplateCore()LineAxis.ApplyTemplateCore()LineAxis.IsInverseAxis.LabelRotationAnglePropertyAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LineStylePropertyAxis.TitlePropertyAxis.LabelFormatPropertyAxis.LabelFormatterPropertyAxis.LabelCreatorPropertyAxis.MeasureNodeOverride(Node, object)Axis.OnAttached()Axis.OnDetached(RadChartBase)Axis.OnCreateAutomationPeer()Axis.LabelFormatterAxis.LabelCreatorAxis.LabelRotationAngleAxis.LineStyleAxis.LastLabelVisibilityAxis.LabelFormatAxis.MajorTickOffsetAxis.MajorTickLengthAxis.LabelOffsetAxis.ShowLabelsAxis.LabelFitModeAxis.TitleAxis.LabelTemplateAxis.LabelTemplateSelectorAxis.LabelStyleAxis.TitleTemplateAxis.MajorTickTemplateAxis.MajorTickStyleAxis.TickThicknessAxis.LabelIntervalChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(object)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(Node)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfacePresenterBase.CompositorPresenterBase.ContainerVisualRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

DateTimeContinuousAxis()

Initializes a new instance of the DateTimeContinuousAxis class.

Declaration

cs-api-definition
public DateTimeContinuousAxis()

Fields

GapLengthProperty

Identifies the GapLength dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GapLengthProperty

Field Value

DependencyProperty

MajorStepProperty

Identifies the MajorStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorStepProperty

Field Value

DependencyProperty

MajorStepUnitProperty

Identifies the MajorStepUnit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MajorStepUnitProperty

Field Value

DependencyProperty

MaximumProperty

Identifies the Maximum dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaximumProperty

Field Value

DependencyProperty

MinimumProperty

Identifies the Minimum dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimumProperty

Field Value

DependencyProperty

MinorTickStyleProperty

Identifies the MinorTickStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTickStyleProperty

Field Value

DependencyProperty

MinorTickTemplateProperty

Identifies the MinorTickTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTickTemplateProperty

Field Value

DependencyProperty

MinorTicksPerMajorProperty

Identifies the MinorTicksPerMajor property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinorTicksPerMajorProperty

Field Value

DependencyProperty

PlotStretchProperty

Identifies the PlotStretch dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PlotStretchProperty

Field Value

DependencyProperty

Properties

ActualRange

Gets the actual range used by the axis to plot data points.

Declaration

cs-api-definition
public ValueRange<DateTime> ActualRange { get; }

Property Value

ValueRange<DateTime>

GapLength

Gets or sets the gap (in the range [0, 1]) to be applied when calculating each plotted ChartSeries position.

Declaration

cs-api-definition
public double GapLength { get; set; }

Property Value

double

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.

Declaration

cs-api-definition
public double MajorStep { get; set; }

Property Value

double

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

cs-api-definition
public TimeInterval MajorStepUnit { get; set; }

Property Value

TimeInterval

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.

Declaration

cs-api-definition
public DateTime Maximum { get; set; }

Property Value

DateTime

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.

Declaration

cs-api-definition
public int MaximumTicks { get; set; }

Property Value

int

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.

Declaration

cs-api-definition
public DateTime Minimum { get; set; }

Property Value

DateTime

MinorTickLength

Gets or sets the length of the minor tick.

Declaration

cs-api-definition
public double MinorTickLength { get; set; }

Property Value

double

MinorTickOffset

Gets or sets index-based offset of the first tick to be displayed.

Declaration

cs-api-definition
public int MinorTickOffset { get; set; }

Property Value

int

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

cs-api-definition
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

cs-api-definition
public DataTemplate MinorTickTemplate { get; set; }

Property Value

DataTemplate

MinorTicksPerMajor

Gets or sets the number of minor ticks per major interval.

Declaration

cs-api-definition
public int MinorTicksPerMajor { get; set; }

Property Value

int

PlotMode

Gets or sets the mode which determines how points are plotted by this axis.

Declaration

cs-api-definition
public AxisPlotMode PlotMode { get; set; }

Property Value

AxisPlotMode

PlotStretch

Gets or sets the DateTimePlotStretchMode value that determines the length of each data point plotted by the axis.

Declaration

cs-api-definition
public DateTimePlotStretchMode PlotStretch { get; set; }

Property Value

DateTimePlotStretchMode

Methods

GetTickTemplate(TickType)

Gets the DataTemplate instance used to visualize the a tick with the specified TickType.

Declaration

cs-api-definition
protected override DataTemplate GetTickTemplate(TickType tickType)

Parameters

tickType

TickType

Returns

DataTemplate

Overrides Axis.GetTickTemplate(TickType)