getting the data for the graphs directly inside the graphs classes and trying to resolve any errors through them as well AND trying twig filter to display generated images