Xceed Chart for WinForms v4.4 Documentation
MinorTickLength Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : MinorTickLength Property
Controls the length of the minor ticks.
Syntax
'Declaration
 
<DescriptionAttribute("Controls the length of the minor ticks")>

<CategoryAttribute("Minor Ticks")>

<DefaultValueAttribute()>

Public Property MinorTickLength As Single
'Usage
 
Dim instance As Axis

Dim value As Single

 

instance.MinorTickLength = value

 

value = instance.MinorTickLength
[Description("Controls the length of the minor ticks")]

[Category("Minor Ticks")]

[DefaultValue()]

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

Reference

Axis Class
Axis Members