Appends points to a buffer and drops the oldest ones beyond maxPoints.
maxPoints
Channel buffer, sorted by time. Changed in place.
New points, all newer than the buffer's last point.
Largest buffer length kept.
Number of old points dropped.
Appends points to a buffer and drops the oldest ones beyond
maxPoints.