Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
The following screenshot shows the Chart with a Trendline and its Equation Text is shown in Red color. We will retrieve this text using the Trendline.data_labels.text property in the following sample code.

This is the console output of the above sample code.
Equation Text: y = 8.1333x + 5Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.