private void tChart1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) { if (zoomed) { MouseXUp = e.X; MouseYUp = e.Y; double max = lineSeries2.YScreenToValue(MouseYDown); double min = lineSeries2.YScreenToValue(MouseYUp); lineSeries2.CustomVertAxis.SetMinMax(min, max); max = lineSeries3.YScreenToValue(MouseYDown); min = lineSeries3.YScreenToValue(MouseYUp); lineSeries3.CustomVertAxis.SetMinMax(min, max); max = lineSeries4.YScreenToValue(MouseYDown); min = lineSeries4.YScreenToValue(MouseYUp); lineSeries4.CustomVertAxis.SetMinMax(min, max); } }