Exemple #1
0
 /// <summary>
 /// Initializes collection for points.
 /// </summary>
 private void InitPoints()
 {
     CurrentPing.Points.Clear();
     AveragePing.Points.Clear();
     CurrentPing.DrawPoint(0, Height);
     AveragePing.DrawPoint(0, Height);
 }
Exemple #2
0
 /// <summary>
 /// Draws the points with the pingManipulatorResult data.
 /// </summary>
 public void Draw(PingManipulatorResult pingManipulatorResult)
 {
     AveragePing.DrawPoint(pingManipulatorResult.Time, Height - pingManipulatorResult.Ping);
     CurrentPing.DrawPoint(pingManipulatorResult.Time, Height - pingManipulatorResult.Average);
     Expand(pingManipulatorResult.Time);
 }