Defines a DateTime axis that uses the actual timeline to plot series points.
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class DateTimeContinuousAxisModel : AxisModel, IDisposable, INotifyPropertyChanged, IContinuousAxisModel
Inheritance: objectDisposableObjectPropertyBagObjectChartNodeChartElementAxisModelDateTimeContinuousAxisModel...
Implements:
Inherited Members
Constructors
Initializes a new instance of the DateTimeContinuousAxisModel class.
public DateTimeContinuousAxisModel()
Properties
Gets or sets the length of the gap.
public double GapLength { get; set; }
The length of the gap.
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.
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.
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.
public DateTime Maximum { get; set; }
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.
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.
public DateTime Minimum { get; set; }
Gets the plot information. Exposed for testing purposes.
public DateTimeContinuousAxisModel.PlotInfo PlotInformation { get; }
Gets or sets the plot mode used to position points along the axis.
public AxisPlotMode PlotMode { get; set; }