Xceed Chart for WinForms v4.4 Documentation
MinorTicks Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : MinorTicks Property
Gives you access to the array of minor ticks.
Syntax
'Declaration
 
<DescriptionAttribute("Gives you access to the array of minor ticks. When the current axis scale is switched in manual minor tick mode the user can specify the values on which minor ticks are displayed.")>

<CategoryAttribute("Minor Ticks")>

Public Property MinorTicks As TypedArrayList
'Usage
 
Dim instance As Axis

Dim value As TypedArrayList

 

instance.MinorTicks = value

 

value = instance.MinorTicks
[Description("Gives you access to the array of minor ticks. When the current axis scale is switched in manual minor tick mode the user can specify the values on which minor ticks are displayed.")]

[Category("Minor Ticks")]

public TypedArrayList MinorTicks {get; set;}
Remarks
When the current axis scale is switched in manual minor tick mode the user can specify the values on which minor ticks are displayed.
Example
The following code displays minor ticks at exact user specified values.
Dim axis As Axis =  Chart.Axis(StandardAxis.PrimaryY) 

axis.ScaleMode = AxisScaleMode.Numeric

axis.NumericScale.AutoMinorTicks = False

axis.MinorTicks.Add(7)

axis.MinorTicks.Add(11)

axis.MinorTicks.Add(13)

axis.MinorTicks.Add(16)
Axis axis = Chart.Axis(StandardAxis.PrimaryY);

axis.ScaleMode = AxisScaleMode.Numeric;

axis.NumericScale.AutoMinorTicks = false;

axis.MinorTicks.Add(7);

axis.MinorTicks.Add(11);

axis.MinorTicks.Add(13);

axis.MinorTicks.Add(16);
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