TiPlotChannelCustom.DataCursorYText
TiPlotChannelCustom
Gets the current text representing the Y-Value text displayed in the Data
Cursor assigned to this channel.
property DataCursorYText : String;
Description
Use DataCursorYText to get the Y-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
Y-Value Text displayed in the Data Cursor that called the event.
Example
Delphi
Value := iComponent.Channel[0].DataCursorYText;
C++ Builder
Value = iComponent->Channel[0]->DataCursorYText;
Contents | Index | Previous | Next