ClassDateTimeContinuousAxisModel
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
DateTimeContinuousAxisModel()
Initializes a new instance of the DateTimeContinuousAxisModel class.
Declaration
public DateTimeContinuousAxisModel()
Properties
GapLength
Gets or sets the length of the gap.
Declaration
public double GapLength { get; set; }
Property Value
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.
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
public TimeInterval MajorStepUnit { get; set; }
Property Value
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.
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.
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.
PlotInformation
Gets the plot information. Exposed for testing purposes.
Declaration
public DateTimeContinuousAxisModel.PlotInfo PlotInformation { get; }
Property Value
PlotMode
Gets or sets the plot mode used to position points along the axis.
Declaration
public AxisPlotMode PlotMode { get; set; }
Property Value