Add a print button to the graphs.
added legend