To add a trend line, you need to add or insert a Statistics analysis in the document.
In the Statistics analysis, add a “Trend” on the series of interest. If needed, set the data range on which the trend line should be calculated, and untick “Extrapolate” if you want the trend line only to be drawn on the defined range of calculation.
This will yield a trend line calculated using linear regression.
For more information, check: