TiPlotDataCursor.ValueY

TiPlotDataCursor

Gets the Y coordinate value of the cursor.

property ValueY : Double; [Read Only]

Description

Use ValueY to get current Y coordinate value of the cursor. This property is not valid if you are using a cursor of style ipcsValueX, ipcsDeltaX, or ipcsInverseDeltaX.

CursorStyle
Value Meaning
ipcsValueXY
(iPlot Only)
Value is the Y-Value of the pointer line.
ipcsValueXY
(iXYPlot Only)
Value is the Y-Value of the second pointer line(Y-Axis pointer line).
ipcsValueX
Property Invalid. Value is always 0.
ipcsValueY
Value is the Y-Value of the pointer line.
ipcsDeltaX
Property Invalid. Value is always 0.
ipcsDeltaY
Value is the Y-Axis range between the first and second pointer line.
ipcsInverseDeltaX
Property Invalid. Value is always 0.

Example

Delphi

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

C++ Builder

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

Contents | Index | Previous | Next