Class
DateTimeContinuousAxis

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:

cs-api-definition
public class DateTimeContinuousAxis : CartesianAxis, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement

Inheritance: objectDisposableObjectRadObjectUIChartElementAxisLineAxisCartesianAxisDateTimeContinuousAxis

Implements: IBorderElementIBoxElementIBoxStyleIChartElementPresenterICustomTypeDescriptorIDisposableIFillElementINotifyPropertyChangedIShapedElementIStylableElementIStylableNode

Inherited Members CartesianAxis.IsMultiAxisPropertyCartesianAxis.AutomaticBorderColorPropertyCartesianAxis.OnAttached(UIChartElement)CartesianAxis.OnDettached()CartesianAxis.SyncVisualSettings()CartesianAxis.OnNotifyPropertyChanged(PropertyChangedEventArgs)CartesianAxis.HorizontalLocationCartesianAxis.VerticalLocationCartesianAxis.AutomaticBorderColorCartesianAxis.IsMultiAxisCartesianAxis.ClipLabelsCartesianAxis.StartPositionAxisCartesianAxis.StartPositionValueCartesianAxis.ScaleBreaksCartesianAxis.HasScaleBreaksCartesianAxis.ScaleBreakStyleCartesianAxis.ScaleBreakSizeCartesianAxis.ScaleBreakBorderColorCartesianAxis.ScaleBreakBackColorLineAxis.IsInversePropertyLineAxis.OnPropertyChanged(RadPropertyChangedEventArgs)LineAxis.IsInverseAxis.LabelFitModePropertyAxis.LabelFormatPropertyAxis.LabelIntervalPropertyAxis.LabelOffsetPropertyAxis.LabelRotationAnglePropertyAxis.LastLabelVisibilityPropertyAxis.MajorTickOffsetPropertyAxis.ShowLabelsPropertyAxis.TickLengthPropertyAxis.TickWidthPropertyAxis.TitlePropertyAxis.MeasureContentOverride(ChartNode, object)Axis.MeasureLabel(ChartNode, object)Axis.MeasureTitle(object)Axis.BuildVisualState()Axis.ToString()Axis.CreateLabelElement(AxisLabelModel)Axis.IsPrimaryAxis.LabelFitModeAxis.LabelFormatAxis.LabelFormatProviderAxis.LabelIntervalAxis.LabelOffsetAxis.LabelRotationAngleAxis.LastLabelVisibilityAxis.LineWidthAxis.MajorTickOffsetAxis.ShowLabelsAxis.TickLengthAxis.TickWidthAxis.TitleAxis.TitleElementAxis.AxisTypeAxis.ModelAxis.EnableElementCacheUIChartElement.IsVisiblePropertyUIChartElement.ClassPropertyUIChartElement.VisualStatePropertyUIChartElement.IsMouseDownPropertyUIChartElement.IsMouseOverPropertyUIChartElement.FontPropertyUIChartElement.CustomFontPropertyUIChartElement.CustomFontSizePropertyUIChartElement.CustomFontStylePropertyUIChartElement.ForeColorPropertyUIChartElement.BackColorPropertyUIChartElement.BackColor2PropertyUIChartElement.BackColor3PropertyUIChartElement.BackColor4PropertyUIChartElement.NumberOfColorsPropertyUIChartElement.GradientStylePropertyUIChartElement.GradientAnglePropertyUIChartElement.GradientPercentagePropertyUIChartElement.GradientPercentage2PropertyUIChartElement.BorderBoxStylePropertyUIChartElement.BorderDrawModePropertyUIChartElement.BorderWidthPropertyUIChartElement.BorderLeftWidthPropertyUIChartElement.BorderRightWidthPropertyUIChartElement.BorderTopWidthPropertyUIChartElement.BorderBottomWidthPropertyUIChartElement.BorderGradientAnglePropertyUIChartElement.BorderGradientStylePropertyUIChartElement.BorderColorPropertyUIChartElement.BorderColor2PropertyUIChartElement.BorderColor3PropertyUIChartElement.BorderColor4PropertyUIChartElement.BorderInnerColorPropertyUIChartElement.BorderInnerColor2PropertyUIChartElement.BorderInnerColor3PropertyUIChartElement.BorderInnerColor4PropertyUIChartElement.BorderLeftColorPropertyUIChartElement.BorderTopColorPropertyUIChartElement.BorderRightColorPropertyUIChartElement.BorderBottomColorPropertyUIChartElement.BorderLeftShadowColorPropertyUIChartElement.BorderTopShadowColorPropertyUIChartElement.BorderRightShadowColorPropertyUIChartElement.BorderBottomShadowColorPropertyUIChartElement.BackgroundShapePropertyUIChartElement.BorderDashStylePropertyUIChartElement.BorderDashPatternPropertyUIChartElement.BorderCornerRadiusPropertyUIChartElement.ShapePropertyUIChartElement.PaddingPropertyUIChartElement.SmoothingModePropertyUIChartElement.GetValue(RadProperty)UIChartElement.Attach(UIChartElement)UIChartElement.Dettach()UIChartElement.Refresh()UIChartElement.Invalidate()UIChartElement.DpiScaleChanged(SizeF)UIChartElement.GetScaledFont(float)UIChartElement.GetCurrentShape()UIChartElement.ApplyStyleSettingsCore(PropertySettingGroup)UIChartElement.ApplyStyle()UIChartElement.AddStylePropertySetting(IPropertySetting)UIChartElement.ApplyStyleByIndex(PropertySettingGroup, int)UIChartElement.ParentUIChartElement.LevelUIChartElement.ChildrenUIChartElement.IsMouseDownUIChartElement.IsMouseOverUIChartElement.ViewUIChartElement.IsVisibleUIChartElement.ForeColorUIChartElement.FontUIChartElement.BackColorUIChartElement.BackColor2UIChartElement.BackColor3UIChartElement.BackColor4UIChartElement.GradientStyleUIChartElement.GradientAngleUIChartElement.GradientPercentageUIChartElement.GradientPercentage2UIChartElement.NumberOfColorsUIChartElement.BorderLeftColorUIChartElement.BorderTopColorUIChartElement.BorderRightColorUIChartElement.BorderBottomColorUIChartElement.BorderLeftShadowColorUIChartElement.BorderTopShadowColorUIChartElement.BorderRightShadowColorUIChartElement.BorderBottomShadowColorUIChartElement.BorderBoxStyleUIChartElement.BorderDrawModeUIChartElement.BorderWidthUIChartElement.BorderLeftWidthUIChartElement.BorderTopWidthUIChartElement.BorderRightWidthUIChartElement.BorderBottomWidthUIChartElement.BorderGradientAngleUIChartElement.BorderGradientStyleUIChartElement.BorderColorUIChartElement.BorderColor2UIChartElement.BorderColor3UIChartElement.BorderColor4UIChartElement.BorderInnerColorUIChartElement.BorderInnerColor2UIChartElement.BorderInnerColor3UIChartElement.BorderInnerColor4UIChartElement.BorderDashStyleUIChartElement.BorderDashPatternUIChartElement.BorderCornerRadiusUIChartElement.SizeUIChartElement.ShapeUIChartElement.BackgroundShapeUIChartElement.PaddingUIChartElement.SmoothingModeUIChartElement.IsAttachedUIChartElement.DpiScaleFactorUIChartElement.ClassUIChartElement.VisualStateUIChartElement.ThemeRoleUIChartElement.ChildrenHierarchyUIChartElement.StyleUIChartElement.StateManagerUIChartElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

DateTimeContinuousAxis()

Declaration

cs-api-definition
public DateTimeContinuousAxis()

Properties

ActualRange

Gets the actual DateTime range currently used by the axis for plotting data points.

Declaration

cs-api-definition
public ValueRange<DateTime> ActualRange { get; }

Property Value

ValueRange<DateTime>

GapLength

Gets or sets the gap ratio between chart series, expressed as a value between 0 and 1.

Declaration

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

Property Value

double

MajorStep

Gets or sets the custom step interval between axis ticks. Set to 0 to enable automatic step calculation.

Declaration

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

Property Value

double

MajorStepUnit

Gets or sets the time unit for the major step interval when MajorStep is specified.

Declaration

cs-api-definition
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

cs-api-definition
public DateTime Maximum { get; set; }

Property Value

DateTime

MaximumTicks

Gets or sets the maximum number of ticks that can be displayed on the axis to prevent overcrowding.

Declaration

cs-api-definition
public int MaximumTicks { get; set; }

Property Value

int

Minimum

Gets or sets the minimum DateTime value displayed on the axis. Set to DateTime.MinValue for automatic calculation.

Declaration

cs-api-definition
public DateTime Minimum { get; set; }

Property Value

DateTime

PlotMode

Gets or sets the positioning mode that determines how data points are plotted relative to time ticks.

Declaration

cs-api-definition
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

cs-api-definition
public DateTime? TickOrigin { get; set; }

Property Value

DateTime?

Methods

GetLabelCacheKey(AxisLabelModel)

Gets the cache key for the specified axis label to optimize label rendering performance.

Declaration

cs-api-definition
protected override string GetLabelCacheKey(AxisLabelModel label)

Parameters

label

AxisLabelModel

The axis label model for which to generate a cache key.

Returns

string

A string representing the unique cache key for the label.

Overrides Axis.GetLabelCacheKey(AxisLabelModel)

GetLocationOfValue(object)

Gets the pixel location along the axis for the specified DateTime value.

Declaration

cs-api-definition
public override double GetLocationOfValue(object value)

Parameters

value

object

The DateTime value to locate on the axis.

Returns

double

The pixel position of the specified DateTime value.

Overrides CartesianAxis.GetLocationOfValue(object)

GetThemeEffectiveType()

Gets the effective type used for theming purposes.

Declaration

cs-api-definition
public override Type GetThemeEffectiveType()

Returns

Type

The type used for theme resolution.

Overrides UIChartElement.GetThemeEffectiveType()