Class DateTimeContinuousAxis
Represents a continuous axis that displays DateTime values along a time scale with automatic tick generation.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class DateTimeContinuousAxis : CartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Constructors
DateTimeContinuousAxis()
Declaration
public DateTimeContinuousAxis()
Properties
ActualRange
Gets the actual DateTime range currently used by the axis for plotting data points.
Declaration
public ValueRange<DateTime> ActualRange { get; }
Property Value
|
ValueRange<System.DateTime>
|
GapLength
Gets or sets the gap ratio between chart series, expressed as a value between 0 and 1.
Declaration
public double GapLength { get; set; }
Property Value
|
System.Double
|
MajorStep
Gets or sets the custom step interval between axis ticks. Set to 0 to enable automatic step calculation.
Declaration
public double MajorStep { get; set; }
Property Value
|
System.Double
|
MajorStepUnit
Gets or sets the time unit for the major step interval when MajorStep is specified.
Declaration
public TimeInterval MajorStepUnit { get; set; }
Property Value
|
TimeInterval
|
Maximum
Gets or sets the maximum DateTime value displayed on the axis. Set to DateTime.MaxValue for automatic calculation.
Declaration
public DateTime Maximum { get; set; }
Property Value
|
System.DateTime
|
MaximumTicks
Gets or sets the maximum number of ticks that can be displayed on the axis to prevent overcrowding.
Declaration
public int MaximumTicks { get; set; }
Property Value
|
System.Int32
|
Minimum
Gets or sets the minimum DateTime value displayed on the axis. Set to DateTime.MinValue for automatic calculation.
Declaration
public DateTime Minimum { get; set; }
Property Value
|
System.DateTime
|
PlotMode
Gets or sets the positioning mode that determines how data points are plotted relative to time ticks.
Declaration
public AxisPlotMode PlotMode { get; set; }
Property Value
|
AxisPlotMode
|
TickOrigin
Gets or sets the origin DateTime for tick positioning, used in combination with MajorStep to determine tick placement.
Declaration
public DateTime? TickOrigin { get; set; }
Property Value
|
System.Nullable<System.DateTime>
|
Methods
GetLabelCacheKey(AxisLabelModel)
Gets the cache key for the specified axis label to optimize label rendering performance.
Declaration
protected override string GetLabelCacheKey(AxisLabelModel label)
Parameters
|
AxisLabelModel
label
The axis label model for which to generate a cache key. |
Returns
|
System.String
A string representing the unique cache key for the label. |
Overrides
GetLocationOfValue(Object)
Gets the pixel location along the axis for the specified DateTime value.
Declaration
public override double GetLocationOfValue(object value)
Parameters
|
System.Object
value
The DateTime value to locate on the axis. |
Returns
|
System.Double
The pixel position of the specified DateTime value. |
Overrides
GetThemeEffectiveType()
Gets the effective type used for theming purposes.
Declaration
public override Type GetThemeEffectiveType()
Returns
|
System.Type
The type used for theme resolution. |