コード例 #1
0
ファイル: Plot.cs プロジェクト: aleksanderkobylak/oxyplot
 /// <summary>
 /// Pans the specified axis.
 /// </summary>
 /// <param name="axis">
 /// The axis.
 /// </param>
 /// <param name="ppt">
 /// The previous point (screen coordinates).
 /// </param>
 /// <param name="cpt">
 /// The current point (screen coordinates).
 /// </param>
 public void Pan(Axis axis, ScreenPoint ppt, ScreenPoint cpt)
 {
     axis.Pan(ppt, cpt);
     this.InvalidatePlot(false);
 }
コード例 #2
0
ファイル: Plot.cs プロジェクト: jwolfm98/HardwareMonitor
 /// <summary>
 /// The pan.
 /// </summary>
 /// <param name="axis">
 /// The axis.
 /// </param>
 /// <param name="x0">
 /// The x 0.
 /// </param>
 /// <param name="x1">
 /// The x 1.
 /// </param>
 public void Pan(Axis axis, ScreenPoint x0, ScreenPoint x1)
 {
     axis.Pan(x0, x1);
     this.InvalidatePlot(false);
 }