I'm trying to create a scatter graph using Highcharts. There's a sample that shows how to add a trend line. However, I don't see anywhere where we could add the equation and the r-squared value like what we normally do in Excel.
Thanks!
I'm trying to create a scatter graph using Highcharts. There's a sample that shows how to add a trend line. However, I don't see anywhere where we could add the equation and the r-squared value like what we normally do in Excel.
Thanks!
In order to show the r squared value:
https://github.com/streamlinesocial/highcharts-regression/issues/38
As per phpepe:
Add "%r2" to the legend and will replaced with the calculated value. You can add the equation as well as shown in the examples.