TiPlotChannelCustom.GetYMax
TiPlotChannelCustom
Used to get the maximum y data value in a channel's dataset.
function GetYMax() : Double;
Description
Use the GetYMax method to get the maximum y 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].GetYMax();
C++ Builder
Value = iComponent->Channel[0]->GetYMax();
Contents | Index | Previous | Next