TdxGaugeQuantitativeScaleOptionsView.MajorTickCount Property
Specifies a number of major tick marks on a quantitative scale.
Declaration
property MajorTickCount: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
This property specifies the total number of major tick marks on the scale regardless of their visibility. The specified number of major tick marks is evenly distributed along the scale’s range with their respective labels.
The MajorTickCount property value cannot be lower than 2 since two major tick marks indicate the maximum and minimum values on the scale. If you need to remove all major tick marks from the scale without affecting minor tick marks, set the ShowFirstTick and ShowLastTick properties to False with the MajorTickCount property set to 2.
If you need to disable both minor and major tick marks, set the ShowTicks property to False.
Note
The MajorTickCount property value is ignored if the logarithmic scale mode is enabled.