Skip to main content

ArcScale.MinorTickCount Property

Gets or sets the number of minor tickmarks on the scale between adjacent major tickmarks.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[XtraSerializableProperty]
public int MinorTickCount { get; set; }

Property Value

Type Description
Int32

An integer value that defines the number of minor tickmarks between adjacent major tickmarks.

Remarks

Use the ArcScale.MajorTickCount and MinorTickCount properties to specify the number of tickmarks shown on a circular scale. The appearance of major and minor tickmarks is specified by the ArcScale.MajorTickmark and ArcScale.MinorTickmark properties, correspondingly.

Note that the MinorTickCount property does not specify the total number of minor tickmarks on a scale, but the number of minor tickmarks between two adjacent major tickmarks.

On the image below, MinorTickCount = 3, but the total number of minor tickmarks is 18.

CircularScaleValues_MinorTickmarks0

If major tickmarks are hidden (i.e. the ShowTick property of the ArcScale.MajorTickmark object is false), by default, their labels remain visible and minor tickmarks are not displayed instead of major tickmarks.

CircularScaleValues_MinorTickmarks1

If you want to show minor tickmarks instead of major tickmarks, set the AllowTickOverlap property of the ArcScale.MajorTickmark object to true. Note that in this case, the MinorTickCount property value remains the same, but the total number of minor tickmarks is increased.

On the image below, MinorTickCount = 3, but the total number of minor tickmarks is 25.

CircularScaleValues_MinorTickmarks2

If you want to hide the first minor tickmark, the last one, or both, set the ShowFirst / ShowLast properties of the ArcScale.MinorTickmark object to false.

CircularScaleValues_MinorTickmarks3

See Also