DataStatMovingAverage.setDataStatSize Method¶
Module: DataStatMovingAverage
Definition¶
Specifies the number of data points to consider in the moving average calculation, determining the ‘window’ size of the average.
int id3DevicesDataStatMovingAverage_SetDataStatSize (
ID3_DEVICES_DATA_STAT_MOVING_AVERAGE hDataStatMovingAverage,
int dataStatSize)
Parameters
hDataStatMovingAverage
ID3_DEVICES_DATA_STAT_MOVING_AVERAGEin Handle to the DataStatMovingAverage object.dataStatSize
intin The number of data points to include in the moving average calculation, impacting the smoothness and responsiveness of the average.
Returns