Create the function "RefreshGraph" under the class "SerialPlot"