Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / AxisLabelLayout Enumeration


In This Topic
    AxisLabelLayout Enumeration
    In This Topic
    Determines label layout mode for an axis.
    Syntax
    'Declaration
     
    
    Public Enum AxisLabelLayout 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As AxisLabelLayout
    public enum AxisLabelLayout : System.Enum 
    Members
    MemberValueDescription
    ShowAll0All labels are shown by staggering the labels on two or more levels if there is not enough space to show them side-by-side. The Level property of the LevelLabel class holds the level of label.
    ShowToFit1Every second, third, fourth label, etc., is hidden when there is not enough space to show the labels side-by-side.
    Remarks

    The Level property of LevelLabel is used to determine the relative position of tick labels when AxisLabelsLayout is set to ShowAll.

    For example, if a non-reversed chart is resized horizontally so that there is not quite enough room to fit the tick labels side-by-side, the labels closest to the x-axis will have a Level of 0, whereas alternating labels will be beneath these labels and have a Level of 1, creating two rows of labels. If the chart's horizontal size is further reduced, tick labels will be positioned so there are 3 rows, etc.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Wpf.Toolkit.Chart.AxisLabelLayout

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also