well, just collect the points you need and do the normal fitting (like it is done with your graph).
For collecting data a shift register holding an array of data can be used. Or you use the history property of your chart...
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019