TiPlotChannel.AddYNow

TiPlotChannel See Also

Used to add a data point to the channel while also setting the X & Y value.

function AddYNow(X : Double) : Integer;

Description

Call the AddYNow method to add a data point to the channel while also setting the X & Y value. The y value will be set to the Y parameter and the x value will set to the current DateTime (Now).

Example

Delphi

Value := iComponent.Channel[0].AddYNow(25.1);

C++ Builder

Value = iComponent->Channel[0]->AddYNow(25.1);

Contents | Index | Previous | Next