Class
DateTimeContinuousAxis

Represents an Axis which plots points along the actual timeline.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
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.LabelRotationAnglePropertyAxis.ShowLabelsPropertyAxis.LabelIntervalPropertyAxis.LabelFitModePropertyAxis.LabelTemplatePropertyAxis.LabelTemplateSelectorPropertyAxis.LabelStylePropertyAxis.LabelFormatPropertyAxis.MajorTickTemplatePropertyAxis.MajorTickStylePropertyAxis.TitleTemplatePropertyAxis.LineStrokePropertyAxis.LineDashArrayPropertyAxis.TitlePropertyAxis.ElementBrushPropertyAxis.MeasureNodeOverride(ChartNode, object)Axis.OnCreateAutomationPeer()Axis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LabelFormatAxis.LabelOffsetAxis.ShowLabelsAxis.LabelFitModeAxis.LabelTemplateAxis.LabelTemplateSelectorAxis.LabelStyleAxis.LabelIntervalAxis.SmartLabelsModeAxis.LineDashArrayAxis.LineStrokeAxis.LineThicknessAxis.MajorTickOffsetAxis.TitleAxis.TitleTemplateAxis.MajorTickTemplateAxis.MajorTickStyleAxis.TickThicknessAxis.MajorTickLengthAxis.ElementBrushChartElementPresenter.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

DateTimeContinuousAxis()

Initializes a new instance of the DateTimeContinuousAxis class.

Declaration

cs-api-definition
public DateTimeContinuousAxis()

Fields

ActualRangeProperty

Identifies the ActualRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualRangeProperty

Field Value

DependencyProperty

ActualVisibleRangeProperty

Identifies the ActualVisibleRange dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ActualVisibleRangeProperty

Field Value

DependencyProperty

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

TickOriginProperty

Identifies the TickOrigin dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TickOriginProperty

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>

ActualVisibleRange

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

Declaration

cs-api-definition
public ValueRange<DateTime> ActualVisibleRange { 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 TimeSpan.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
[TypeConverter(typeof(DateTimeTypeConverter))]
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
[TypeConverter(typeof(DateTimeTypeConverter))]
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

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

cs-api-definition
public DateTime? TickOrigin { get; set; }

Property Value

DateTime?

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)

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides Axis.OnInitialized(EventArgs)

Events

ActualRangeChanged

Occurs when the actual range changes.

Declaration

cs-api-definition
public event EventHandler<DateTimeRangeChangedEventArgs> ActualRangeChanged

Event Value

EventHandler<DateTimeRangeChangedEventArgs>

ActualVisibleRangeChanged

Occurs when the actual visible range changes.

Declaration

cs-api-definition
public event EventHandler<DateTimeRangeChangedEventArgs> ActualVisibleRangeChanged

Event Value

EventHandler<DateTimeRangeChangedEventArgs>