You might find the problem resolves itself with more data. I’ve not seen that error occur before.
If you have timelapse1090 then that will accumulate data for the period set. The script will use all the data that is available. The interval and duration for data collection is set in
I have mine set for 24 hours collecting every 3 seconds. That produces quite dense plots, but takes correspondingly longer to process. Not so bad on a pi 4 or PC but can take a while on pi 3. If you set it that high though, the actual timelapse web page will probably crash when you load it under normal traffic levels. If you only use it for making these plots then it’s not really a problem.