to make a fitting line in the WPS table:
First, input the data that needs to fit straight line;
Select the table data from the bottom right to the left, select the table in the Insert, and select the XY (scatter) chart with the smooth curve in the table. As shown in figure:
Click the table that appears, click the first box on the right, select the trendline in the pop-up menu, and then select Linear. As shown in figure:
At this point, the fitting line is set to complete. To make the fitting line more obvious, you can move the mouse to a straight line and double-click it to change the line style and color in the property settings that pop up on the right, as shown:
If necessary, we can change the values in the trendline forecast to extend the fitted line so that it intersects with the axis. As shown in figure:
We can also check the "show Formula" and "Show R squared value" to find the slope and r². As shown in figure: