Exemplo n.º 1
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            InitializeChartData();
            ChartAppearance.ApplyChartStyles(this.chartControl1);

            this.panel1.Dock = DockStyle.Top;
        }
Exemplo n.º 2
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            InitializeChartData();
            ChartAppearance.ApplyChartStyles(this.chartControl1);

            this.panel1.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)));
        }
Exemplo n.º 3
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     this.comboBoxChartType.Items.Add(ChartSeriesType.Line);
     this.comboBoxChartType.Items.Add(ChartSeriesType.Spline);
     this.comboBoxChartType.Items.Add(ChartSeriesType.StepLine);
     this.comboBoxChartType.Items.Add(ChartSeriesType.RotatedSpline);
     this.comboBoxChartType.SelectedIndex = 0;
     FillControlPanel();
     this.comboBox1.SelectedIndex = 0;
     InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }