have added one test scenario for preparing data for chart and used the service in MVC project.