fixes bug 1041992 - trendlines