Is it possible to have multiple outputs on an interactive graph. I am creating a demonstration for a econometrics class. I want to plot a series of fixed data points. Then I want to have sliders for two parameters of a linear function that will plotted on top of the points. On the same graph I would like to display the sum of squared residuals where each residual is the distance between the line and a point on the graph. The students would then use the sliders to select parameters that seem to fit the line to the points in the best way that they can. That is, in such a way as to minimize the sum of squared residuals.
In short, my question is. Can I plot fixed point, an interactive line, and an interactive numeric output all on the same interactive graph? I have been looking around and can't find anything like it.