Sub test()
Dim TablY() As Double, TablX() As Date, C As Range, I As Long
I = -1
With Sheets(1).ChartObjects(1).Chart
For Each C In [A2:A5]
I = I + 1
ReDim Preserve TablX(I)
ReDim Preserve TablY(I)
TablX(I) = C.Value
TablY(I) = C.Offset(, 1).Value
Next C
.SeriesCollection(1).Values = TablY
.SeriesCollection(1).XValues = TablX
End With
End Sub