Trendline options for Chart.addTrendline.
Optional
Polynomial order (2..6).
Moving-average period (>= 2).
Show the fit equation on the plot.
Show the R² value on the plot.
Trendline options for Chart.addTrendline.