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


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