TiPlotAxis.LabelsMinLengthAutoAdjust

TiPlotAxis See Also

Specifies whether the LabelsMinLength property is automatically adjusted as the minimum required label length increases.

property LabelsMinLengthAutoAdjust : Boolean;

Description

Use LabelsMinLengthAutoAdjust to specify whether the LabelsMinLength property is automatically adjusted as the minimum required label length increases.

While plotting, or user scrolling/zooming, the actual minimum label length may become greater than the LabelsMinLength property value. This will result it the axis growing in size to accommodate the wider label. If the plotting data or user changes the displayed data causing the label width to vary, it may cause an annoying oscillation of the display plot objects sizes. To prevent this oscillation, set this property to true.

The LabelsMinLength property is stored when the TrackingEnabled property is set to False. The LabelsMinLength property will be restored to the previous value when TrackingEnabled property is set back to True.

Example

Delphi

iComponent.XAxis[0].LabelsMinLengthAutoAdjust := True;

iComponent.YAxis[0].LabelsMinLengthAutoAdjust := True;

C++ Builder

iComponent->XAxis[0]->LabelsMinLengthAutoAdjust = True;

iComponent->YAxis[0]->LabelsMinLengthAutoAdjust = True;

Contents | Index | Previous | Next