Add grouping for geom_line.