TiPlotChannelCustom.DataCursorXText

TiPlotChannelCustom

Gets the current text representing the X-Value text displayed in the Data Cursor assigned to this channel.

property DataCursorXText : String;

Description

Use DataCursorXText to get the X-Value text reflected in the last data cursor to access.

Important Note: this property is only updated when a data cursor accesses the channel (i.e. when a data cursor assigned to this channel moves). If a data cursor has never accessed this channel, then this value will be invalid. If multiple data cursors are assigned to this channel, then this value will only reflect the last data cursor to access this channel.

Note
: this property is generally used in conjunction with the OnDataCursorChange event. When that event fires, you can look at this property to see the current X-Value Text displayed in the Data Cursor that called the event.

Example

Delphi

Value := iComponent.Channel[0].DataCursorXText;

C++ Builder

Value = iComponent->Channel[0]->DataCursorXText;

Contents | Index | Previous | Next