Renaming fitData to getTrendlineData