/// <summary> /// Zoom to Fit the chart when clicked /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ZoomFitButton_Click(object sender, EventArgs e) { MainChart.AutozoomToData(true); MainChart.Focus(); }