TiPlotChannelCustom.GetXMean

TiPlotChannelCustom

Used to get the mean x data value in a channel's dataset.

function GetXMean() : Double;

Description

Use the GetXMean method to get the mean (average) 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].GetXMean();

C++ Builder

Value = iComponent->Channel[0]->GetXMean();

Contents | Index | Previous | Next