I'm using graph builder to show the trends of a response variable (Y) vs an input (X) for two different groups on the same chart.
To this I add a "Line of Fit" for each group (shown in attached file) and now I want to be able to:
1. display the equations (I can see how to display the RMSE, but not how to display the entire equation).
2. use the fitting parameters in a JSL script to make a column based on the fit parameters. I know how to make the columns and all that once I have the parameters of the fit, but the thing I am not seeing in the documentation is how to access the parameter values for the slope and offset (it is just a linear fit that I'm doing in this instance, but it woudl be nice to know how to do this for a general polynomial fit also).
3. Lastly, if there is a way I can add constraints to the fit (for example constrain slope to unity) that would be helpful in some of the charts I'm going to make in the future.
Thanks,
Charlie