TiStripChart.AddChannel

TiStripChart See Also

Adds a channel to the StripChart.

type TiChannelLineStyle = (iclsSolid, iclsDash, iclsDot, iclsDashDot, iclsDashDotDot);

procedure AddChannel (Title: String; AColor: TColor; LineStyle: TiChannelLineStyle; LineWidth: Integer);

Description

Call AddChannel to add a channel to the StripChart.

Example

Delphi

iComponent.AddChannel ('Channel 1', clRed, iclsSolid, 1);

C++ Builder

iComponent->AddChannel ("Channel 1", clRed, iclsSolid, 1);

Note: Whenever a channel is added, ClearData is automatically called.

Contents | Index | Previous | Next