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