Adds formatting to the graphs