Add gridlines and legend