TiPlotComponent.AddDataCursor

TiPlotComponent

Adds a single data cursor object to the plot.

function AddDataCursor : Integer;

Description

Call AddDataCursor to add a single data cursor object to the plot. The return value from the function is an unique index used for manipulating the object. Use the DataCursor property to get or set the properties of the data cursor object.

The index value for this object will decrement by one each time a data cursor object with a lower index value is deleted.

Example

Delphi

Index := iComponent.AddDataCursor;

C++ Builder

Index = iComponent->AddDataCursor();

Contents | Index | Previous | Next