示例#1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     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)));
 }
示例#2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     this.chartControl1.Dock = DockStyle.Fill;
 }