Members 
DateTimeAxis Class
Provides a Linear, Value DateTime Axis, capable of rendering DateTime ticks on the X-Axis of a SciChart.Charting.Visuals.SciChartSurface.
Object Model
DateTimeAxis ClassIRange InterfaceIAxisBandsProvider InterfaceIAxisCore InterfaceIRange InterfaceILabelProvider InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIChartModifierSurface InterfaceIRenderSurface InterfaceIServiceContainer InterfaceIRenderSurface InterfaceIServiceContainer InterfaceSciChartScrollbar ClassIAxis InterfaceIRange InterfaceIRange InterfaceIServiceContainer InterfaceITickCoordinatesProvider InterfaceITickProvider InterfaceIRange InterfaceIRange Interface
Syntax
[AbtLicenseProvider(SciChart.Charting.Licensing.AxisAbtLicenseProvider)]
[TemplatePart(Name="PART_AxisCanvas", Type=SciChart.Charting.Themes.AxisPanel)]
[DefaultProperty("Content")]
[ContentProperty("Content")]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class DateTimeAxis : TimeSpanAxisBase, IAxis, IAxisCore, IAxisParams, INotifyDataRangeChanged, SciChart.Charting.Visuals.IDrawable, SciChart.Core.Framework.IHitTestable, SciChart.Core.Framework.IInvalidatableElement, SciChart.Core.Framework.ISuspendable  
Remarks

All AxisBase derived types have a AxisCore.TextFormatting property to define axis text labels, however a more advanced way of defining axis label text is via the AxisCore.LabelProvider property - expecting a custom SciChart.Charting.Visuals.Axes.LabelProviders.ILabelProvider derived type.

In order to separately format cursor labels please see the AxisCore.CursorTextFormatting or again implement a customer SciChart.Charting.Visuals.Axes.LabelProviders.ILabelProvider.

All axis types have many properties to define how they operate. These include AxisCore.DrawMajorGridLines, AxisCore.DrawMinorGridLines, AxisCore.DrawMajorTicks, AxisCore.DrawMinorTicks, DrawMajorBands, AxisCore.DrawLabels.

Finally, all axis components can be styled. Please see the examples suite, the XAML Styling example to see how to use XAML to style axis elements.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        SciChart.Charting.Visuals.RenderableSeries.TemplatableControl
                           SciChart.Charting.Visuals.Axes.AxisCore
                              SciChart.Charting.Visuals.Axes.AxisBase
                                 SciChart.Charting.Visuals.Axes.TimeSpanAxisBase
                                    SciChart.Charting.Visuals.Axes.DateTimeAxis
                                       SciChart.Charting.Visuals.Axes.DateTimeAxisForMvvm
                                       SciChart.Charting.Visuals.Axes.DiscontinuousAxis.DiscontinuousDateTimeAxis
                                       SciChart.Charting.Visuals.Axes.ParallelDateTimeAxis

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also