ClassDateTimeContinuousAxis
Represents a continuous axis that displays DateTime values along a time scale with automatic tick generation.
Definition
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
Inheritance: objectDisposableObjectRadObjectUIChartElementAxisLineAxisCartesianAxisDateTimeContinuousAxis
Implements:
Inherited Members
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
GapLength
Gets or sets the gap ratio between chart series, expressed as a value between 0 and 1.
MajorStep
Gets or sets the custom step interval between axis ticks. Set to 0 to enable automatic step calculation.
MajorStepUnit
Gets or sets the time unit for the major step interval when MajorStep is specified.
Declaration
public TimeInterval MajorStepUnit { get; set; }
Property Value
Maximum
Gets or sets the maximum DateTime value displayed on the axis. Set to DateTime.MaxValue for automatic calculation.
MaximumTicks
Gets or sets the maximum number of ticks that can be displayed on the axis to prevent overcrowding.
Minimum
Gets or sets the minimum DateTime value displayed on the axis. Set to DateTime.MinValue for automatic calculation.
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
TickOrigin
Gets or sets the origin DateTime for tick positioning, used in combination with MajorStep to determine tick placement.
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
label
The axis label model for which to generate a cache key.
Returns
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.
GetThemeEffectiveType()
Gets the effective type used for theming purposes.
Declaration
public override Type GetThemeEffectiveType()
Returns
The type used for theme resolution.
Overrides