Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Axis Class / OuterTickLength Property
Example


In This Topic
    OuterTickLength Property
    In This Topic
    Controls the length of the major outer ticks.
    Syntax
    'Declaration
     
    <CategoryAttribute("Major Ticks")>
    <DescriptionAttribute("Controls the length of the major outer ticks")>
    <DefaultValueAttribute(1)>
    Public Property OuterTickLength As Single
    'Usage
     
    Dim instance As Axis
    Dim value As Single
     
    instance.OuterTickLength = value
     
    value = instance.OuterTickLength
    [Category("Major Ticks")]
    [Description("Controls the length of the major outer ticks")]
    [DefaultValue(1)]
    public float OuterTickLength {get; set;}
    Remarks
    Outer ticks are drawn at the outer side of the chart area. By default 1.0.
    Example
    The following code increases the lenght of the outer ticks of the PrimaryX axis.
    Dim axis As Axis =  Chart.Axis(StandardAxis.PrimaryX) 
    axis.OuterTickLength = 1.5F
    Axis axis = Chart.Axis(StandardAxis.PrimaryX);
    axis.OuterTickLength = 1.5f;
    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