Adding support for calculating lineair trendline for a given selected level
support for curve fitting is under construction