Adding legend, switching to line graphs