New to Telerik UI for WPFStart a free 30-day trial

Represents an Axis which plots points along the actual timeline.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class DateTimeContinuousAxis : CartesianAxis, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterAxisLineAxisCartesianAxisDateTimeContinuousAxis...

Implements: IChartElementPresenter

Inherited Members CartesianAxis.HorizontalLocationPropertyCartesianAxis.VerticalLocationPropertyCartesianAxis.HorizontalLocationCartesianAxis.VerticalLocationCartesianAxis.IsStepRecalculationOnZoomEnabledLineAxis.IsInversePropertyLineAxis.PanZoomBarStylePropertyLineAxis.OnApplyTemplate()LineAxis.OnAttached()LineAxis.OnDetached(RadChartBase)LineAxis.IsInverseLineAxis.PanZoomBarStyleAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.LineStrokePropertyAxis.LineDashArrayPropertyAxis.TitlePropertyAxis.ElementBrushPropertyAxis.LabelRotationAnglePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LabelFormatPropertyAxis.MeasureNodeOverride(ChartNode, object)Axis.OnCreateAutomationPeer()Axis.LineDashArrayAxis.LineStrokeAxis.LineThicknessAxis.MajorTickOffsetAxis.TitleAxis.TitleTemplateAxis.MajorTickTemplateAxis.MajorTickStyleAxis.TickThicknessAxis.MajorTickLengthAxis.ElementBrushAxis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LabelFormatAxis.LabelOffsetAxis.ShowLabelsAxis.LabelFitModeAxis.LabelTemplateAxis.LabelTemplateSelectorAxis.LabelStyleAxis.LabelIntervalAxis.SmartLabelsModeChartElementPresenter.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

Initializes a new instance of the DateTimeContinuousAxis class.

C#
public DateTimeContinuousAxis()

Fields

ActualRangeProperty

DependencyProperty

Identifies the ActualRange dependency property.

C#
public static readonly DependencyProperty ActualRangeProperty

ActualVisibleRangeProperty

DependencyProperty

Identifies the ActualVisibleRange dependency property.

C#
public static readonly DependencyProperty ActualVisibleRangeProperty

GapLengthProperty

DependencyProperty

Identifies the GapLength dependency property.

C#
public static readonly DependencyProperty GapLengthProperty

MajorStepProperty

DependencyProperty

Identifies the MajorStep dependency property.

C#
public static readonly DependencyProperty MajorStepProperty

MajorStepUnitProperty

DependencyProperty

Identifies the MajorStepUnit dependency property.

C#
public static readonly DependencyProperty MajorStepUnitProperty

MaximumProperty

DependencyProperty

Identifies the Maximum dependency property.

C#
public static readonly DependencyProperty MaximumProperty

MinimumProperty

DependencyProperty

Identifies the Minimum dependency property.

C#
public static readonly DependencyProperty MinimumProperty

MinorTicksPerMajorProperty

DependencyProperty

Identifies the MinorTicksPerMajor property.

C#
public static readonly DependencyProperty MinorTicksPerMajorProperty

MinorTickStyleProperty

DependencyProperty

Identifies the MinorTickStyle dependency property.

C#
public static readonly DependencyProperty MinorTickStyleProperty

MinorTickTemplateProperty

DependencyProperty

Identifies the MinorTickTemplate dependency property.

C#
public static readonly DependencyProperty MinorTickTemplateProperty

TickOriginProperty

DependencyProperty

Identifies the TickOrigin dependency property.

C#
public static readonly DependencyProperty TickOriginProperty

Properties

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

C#
public ValueRange<DateTime> ActualRange { get; }

Gets the range that is actually visible on the plot area when the chart is zoomed in.

C#
public ValueRange<DateTime> ActualVisibleRange { get; }

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

C#
public double GapLength { get; set; }

Gets or sets the user-defined step between two adjacent ticks on the axis. Specify TimeSpan.Zero to clear the value. If not specified, the step will be automatically determined, depending on the smallest difference between any two dates.

C#
public double MajorStep { get; set; }

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.

C#
public TimeInterval MajorStepUnit { get; set; }

Gets or sets the custom maximum of the axis. Specify DateTime.MaxValue to clear the property value so that the maximum is auto-generated.

C#
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Maximum { get; set; }

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.

C#
public int MaximumTicks { get; set; }

Gets or sets the custom minimum of the axis. Specify DateTime.MinValue to clear the property value so that the minimum is auto-generated.

C#
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime Minimum { get; set; }

Gets or sets the length of the minor tick.

C#
public double MinorTickLength { get; set; }

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

C#
public int MinorTickOffset { get; set; }

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

C#
public int MinorTicksPerMajor { get; set; }

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.

C#
public Style MinorTickStyle { get; set; }

MinorTickTemplate

DataTemplate

Gets or sets the template that defines the appearance of all minor ticks present on the axis.

C#
public DataTemplate MinorTickTemplate { get; set; }

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

C#
public AxisPlotMode PlotMode { get; set; }

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.

C#
public DateTime? TickOrigin { get; set; }

Methods

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

C#
protected override DataTemplate GetTickTemplate(TickType tickType)
Parameters:tickTypeTickTypeReturns:

DataTemplate

Overrides: Axis.GetTickTemplate(TickType)

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: Axis.OnInitialized(EventArgs)

Events

Occurs when the actual range changes.

C#
public event EventHandler<DateTimeRangeChangedEventArgs> ActualRangeChanged

Occurs when the actual visible range changes.

C#
public event EventHandler<DateTimeRangeChangedEventArgs> ActualVisibleRangeChanged