private void UpdateChartSeries() { chart1.Series.Clear(); List <string> channels = ImpedanceForm.Channels(); for (int i = 0; i < 8; i++) { if (!ConfigManager.Config.CurveIsChecked[i]) { continue; } Series series = new Series(channels[i]) { ChartType = SeriesChartType.Line, IsValueShownAsLabel = false }; series.SmartLabelStyle.Enabled = false; series.Color = Color.FromArgb(ConfigManager.Config.CurveColors[i]); chart1.Series.Add(series); } }
private void bt_CheckImpedance_Click(object sender, EventArgs e) { ImpedanceForm f = new ImpedanceForm(); f.ShowDialog(); }