TiPlotAxis.LegendMinLengthAutoAdjust
TiPlotAxis
Specifies whether the LabelsMinLength property is automatically adjusted as the minimum required label length
increases.
property LegendMinLengthAutoAdjust : Boolean;
Description
Use LegendMinLengthAutoAdjust to specify whether the LegendMinLength property
is automatically adjusted as the minimum required label length increases.
Note: this property only has effect if LegendUseDefaultFormat is set to FALSE. If LegendUseDefaultFormat is set to TRUE, then the Axis LabelsMinLengthAutoAdjust will override this property.
While moving the Legend, the actual minimum label length may become greater
than the LegendMinLength property value. This will result it the Legend hint
growing in size to accommodate the wider label. If the plotting data or user
changes the displayed data causing the Legend hint width to vary, it may cause an
annoying oscillation of the Legend hint size. To prevent this oscillation, set
this property to TRUE.
If this is an X-Axis, then this property will only affect Channel X-Values
displayed in the Legend. If this is an Y-Axis, then only Y-Values will be
affected.
The LegendMinLength property is stored when the TrackingEnabled property is set to FALSE. The LegendMinLength property will be restored to
the previous value when TrackingEnabled property is set back to TRUE.
Example
Delphi
iComponent.XAxis[0].LegendMinLengthAutoAdjust := True;
iComponent.YAxis[0].LegendMinLengthAutoAdjust := True;
C++ Builder
iComponent->XAxis[0]->LegendMinLengthAutoAdjust = True;
iComponent->YAxis[0]->LegendMinLengthAutoAdjust = True;
Contents | Index | Previous | Next