Is this what you want?
    ActiveChart.SeriesCollection(1).XValues = Sheet("test2").Range(Cells(4, 1), Cells(lastRow, 1))
    ActiveChart.SeriesCollection(1).Values = Sheet("test2").Range(Cells(4, 2), Cells(lastRow, 2))