Xceed Toolkit for Maui v2.0 Documentation
CustomRange Property
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Axis Class : CustomRange Property
Gets or sets a custom Range that will be used by the Axis.
Syntax
'Declaration
 
Public Property CustomRange As IRange
'Usage
 
Dim instance As Axis
Dim value As IRange
 
instance.CustomRange = value
 
value = instance.CustomRange
public IRange CustomRange {get; set;}
Remarks
Setting the CustomRange property is useful to make sure that the Range won't automatically be calculated based on the loaded DataPoints.
Example
<xctk:Chart.HorizontalAxis>
  <xctk:Axis>
    <xctk:Axis.CustomRange>
      <xctk:Range Start="0"
                  End="10"/>
    </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

Reference

Axis Class
Axis Members