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