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.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 1 | 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.
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.
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.
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.