Function sinspekto::replace_data_points

Function Documentation

RangeTX sinspekto::replace_data_points(boost::circular_buffer<int64_t> &b1, boost::circular_buffer<double> &b2, QXYSeries *xySeries)

Replace data points in a QXYSeries.

The given QXYSeries’s data is replaced with the contents of the input buffers. Both the time points and real value buffers must be of equal length.

Parameters
  • b1[in] Buffer of time points to set.

  • b2[in] Buffer of real values to set.

  • xySeries[inout] QXYSeries pointer to update.

Returns

The range of time and range of data value (min and max values).