line chart for mean and median plots