private void OnChartMouseWheel(object sender, MouseEventArgs e) { if (e.Delta > 0) ZoomIn(e.Delta / 20); else ZoomOut(-e.Delta / 20); Invalidate(); }