Members 
CategoryNumericAxis Class
Provides a Linear, Category double Axis, capable of rendering double ticks on the X-Axis of a SciChart.Charting.Visuals.SciChartSurface. The CategoryNumericAxis 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
CategoryNumericAxis 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 CategoryNumericAxis : NumericAxis, IAxis, IAxisCore, IAxisParams, ICategoryAxis, 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.NumericAxis
                                    SciChart.Charting.Visuals.Axes.CategoryNumericAxis
                                       SciChart.Charting.Visuals.Axes.CategoryNumericAxisForMvvm

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