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