Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Chart Class / HorizontalAxis Property
Example


In This Topic
    HorizontalAxis Property
    In This Topic
    Gets or sets the Chart's horizontal Axis.
    Syntax
    'Declaration
     
    
    Public Property HorizontalAxis As Axis
    'Usage
     
    
    Dim instance As Chart
    Dim value As Axis
     
    instance.HorizontalAxis = value
     
    value = instance.HorizontalAxis
    public Axis HorizontalAxis {get; set;}
    Remarks

    This property makes it possible to create a customized horizontal Axis for the Chart

    Note, however, that the Chart already has a default horizontal Axis built-in. 

    Example
    <xctk:Chart.HorizontalAxis>
      <xctk:Axis TickCount="22"
                 TickLength="10"
                 Title="My Custom Axis">
        <xctk:Axis.CustomRange>
          <xctk:Range Start="2"
                      End="12"/>
        </xctk:Axis.CustomRange>
      </xctk:Axis>
    </xctk:Chart.HorizontalAxis>
    Requirements

    Target Platforms: Windows 11, Windows 10, 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