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