this question occurs often in the forum, but I never had to deal with time scales before. So I made a small example and it seems it's difficult to get proper x-scale labels on charts. With a XY-graph it's working nice... So maybe you can switch to use a XY-graph instead?
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
If you want your graph to display time on the x axis, you have to uncheck the Ignore Time Stamp option. You could also use a property node as I mentioned. You should also use the Get Date/Time in Seconds instead of a time stamp constant. Place this outside the while loop so you get the current time when the VI starts.