TiPlotChannelCustom.GetXMax
TiPlotChannelCustom
Used to get the maximum x data value in a channel's dataset.
function GetXMax() : Double;
Description
Use the GetXMax method to get the maximum x data value for all of the existing
data points that in the buffer of this channel.
Note: If you are using a ring buffer or if you clear out old historical data from
the buffer, then those deleted data points will not be used in this calculation.
Example
Delphi
Value := iComponent.Channel[0].GetXMax();
C++ Builder
Value = iComponent->Channel[0]->GetXMax();
Contents | Index | Previous | Next