/// <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); }
/// <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); }