TiScaleComponent.AutoScaleMaxTicks
TiScaleComponent See Also
Specifies the maximum TickMajorCount when AutoScale is enabled.
property AutoScaleMaxTicks : Integer;
Description
Use AutoScaleMaxTicks to get or set the maximum TickMajorCount when AutoScale is enabled. The actual TickMajorCount will always be less than or equal to the AutoScaleMaxTicks. The algorithm for
calculating the TickMajorCount will try to match the desired number if possible. In determining the actual TickMajorCount , only values that result in step values that are divisible by the constants
listed below are allowed.
If a TickMajorCount can not be found that is less than or equal to the AutoScaleMaxTicks, then
the TickMajorCount will not be changed.
Allowed Step Divisor
- 0
StepValue = (PositionMax – PositionMin) / (MajorTickCount – 1)
0
2.5 Note : Step Divisors are scaled to StepValue Log base 10 power
5.0
7.5
Example
Delphi
iComponent.AutoScaleMaxTicks := 11;
C++ Builder
iComponent->AutoScaleMaxTicks = 11;
Contents | Index | Previous | Next