https://www.qcustomplot.com/index.php/demos/realtimedatademo
I want the effect to be like this demo but keep the X-axis unchanged during the curve scrolling, and only keep and display the latest 1 screen of data, and delete the old data from the left side of the screen.
(x0,y0) //first (x-1,y0) (x0,y1) //2 (x-1,y0) (x-1,y1) (x0,y2) //3 (x-3,y1) (x-2,y0) (x-1,y2) (x0,y3) //4 (x-4,y0) (x-3,y1) (x-2,y2) (x-1,y3) (x0,y4) //5 (x-4,y1) (x-3,y2) (x-2,y3) (x-1,y4) (x0,y5) //6 ... (x-4,y95) (x-3,y96) (x-2,y97) (x-1,y98) (x0,y99) //100 ... (x-4,yn-3) (x-3,yn-3) (x-2,yn-3) (x-1,yn-2) (x0,yn-1) //n-th
thanks