TiPlotDataCursor.ValueX

TiPlotDataCursor

Gets the X coordinate value of the cursor.

property ValueX : Double; [Read Only]

Description

Use ValueX to get current X coordinate value of the cursor. This property is not valid if you are using a cursor of style ipcsValueY, or ipcsDeltaY.

CursorStyle
Value Meaning
ipcsValueXY
(iPlot Only)
Value is the X-Value of the pointer line.
ipcsValueXY
(iXYPlot Only)
Value is the X-Value of the first pointer line(X-Axis Cursor).
ipcsValueX
Value is the X-Value of the pointer line.
ipcsValueY
Property Invalid. Value is always 0.
ipcsDeltaX
Value is the X-Axis range between the first and second pointer line.
ipcsDeltaY
Property Invalid. Value is always 0.
ipcsInverseDeltaX
Value is the inverse of the x axis range between the first and second pointer line multiplied by the CursorScaler property of the associated channel's x-axis.

Example

Delphi

Value := iComponent.DataCursor[0].ValueX;

C++ Builder

Value = iComponent->DataCursor[0]->ValueX;

Contents | Index | Previous | Next