Class
DateTimeContinuousAxisModel

Defines a DateTime axis that uses the actual timeline to plot series points.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class DateTimeContinuousAxisModel : AxisModel, IDisposable, INotifyPropertyChanged, IContinuousAxisModel

Inheritance: objectDisposableObjectPropertyBagObjectChartNodeChartElementAxisModelDateTimeContinuousAxisModel

Implements: IContinuousAxisModelIDisposableINotifyPropertyChanged

Inherited Members AxisModel.UpdateLayoutStrategy()AxisModel.BuildTicksAndLabels(RadSize)AxisModel.LabelFormatAxisModel.LastLabelVisibilityAxisModel.LabelFitModeAxisModel.LabelIntervalAxisModel.LabelOffsetAxisModel.MajorTickOffsetAxisModel.IsInverseAxisModel.MajorTicksAxisModel.LabelsAxisModel.TickThicknessAxisModel.ShowLabelsAxisModel.MajorTickLengthAxisModel.LineThicknessAxisModel.HorizontalLocationAxisModel.VerticalLocationAxisModel.BottomOrLeftTickAxisModel.TopOrRightTickAxisModel.TypeAxisModel.TitleChartElement.FindAncestor<T>()ChartElement.IsAncestorOf(ChartNode)ChartElement.FindDescendant<T>()ChartElement.FindDescendant(Predicate<ChartNode>)ChartElement.EnumDescendants()ChartElement.EnumDescendants(TreeTraversalMode)ChartElement.EnumDescendants(Predicate<ChartNode>, TreeTraversalMode)ChartElement.DisposeManagedResources()ChartElement.PresenterChartNode.Arrange(RadRect, bool)ChartNode.Invalidate()ChartNode.SetValueCore(int, object)ChartNode.ClearValueCore(int)ChartNode.IsArrangeValidChartNode.NodeStateChartNode.IndexChartNode.CollectionIndexChartNode.IsTreeLoadedChartNode.LayoutSlotChartNode.ParentChartNode.PropertyChangedPropertyBagObject.IsLocalValue(int)PropertyBagObject.GetValue(int)PropertyBagObject.SetValue(int, object)PropertyBagObject.ClearValue(int)PropertyBagObject.GetTypedValue<T>(int, T)PropertyBagObject.PropertyStoreDisposableObject.Dispose()DisposableObject.DisposeUnmanagedResources()DisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.EventsDisposableObject.DisposingDisposableObject.Disposed

Constructors

DateTimeContinuousAxisModel()

Initializes a new instance of the DateTimeContinuousAxisModel class.

Declaration

cs-api-definition
public DateTimeContinuousAxisModel()

Properties

GapLength

Gets or sets the length of the gap.

Declaration

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

Property Value

double

The length of the gap.

MajorStep

Gets or sets custom major step of the axis. The TimeSpan between each tick is calculated by using this value and the MajorStepUnit. Specify double.PositiveInfinity or double.NegativeInfinity to clear the custom value and to generate the step automatically.

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. There are corner cases when ticks may become really huge number. Defaults to 31.

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

PlotInformation

Gets the plot information. Exposed for testing purposes.

Declaration

cs-api-definition
public DateTimeContinuousAxisModel.PlotInfo PlotInformation { get; }

Property Value

DateTimeContinuousAxisModel.PlotInfo

PlotMode

Gets or sets the plot mode used to position points along the axis.

Declaration

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

Property Value

AxisPlotMode