TiPlotAxis.LabelsMinLength

TiPlotAxis See Also

Specifies the minimum label length used in calculating the number of scale labels (Major Ticks) during AutoScale.

property LabelsMinLength : Integer;

Description

Use LabelsMinLength to get or set the minimum label length used in calculating the number of scale labels (Major Ticks) during AutoScale. This property has no effect if the axis is not horizontal.

AutoScale automatically calculates the number of scale labels based on the LabelsFont, LabelSeparation, and LabelsMinLength to ensure labels that are in a human readable format (1-2-5 Rule).

Example

Delphi

iComponent.XAxis[0].LabelsMinLength := 5;

iComponent.YAxis[0].LabelsMinLength := 5;

C++ Builder

iComponent->XAxis[0]->LabelsMinLength = 5;

iComponent->YAxis[0]->LabelsMinLength = 5;

Contents | Index | Previous | Next