This invention discloses a high-precision waveform curve support method,
system, device, and storage medium based on ScottPlot, comprising: determining the base time of waveform data points; calculating the time interval by subtracting the base time from the original time of the waveform data points, converting the time interval into a total number of milliseconds, and using the total number of milliseconds as the
millisecond offset; using the
millisecond offset as the X-axis coordinate
data source, and combining it with the original ordinate value of the waveform data points to draw the waveform curve in the ScottPlot chart frame; upon receiving a trigger command to display the real time of the waveform data points, obtaining the
millisecond offset of the current
data point on the X-axis, adding the millisecond offset to the base time to calculate and reconstruct the real time for display. This enables ScottPlot to support the display of high-precision curves, with precision down to the
microsecond or even
nanosecond level.