TiScaleComponent.AutoScaleDesiredTicks
TiScaleComponent See Also
Specifies the desired Major Tick Count when AutoScale is enabled.
property AutoScaleDesiredTicks : Integer;
Description
Use AutoScaleDesiredTicks to get or set the desired MajorTickCount when
AutoScale is enabled. The actual MajorTickCount may be greater or less than the
desired amount. The algorithm for calculating the MajorTickCount will try to match
the desired number if possible. In determining the actual MajorTickCount, only
values that result in step values that are divisible by the constants listed
below are allowed.
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.AutoScaleDesiredTicks := 6;
C++ Builder
iComponent->AutoScaleDesiredTicks = 6;
Contents | Index | Previous | Next