IsDisplayingRSquared Property Example
This example adds a trendline to the specified series. Only the trendline equation is displayed.
Set tl = ChartSpace1.Charts(0).SeriesCollection(0).Trendlines.Add
tl.IsDisplayingEquation = True
tl.IsDisplayingRSquared = False