/// <summary> /// Initailizes a new instance of the class. /// </summary> /// <param name="plotter">The plotter that caused the event to be raised</param> public PlotterEventArgs(Plotter plotter) { m_Plotter = plotter; }
/// <summary> /// Initailizes a new instance of the class. /// </summary> /// <param name="plotter">The plotter that caused the event to be raised</param> public PlotterEventArgs (Plotter plotter) { m_Plotter = plotter; }
/// <summary> /// Reset the specified plotter user control. Clears the graph display and channel lists so that the whole plotting process can be repeated. /// </summary> /// <remarks>The plotter user control must previously have been initialized prior to calling this method.</remarks> /// <param name="plotter">Reference to the <c>Plotter</c> user control that is to be reset.</param> public void ResetPlotter(Plotter plotter) { // Skip, if the Dispose() method has been called. if (m_IsDisposed) { return; } // Update those properties affected by changes in the time span of the plot. plotter.StartTime = PlotterRangeSelection.StartTime; plotter.XRange = PlotterRangeSelection.TimeSpan; plotter.PlotIntervalMs = PlotterRangeSelection.PlotIntervalMs; // Erase the graph and initialize the channels to start the whole plotting process once again. plotter.Reset(); }