It is possible, in Excel, to add a label to a trendline of a chart that shows the Equation or the R-squared value of the trendline like in the image below: 
Trendlines (see documentation) can also be created as objects in ExcelApplication through the Series of a Chart.
The Trendline object has the following Properties:
bool ShowEquation
bool ShowRSquare
Setting these properties to true does not seem to have any effect and the label is not shown. However, if you open, with ExcelApplication, an existing workbook which already has a Trendline label these properties will work properly. From that point on you can programmatically change the label as you like using the properties.
|