WPF Charting Documentation - SciChart WPF Charts SDK v5.x
CategoryDateTimeAxis Class
Provides a Linear, Category DateTime Axis, capable of rendering DateTime ticks on the X-Axis of a SciChart.Charting.Visuals.SciChartSurface. The CategoryDateTimeAxis is specifically used in stock-charts or financial charts, since the category-nature of the axis automatically collapses weekend gaps and overnight gaps in trading charts. Each data-point is treated as equidistant despite the X Data-value.
Object Model
CategoryDateTimeAxis ClassIRange InterfaceIAxisBandsProvider InterfaceIAxisCore InterfaceIRange InterfaceILabelProvider InterfaceILabelProvider InterfaceIAnnotationCanvas InterfaceISciChartSurfaceBase InterfaceIChartModifierSurface InterfaceIRenderSurface InterfaceIServiceContainer InterfaceIRenderSurface InterfaceIServiceContainer InterfaceSciChartScrollbar ClassIAxis InterfaceIRange InterfaceIRange InterfaceIServiceContainer InterfaceITickCoordinatesProvider InterfaceITickProvider InterfaceIRange InterfaceIRange Interface

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



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


CategoryDateTimeAxis Members
SciChart.Charting.Visuals.Axes Namespace
AxisBase Class
IAxis Interface
NumericAxis Class
LogarithmicNumericAxis Class
DateTimeAxis Class
CategoryDateTimeAxis Class
TimeSpanAxis Class



SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback