Added ability to pass title into line graph.