Esempio n. 1
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     InitializeChartData();
     this.comboBox1.SelectedIndex = 0;
     this.chartControl1.Dock      = DockStyle.Fill;
 }
Esempio n. 2
0
 private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     this.chartControl1.Series.Clear();
     InitializeChartData();
     this.chartControl1.Series[0].Type = (ChartSeriesType)Enum.Parse(typeof(ChartSeriesType), this.comboBox1.SelectedItem.ToString(), true);
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     this.chartControl1.Refresh();
 }
Esempio n. 3
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     InitializeChartData();
     this.comboBox1.SelectedIndex = 0;
     this.chartControl1.Anchor    = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
 }