Beispiel #1
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            //Creates series and associate with the Chart control
            InitializeChartData();

            //Customize the basic appearance and behaviour of Chart Control
            ChartAppearance.ApplyChartStyles(this.chartControl1);
            this.chartControl1.Dock = DockStyle.Fill;
        }
Beispiel #2
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            //Creates series and associate with the Chart control
            InitializeChartData();

            //Customize the basic appearance and behaviour of Chart Control
            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)));
        }