Automatic adjustement of trendlines #2671

It has a very basic GUI, but the concept is working