Add graph formatting