Create the function "RefreshGraph" under the Class "SerialPlot"