Added support for drawing lines of best fit.