TiPlotLegend.WrapColAutoCountMax

TiPlotLegend

Specifies the maximum number of columns that the Automatic Colum Count function will allow.

property WrapColAutoCountMax : Integer;

Description

Use WrapColAutoCountEnabled to get or set the desired number of columns before wrapping the channel entries in the Legend.

Specifies the maximum number of columns that should be allotted when WrapColAutoCountEnabled is set to TRUE. This actual number of columns will be equal or less than this value depending on space requirements and the number and makeup of legend entries. This property in effect causes the legend to display the scroll bars if the maximum number of columns is reached, and the number of channel legend entries exceeds the available space.

Note: colums refers to a column of channel entries, not to the "XValue, "YValue", "XMean", "YMean", etc. columns. The original Plot Pack only supported one column of channel entries.

Recommended Setting for this property: 3 (for Vertical Legends) or 100 (for Horizontal Legends)

Example

Delphi

iComponent.Legend[0].WrapColAutoCountMax := 3;

C++ Builder

iComponent->Legend[0]->WrapColAutoCountMax = 3;

Contents | Index | Previous | Next