Ejemplo n.º 1
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     CreateDataSet();
     InitializeChartData();
     InitializeControlSettings();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }
Ejemplo n.º 2
0
 private void FormMain_Load(object sender, System.EventArgs e)
 {
     CBox_AxesLayoutMode.SelectedIndex = 1;
     comboBox1.SelectedIndex           = 2;
     InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }
Ejemplo n.º 3
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     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)));
 }
Ejemplo n.º 4
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            InitializeChartData();
            ChartAppearance.ApplyChartStyles(this.chartControl1);
            ChartAppearance.ApplyChartStyles1(this.chartControl2);

            this.chartControl1.Dock = DockStyle.Fill;
        }
Ejemplo n.º 5
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     //Create a new single thread to add points to chart series
     Start       = new ThreadStart(DataThreadLoop);
     addRealData = new Thread(Start);
     addDataDel += new AddDataDelegate(AddChartData);
     InitializeChart();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }
Ejemplo n.º 6
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     InitializeChartData();
     InitializeChartAppearance();
     this.dprovider.timer1.Enabled = true;
     this.dprovider.timer1.Tick   += new EventHandler(timer1_Tick);
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     this.chartControl1.Dock = DockStyle.Fill;
 }
Ejemplo n.º 7
0
        private void FormMain_Load(object sender, System.EventArgs e)
        {
            this.comboBoxChartType.Items.Add(ChartSeriesType.Bar);
            this.comboBoxChartType.Items.Add(ChartSeriesType.StackingBar);
            this.comboBoxChartType.SelectedIndex = 0;

            InitializeChartData();
            ChartAppearance.ApplyChartStyles(this.chartControl1);
        }
Ejemplo n.º 8
0
 private void FormMain_Load(object sender, System.EventArgs e)
 {
     CB_axis.SelectedIndex = 0;
     InitializeChartData();
     FillControlPanel();
     this.chartControl1.PrimaryXAxis.Inversed = true;
     this.chartControl1.PrimaryYAxis.Inversed = true;
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }
Ejemplo n.º 9
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     FillControlPanel();
     this.comboBox2.Enabled = false;
     InitializeChartData();
     this.comboBox3.SelectedIndex = 0;
     this.comboBox1.SelectedIndex = 0;
     this.comboBox2.SelectedIndex = 0;
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }
Ejemplo n.º 10
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     InitializeChartData();
     InitializeChartAppearance();
     this.dprovider.timer1.Enabled = true;
     this.dprovider.timer1.Tick   += new EventHandler(timer1_Tick);
     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)));
 }
Ejemplo n.º 11
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            InitializeChartData();
            this.comboBox1.SelectedIndex = 0;
            this.comboBox2.SelectedIndex = 0;

            this.label1.Enabled    = true;
            this.label4.Enabled    = true;
            this.comboBox1.Enabled = true;
            this.comboBox2.Enabled = true;
            ChartAppearance.ApplyChartStyles(this.chartControl1);
            this.chartControl1.Dock = DockStyle.Fill;

            //InitializeControlSettings();
        }
Ejemplo n.º 12
0
 private void Form1_Load(object sender, System.EventArgs e)
 {
     this.dataGridView1.ColumnCount     = 0;
     this.chartDockControl1             = new ChartDockControl(this.dataGridView1);
     this.chartDockControl1.Alignment   = ChartAlignment.Center;
     this.chartDockControl1.Orientation = ChartOrientation.Horizontal;
     this.chartDockControl1.Position    = ChartDock.Bottom;
     this.chartControl1.Controls.Add(chartDockControl1);
     this.chartControl1.DockingManager.Add(this.chartDockControl1);
     this.dataGridView1.Size = new Size(this.chartControl1.Width - 93, this.chartControl1.Height - 295);
     InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
     PopulateDataGrid();
     this.chartControl1.Dock = DockStyle.Fill;
 }
Ejemplo n.º 13
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            InitializeChartData();
            this.comboBox1.SelectedIndex = 0;
            this.comboBox2.SelectedIndex = 0;

            this.label1.Enabled    = true;
            this.label4.Enabled    = true;
            this.comboBox1.Enabled = true;
            this.comboBox2.Enabled = true;
            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)));

            //InitializeControlSettings();
        }
Ejemplo n.º 14
0
 private void FormMain_Load(object sender, System.EventArgs e)
 {
     InitializeChartData();
     ChartAppearance.ApplyChartStyles(this.chartControl1);
 }