TiPlotComponent.Labels

TiPlotComponent See Also

Used to access a specific Label Object.

property Labels[Index : Integer] : TiPlotLabel;

Description

Use Label to access a specific Label Object. The index value is zero based and must be less than the LabelCount. To add a Label, use the AddLabel method. To delete a Label, use the DeleteLabel method. To remove all Labels except for the first Label, use the RemoveAllLabels method.

Note: for backward compatibility, the TitleFont, TitleMargin, TitleText, and TitleVisible properties will always modify the Label with index 0.

Example

Delphi

iComponent.Labels[0].Caption := 'Channel 1';

C++ Builder

iComponent->Labels[0]->Caption = "Channel 1";

Note: Index is zero based. Index 0 can never be deleted.

Contents | Index | Previous | Next