Exemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.BackInterior              = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(0, 5, 5, 0);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Font         = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font     = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location = new System.Drawing.Point(812, 70);
     this.chartControl1.Localize        = null;
     this.chartControl1.Location        = new System.Drawing.Point(14, 15);
     this.chartControl1.Name            = "chartControl1";
     this.chartControl1.PrimaryXAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryXAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryYAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(928, 554);
     this.chartControl1.TabIndex = 2;
     this.chartControl1.Text     = "Essential Chart";
     //
     //
     //
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(577, 413);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Date Time Axes in Chart";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.imageList1   = new System.Windows.Forms.ImageList(this.components);
     this.timer1       = new System.Windows.Forms.Timer(this.components);
     this.SuspendLayout();
     //
     // chartControl
     //
     this.chartControl.Dock = DockStyle.Fill;
     this.chartControl.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl.ChartArea.CursorReDraw   = false;
     this.chartControl.DataSourceName           = "";
     this.chartControl.IsWindowLess             = false;
     //
     //
     //
     this.chartControl.Legend.Location       = new System.Drawing.Point(802, 31);
     this.chartControl.Localize              = null;
     this.chartControl.Location              = new System.Drawing.Point(22, 22);
     this.chartControl.Name                  = "chartControl";
     this.chartControl.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl.PrimaryXAxis.Margin   = true;
     this.chartControl.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl.PrimaryYAxis.Margin   = true;
     this.chartControl.Size                  = new System.Drawing.Size(911, 540);
     this.chartControl.TabIndex              = 0;
     //
     //
     //
     this.chartControl.Title.Name = "Def_title";
     this.chartControl.Title.Text = "";
     this.chartControl.Titles.Add(this.chartControl.Title);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     //
     // timer1
     //
     this.timer1.Enabled = true;
     //
     // Form1
     //
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl);
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(570, 414);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "Form1";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "Pareto";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.BorderAppearance.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(113)))), ((int)(((byte)(173)))));
     this.chartControl1.BorderAppearance.SkinStyle = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Pinned;
     this.chartControl1.ChartArea.CursorLocation   = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw     = false;
     this.chartControl1.ChartArea.XAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartInterior  = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName = "";
     this.chartControl1.IsWindowLess   = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(93, 453);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(7, 7);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing         = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin           = true;
     this.chartControl1.PrimaryYAxis.RangePaddingType = Syncfusion.Windows.Forms.Chart.ChartAxisRangePaddingType.None;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(939, 565);
     this.chartControl1.TabIndex = 1;
     this.chartControl1.Text     = "Essential Chart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Essential Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(642, 514);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "Form1";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "From XML";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label40       = new System.Windows.Forms.Label();
     this.label6        = new System.Windows.Forms.Label();
     this.btnStop       = new System.Windows.Forms.Button();
     this.btnStart      = new System.Windows.Forms.Button();
     this.panel2        = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Legend.Location    = new System.Drawing.Point(85, 419);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Legend.Visible     = false;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(0, 0);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.Gray;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Rotation = 0.1F;
     this.chartControl1.Size     = new System.Drawing.Size(700, 492);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "Syncfusion Essential Chart";
     this.chartControl1.Tilt     = 0.1F;
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Syncfusion Essential Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.panel1.AutoSize  = true;
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.label40);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Location = new System.Drawing.Point(0, 498);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(703, 85);
     this.panel1.TabIndex = 1;
     //
     // label40
     //
     this.label40.BackColor  = System.Drawing.Color.Transparent;
     this.label40.Font       = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label40.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label40.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label40.Location   = new System.Drawing.Point(3, 36);
     this.label40.Name       = "label40";
     this.label40.Size       = new System.Drawing.Size(697, 42);
     this.label40.TabIndex   = 7;
     this.label40.Text       = "Points are added by thread for each one second. The last 20 seconds points are on" +
                               "ly visible in chart, other invisible points are removed from chart series to imp" +
                               "rove performance of chart.\r\n";
     //
     // label6
     //
     this.label6.Font       = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label6.Location   = new System.Drawing.Point(4, 3);
     this.label6.Name       = "label6";
     this.label6.Size       = new System.Drawing.Size(688, 26);
     this.label6.TabIndex   = 6;
     this.label6.Text       = "Sample Description";
     this.label6.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnStop
     //
     this.btnStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnStop.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnStop.ForeColor = System.Drawing.Color.White;
     this.btnStop.Location  = new System.Drawing.Point(48, 83);
     this.btnStop.Name      = "btnStop";
     this.btnStop.Size      = new System.Drawing.Size(137, 34);
     this.btnStop.TabIndex  = 1;
     this.btnStop.Text      = "STOP";
     this.btnStop.UseVisualStyleBackColor = false;
     this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
     //
     // btnStart
     //
     this.btnStart.BackColor = System.Drawing.Color.Green;
     this.btnStart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnStart.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnStart.ForeColor = System.Drawing.Color.White;
     this.btnStart.Location  = new System.Drawing.Point(48, 36);
     this.btnStart.Name      = "btnStart";
     this.btnStart.Size      = new System.Drawing.Size(137, 34);
     this.btnStart.TabIndex  = 0;
     this.btnStart.Text      = "START";
     this.btnStart.UseVisualStyleBackColor = false;
     this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
     // this.panel2.Controls.Add(this.btnStart);
     this.panel2.Controls.Add(this.btnStop);
     this.panel2.Location = new System.Drawing.Point(700, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(260, 590);
     this.panel2.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(553, 516);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Real Time Scenario using Thread";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label2        = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 10, 0);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Location = new System.Drawing.Point(591, 75);
     this.chartControl1.Localize        = null;
     this.chartControl1.Location        = new System.Drawing.Point(0, 0);
     this.chartControl1.Name            = "chartControl1";
     this.chartControl1.PrimaryXAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryXAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryYAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(700, 567);
     this.chartControl1.TabIndex = 2;
     this.chartControl1.Text     = " ";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = " ";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // checkBox1
     //
     this.checkBox1.AutoSize  = true;
     this.checkBox1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.checkBox1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location  = new System.Drawing.Point(44, 70);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(55, 25);
     this.checkBox1.TabIndex  = 3;
     this.checkBox1.Text      = "RTL";
     this.checkBox1.UseVisualStyleBackColor = false;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 587);
     this.panel1.TabIndex = 4;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(39, 34);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(79, 25);
     this.label2.TabIndex  = 25;
     this.label2.Text      = "Support";
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(476, 414);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Right-to-Left Support";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.imageList1   = new System.Windows.Forms.ImageList(this.components);
     this.timer1       = new System.Windows.Forms.Timer(this.components);
     this.label6       = new System.Windows.Forms.Label();
     this.label40      = new System.Windows.Forms.Label();
     this.panel1       = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl
     //
     this.chartControl.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl.ChartArea.CursorReDraw   = false;
     this.chartControl.DataSourceName           = "";
     this.chartControl.Dock         = System.Windows.Forms.DockStyle.Top;
     this.chartControl.IsWindowLess = false;
     //
     //
     //
     this.chartControl.Legend.Location       = new System.Drawing.Point(845, 31);
     this.chartControl.Localize              = null;
     this.chartControl.Location              = new System.Drawing.Point(0, 0);
     this.chartControl.Name                  = "chartControl";
     this.chartControl.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl.PrimaryXAxis.Margin   = true;
     this.chartControl.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl.PrimaryYAxis.Margin   = true;
     this.chartControl.Size                  = new System.Drawing.Size(954, 440);
     this.chartControl.TabIndex              = 0;
     //
     //
     //
     this.chartControl.Title.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl.Title.Name = "Def_title";
     this.chartControl.Title.Text = "";
     this.chartControl.Titles.Add(this.chartControl.Title);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     //
     // timer1
     //
     this.timer1.Enabled = true;
     //
     // label6
     //
     this.label6.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label6.Location   = new System.Drawing.Point(10, 0);
     this.label6.Name       = "label6";
     this.label6.Size       = new System.Drawing.Size(688, 45);
     this.label6.TabIndex   = 7;
     this.label6.Text       = "Sample Description";
     this.label6.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label40
     //
     this.label40.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.label40.BackColor  = System.Drawing.Color.Transparent;
     this.label40.Font       = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label40.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label40.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label40.Location   = new System.Drawing.Point(3, 45);
     this.label40.Name       = "label40";
     this.label40.Size       = new System.Drawing.Size(948, 81);
     this.label40.TabIndex   = 8;
     this.label40.Text       = resources.GetString("label40.Text");
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label40);
     this.panel1.Location = new System.Drawing.Point(0, 443);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(954, 126);
     this.panel1.TabIndex = 9;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(714, 527);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "DateTime Axis";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.comboBox1     = new System.Windows.Forms.ComboBox();
     this.label12       = new System.Windows.Forms.Label();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label1        = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.BorderAppearance.BaseColor          = System.Drawing.Color.Moccasin;
     this.chartControl1.BorderAppearance.FrameThickness     = new Syncfusion.Windows.Forms.Chart.ChartThickness(15F, 15F, 15F, 15F);
     this.chartControl1.BorderAppearance.Interior.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.chartControl1.BorderAppearance.SkinStyle          = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Emboss;
     this.chartControl1.ChartArea.BackInterior    = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font            = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location        = new System.Drawing.Point(552, 81);
     this.chartControl1.Localize               = null;
     this.chartControl1.Location               = new System.Drawing.Point(0, 0);
     this.chartControl1.Name                   = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.ForceZero = true;
     this.chartControl1.PrimaryYAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Range     = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(0D, 600D, 100D);
     this.chartControl1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set;
     this.chartControl1.Size                   = new System.Drawing.Size(700, 578);
     this.chartControl1.TabIndex               = 1;
     this.chartControl1.Text                   = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Margin = 1;
     this.chartControl1.Title.Name   = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 0.20000000298023224D;
     //
     // comboBox1
     //
     this.comboBox1.Cursor                = System.Windows.Forms.Cursors.Hand;
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(36, 96);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(194, 28);
     this.comboBox1.TabIndex              = 93;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label12
     //
     this.label12.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label12.Font        = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label12.Location    = new System.Drawing.Point(33, 65);
     this.label12.Name        = "label12";
     this.label12.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label12.Size        = new System.Drawing.Size(55, 23);
     this.label12.TabIndex    = 92;
     this.label12.Text        = "Style";
     this.label12.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label12);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 590);
     this.panel1.TabIndex = 94;
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.BackColor   = System.Drawing.Color.WhiteSmoke;
     this.label1.Font        = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location    = new System.Drawing.Point(31, 29);
     this.label1.Name        = "label1";
     this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label1.Size        = new System.Drawing.Size(100, 25);
     this.label1.TabIndex    = 94;
     this.label1.Text        = "Skin Styles";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MetroColor    = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.MinimumSize   = new System.Drawing.Size(494, 456);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Borders";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1      = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1             = new System.Windows.Forms.Panel();
     this.checkBox1          = new System.Windows.Forms.CheckBox();
     this.checkBox3          = new System.Windows.Forms.CheckBox();
     this.checkBox2          = new System.Windows.Forms.CheckBox();
     this.colorPickerButton2 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.label3             = new System.Windows.Forms.Label();
     this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.colorPickerButton3 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.label6             = new System.Windows.Forms.Label();
     this.radioButton2       = new System.Windows.Forms.RadioButton();
     this.label7             = new System.Windows.Forms.Label();
     this.comboBoxChartType  = new System.Windows.Forms.ComboBox();
     this.label1             = new System.Windows.Forms.Label();
     this.numericUpDown1     = new System.Windows.Forms.NumericUpDown();
     this.radioButton1       = new System.Windows.Forms.RadioButton();
     this.radioButton3       = new System.Windows.Forms.RadioButton();
     this.label2             = new System.Windows.Forms.Label();
     this.label5             = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(247)))), ((int)(((byte)(232))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(5, 5, 5, 5);
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(253))))), System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216))))));
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.Font         = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(57, 70);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.Margin    = true;
     this.chartControl1.PrimaryXAxis.Range     = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(2004D, 2008D, 1D);
     this.chartControl1.PrimaryXAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set;
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Range     = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(-100D, 1500D, 200D);
     this.chartControl1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set;
     this.chartControl1.Size     = new System.Drawing.Size(700, 572);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "EssentialChart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "EssentialChart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoScroll       = true;
     this.panel1.AutoScrollMargin = new System.Drawing.Size(0, 20);
     this.panel1.BackColor        = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.colorPickerButton2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.colorPickerButton1);
     this.panel1.Controls.Add(this.colorPickerButton3);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.radioButton3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(698, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 584);
     this.panel1.TabIndex = 3;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(42, 610);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(84, 22);
     this.checkBox1.TabIndex        = 5;
     this.checkBox1.Text            = "3D View";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.AutoSize  = true;
     this.checkBox3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox3.Location  = new System.Drawing.Point(42, 572);
     this.checkBox3.Name      = "checkBox3";
     this.checkBox3.Size      = new System.Drawing.Size(109, 24);
     this.checkBox3.TabIndex  = 15;
     this.checkBox3.Text      = "Display Text";
     this.checkBox3.UseVisualStyleBackColor = true;
     this.checkBox3.CheckedChanged         += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location        = new System.Drawing.Point(42, 102);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(171, 34);
     this.checkBox2.TabIndex        = 8;
     this.checkBox2.Text            = "Invert Step Area";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // colorPickerButton2
     //
     this.colorPickerButton2.BeforeTouchSize     = new System.Drawing.Size(90, 30);
     this.colorPickerButton2.ColorUISize         = new System.Drawing.Size(208, 230);
     this.colorPickerButton2.FlatStyle           = System.Windows.Forms.FlatStyle.Flat;
     this.colorPickerButton2.Font                = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.colorPickerButton2.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.colorPickerButton2.IsBackStageButton   = false;
     this.colorPickerButton2.Location            = new System.Drawing.Point(137, 521);
     this.colorPickerButton2.Name                = "colorPickerButton2";
     this.colorPickerButton2.SelectedAsBackcolor = true;
     this.colorPickerButton2.Size                = new System.Drawing.Size(90, 30);
     this.colorPickerButton2.TabIndex            = 1;
     this.colorPickerButton2.ColorSelected      += new System.EventHandler(this.colorPickerButton_ColorSelected);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(38, 148);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(113, 25);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Chart Series";
     //
     // colorPickerButton1
     //
     this.colorPickerButton1.BeforeTouchSize     = new System.Drawing.Size(90, 30);
     this.colorPickerButton1.ColorUISize         = new System.Drawing.Size(208, 230);
     this.colorPickerButton1.FlatStyle           = System.Windows.Forms.FlatStyle.Flat;
     this.colorPickerButton1.Font                = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.colorPickerButton1.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.colorPickerButton1.IsBackStageButton   = false;
     this.colorPickerButton1.Location            = new System.Drawing.Point(42, 521);
     this.colorPickerButton1.Name                = "colorPickerButton1";
     this.colorPickerButton1.SelectedAsBackcolor = true;
     this.colorPickerButton1.Size                = new System.Drawing.Size(90, 30);
     this.colorPickerButton1.TabIndex            = 0;
     this.colorPickerButton1.ColorSelected      += new System.EventHandler(this.colorPickerButton_ColorSelected);
     //
     // colorPickerButton3
     //
     this.colorPickerButton3.BeforeTouchSize     = new System.Drawing.Size(100, 30);
     this.colorPickerButton3.ColorUISize         = new System.Drawing.Size(208, 230);
     this.colorPickerButton3.FlatStyle           = System.Windows.Forms.FlatStyle.Flat;
     this.colorPickerButton3.Font                = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.colorPickerButton3.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.colorPickerButton3.IsBackStageButton   = false;
     this.colorPickerButton3.KeepFocusRectangle  = false;
     this.colorPickerButton3.Location            = new System.Drawing.Point(42, 439);
     this.colorPickerButton3.Name                = "colorPickerButton3";
     this.colorPickerButton3.SelectedAsBackcolor = true;
     this.colorPickerButton3.Size                = new System.Drawing.Size(100, 30);
     this.colorPickerButton3.TabIndex            = 9;
     this.colorPickerButton3.ColorSelected      += new System.EventHandler(this.colorPickerButton3_ColorSelected);
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label6.Location  = new System.Drawing.Point(38, 404);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(94, 20);
     this.label6.TabIndex  = 25;
     this.label6.Text      = "Border Color";
     //
     // radioButton2
     //
     this.radioButton2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton2.Location        = new System.Drawing.Point(42, 220);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(72, 23);
     this.radioButton2.TabIndex        = 4;
     this.radioButton2.Text            = "Volvo";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.BackColor = System.Drawing.Color.Transparent;
     this.label7.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label7.Location  = new System.Drawing.Point(38, 485);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(97, 20);
     this.label7.TabIndex  = 12;
     this.label7.Text      = "Interior Color";
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.Cursor                = System.Windows.Forms.Cursors.Hand;
     this.comboBoxChartType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBoxChartType.Font                  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxChartType.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBoxChartType.Location              = new System.Drawing.Point(39, 67);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(185, 29);
     this.comboBoxChartType.TabIndex              = 6;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(37, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(118, 24);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Chart Type";
     //
     // numericUpDown1
     //
     this.numericUpDown1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.numericUpDown1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Location  = new System.Drawing.Point(42, 362);
     this.numericUpDown1.Maximum   = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(185, 27);
     this.numericUpDown1.TabIndex = 10;
     this.numericUpDown1.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // radioButton1
     //
     this.radioButton1.Checked         = true;
     this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton1.Location        = new System.Drawing.Point(43, 184);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(56, 30);
     this.radioButton1.TabIndex        = 3;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "Saab";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // radioButton3
     //
     this.radioButton3.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton3.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton3.Location        = new System.Drawing.Point(42, 257);
     this.radioButton3.Name            = "radioButton3";
     this.radioButton3.Size            = new System.Drawing.Size(72, 16);
     this.radioButton3.TabIndex        = 15;
     this.radioButton3.Text            = "BMW";
     this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(38, 329);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(118, 25);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Border Width";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label5.Location  = new System.Drawing.Point(38, 290);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(114, 25);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "Border Style";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(630, 452);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Area";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1        = new System.Windows.Forms.Panel();
     this.label6        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.panel1.Location  = new System.Drawing.Point(0, 417);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(942, 155);
     this.panel1.TabIndex  = 0;
     //
     // label6
     //
     this.label6.AutoSize   = true;
     this.label6.Font       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label6.Location   = new System.Drawing.Point(1, 0);
     this.label6.Name       = "label6";
     this.label6.Size       = new System.Drawing.Size(255, 21);
     this.label6.TabIndex   = 5;
     this.label6.Text       = "Getting Started with Essential Chart";
     this.label6.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.label2.Location  = new System.Drawing.Point(15, 30);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(515, 125);
     this.label2.TabIndex  = 1;
     this.label2.Tag       = "";
     this.label2.Text      = "\r\n* Essential Chart can be displayed on a form by dragging and dropping it there." +
                             "\r\n\r\n* A chart can be initialized by creating a series and adding it to the serie" +
                             "s collection.";
     //
     // 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)));
     this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.BorderAppearance.SkinStyle = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Embed;
     this.chartControl1.ChartArea.CursorLocation   = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw     = false;
     this.chartControl1.ChartArea.XAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins           = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior  = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.DataSourceName = "";
     this.chartControl1.IsWindowLess   = false;
     //
     //
     //
     this.chartControl1.Legend.Alignment    = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
     this.chartControl1.Legend.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Font         = new System.Drawing.Font("Segoe UI", 10F);
     this.chartControl1.Legend.Location     = new System.Drawing.Point(431, 68);
     this.chartControl1.Legend.Orientation  = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position     = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.LegendsPlacement    = Syncfusion.Windows.Forms.Chart.ChartPlacement.Outside;
     this.chartControl1.Localize            = null;
     this.chartControl1.Location            = new System.Drawing.Point(3, 8);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Range     = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(0D, 500D, 100D);
     this.chartControl1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set;
     this.chartControl1.Size     = new System.Drawing.Size(942, 406);
     this.chartControl1.TabIndex = 1;
     this.chartControl1.Text     = "Essential Chart";
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 0.20000000298023224D;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(531, 547);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Getting Started";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.label1        = new System.Windows.Forms.Label();
     this.comboBox1     = new System.Windows.Forms.ComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.comboBox2     = new System.Windows.Forms.ComboBox();
     this.label3        = new System.Windows.Forms.Label();
     this.comboBox3     = new System.Windows.Forms.ComboBox();
     this.panel1        = new System.Windows.Forms.Panel();
     this.checkBox3     = new System.Windows.Forms.CheckBox();
     this.checkBox2     = new System.Windows.Forms.CheckBox();
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.BackInterior              = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior    = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(1, 1, 1, 1);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(237)))), ((int)(((byte)(200))))), System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(227)))), ((int)(((byte)(167))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.ElementsSpacing           = 0;
     this.chartControl1.Font         = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(32, 36);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size     = new System.Drawing.Size(700, 580);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "chartControl1";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(46, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 20);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Chart Type";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font          = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Items.AddRange(new object[] {
         "Polar",
         "Radar"
     });
     this.comboBox1.Location              = new System.Drawing.Point(49, 60);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(178, 28);
     this.comboBox1.TabIndex              = 2;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(48, 285);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(154, 20);
     this.label2.TabIndex  = 9;
     this.label2.Text      = "Radar Chart Axis Style";
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox2.Location              = new System.Drawing.Point(49, 318);
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(178, 28);
     this.comboBox2.TabIndex              = 8;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(49, 101);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(119, 20);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Chart Draw Type";
     //
     // comboBox3
     //
     this.comboBox3.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox3.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox3.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox3.Location              = new System.Drawing.Point(50, 132);
     this.comboBox3.Name                  = "comboBox3";
     this.comboBox3.Size                  = new System.Drawing.Size(178, 28);
     this.comboBox3.TabIndex              = 6;
     this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.comboBox3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBox2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(698, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 584);
     this.panel1.TabIndex = 10;
     //
     // checkBox3
     //
     this.checkBox3.AutoSize  = true;
     this.checkBox3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox3.Location  = new System.Drawing.Point(50, 246);
     this.checkBox3.Name      = "checkBox3";
     this.checkBox3.Size      = new System.Drawing.Size(140, 24);
     this.checkBox3.TabIndex  = 12;
     this.checkBox3.Text      = "Enable Line Style";
     this.checkBox3.UseVisualStyleBackColor = true;
     this.checkBox3.CheckedChanged         += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.AutoSize  = true;
     this.checkBox2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location  = new System.Drawing.Point(50, 211);
     this.checkBox2.Name      = "checkBox2";
     this.checkBox2.Size      = new System.Drawing.Size(128, 24);
     this.checkBox2.TabIndex  = 11;
     this.checkBox2.Text      = "Y-Axis Inversed";
     this.checkBox2.UseVisualStyleBackColor = true;
     this.checkBox2.CheckedChanged         += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize  = true;
     this.checkBox1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location  = new System.Drawing.Point(50, 176);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(129, 24);
     this.checkBox1.TabIndex  = 10;
     this.checkBox1.Text      = "X-Axis Inversed";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(624, 428);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Polar and Radar";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1       = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1              = new System.Windows.Forms.Panel();
     this.comboBox1           = new System.Windows.Forms.ComboBox();
     this.label6              = new System.Windows.Forms.Label();
     this.autoLabel2          = new Syncfusion.Windows.Forms.Tools.AutoLabel();
     this.CBox_AxesLayoutMode = new System.Windows.Forms.ComboBox();
     this.label4              = new System.Windows.Forms.Label();
     this.label3              = new System.Windows.Forms.Label();
     this.autoLabel1          = new Syncfusion.Windows.Forms.Tools.AutoLabel();
     this.checkBox1           = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock                     = DockStyle.Fill;
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.ForwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(210)))), ((int)(((byte)(193))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.ForwardDiagonal, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(2, -1, 5, 2);
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.Font                     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.ForeColor                = System.Drawing.Color.Black;
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.Alignment        = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(320, 549);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.LegendsPlacement        = Syncfusion.Windows.Forms.Chart.ChartPlacement.Outside;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryXAxis.DrawGrid  = false;
     this.chartControl1.PrimaryXAxis.Font      = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.ForeColor = System.Drawing.Color.Black;
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.Margin = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.DrawGrid  = false;
     this.chartControl1.PrimaryYAxis.Font      = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.ForeColor = System.Drawing.Color.Black;
     this.chartControl1.PrimaryYAxis.GridLineType.BackColor = System.Drawing.Color.White;
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.GridLineType.PenType   = System.Drawing.Drawing2D.PenType.PathGradient;
     this.chartControl1.PrimaryYAxis.GridLineType.Width     = 0F;
     this.chartControl1.PrimaryYAxis.Margin = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.ShowToolTips = true;
     this.chartControl1.Size         = new System.Drawing.Size(704, 582);
     this.chartControl1.TabIndex     = 1;
     this.chartControl1.Text         = "Weather Report";
     //
     //
     //
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Dock      = DockStyle.Right;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.autoLabel2);
     this.panel1.Controls.Add(this.CBox_AxesLayoutMode);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.autoLabel1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location    = new System.Drawing.Point(704, 0);
     this.panel1.MinimumSize = new System.Drawing.Size(176, 415);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(260, 590);
     this.panel1.TabIndex    = 2;
     //
     // comboBox1
     //
     this.comboBox1.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle     = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font          = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Items.AddRange(new object[] {
         "None",
         "Wrap",
         "Ellipsis"
     });
     this.comboBox1.Location              = new System.Drawing.Point(37, 286);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(176, 28);
     this.comboBox1.TabIndex              = 17;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label6.Location  = new System.Drawing.Point(34, 218);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(195, 25);
     this.label6.TabIndex  = 15;
     this.label6.Text      = "Axes Title Draw Mode";
     //
     // autoLabel2
     //
     this.autoLabel2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.autoLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.autoLabel2.Location  = new System.Drawing.Point(34, 255);
     this.autoLabel2.Name      = "autoLabel2";
     this.autoLabel2.Size      = new System.Drawing.Size(120, 20);
     this.autoLabel2.TabIndex  = 14;
     this.autoLabel2.Text      = "Title Draw Mode";
     //
     // CBox_AxesLayoutMode
     //
     this.CBox_AxesLayoutMode.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.CBox_AxesLayoutMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CBox_AxesLayoutMode.Font          = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CBox_AxesLayoutMode.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.CBox_AxesLayoutMode.Items.AddRange(new object[] {
         "SideBySide",
         "Stacking"
     });
     this.CBox_AxesLayoutMode.Location              = new System.Drawing.Point(37, 175);
     this.CBox_AxesLayoutMode.Name                  = "CBox_AxesLayoutMode";
     this.CBox_AxesLayoutMode.Size                  = new System.Drawing.Size(176, 28);
     this.CBox_AxesLayoutMode.TabIndex              = 13;
     this.CBox_AxesLayoutMode.SelectedIndexChanged += new System.EventHandler(this.CBox_AxesLayoutMode_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(34, 30);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(172, 27);
     this.label4.TabIndex  = 11;
     this.label4.Text      = "Chart Mutiple Axes";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(34, 107);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(162, 25);
     this.label3.TabIndex  = 9;
     this.label3.Text      = "Axes layout Mode";
     //
     // autoLabel1
     //
     this.autoLabel1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.autoLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.autoLabel1.Location  = new System.Drawing.Point(34, 143);
     this.autoLabel1.Name      = "autoLabel1";
     this.autoLabel1.Size      = new System.Drawing.Size(170, 20);
     this.autoLabel1.TabIndex  = 1;
     this.autoLabel1.Text      = "Chart Axes Layout Mode";
     //
     // checkBox1
     //
     this.checkBox1.AutoSize        = true;
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(39, 70);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(143, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Opposed Position";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkbox1_changed);
     //
     // FormMain
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(691, 454);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Multiple Axes";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager              resources                     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     Syncfusion.Windows.Forms.Chart.ChartToolBarSaveItem         chartToolBarSaveItem2         = new Syncfusion.Windows.Forms.Chart.ChartToolBarSaveItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarCopyItem         chartToolBarCopyItem2         = new Syncfusion.Windows.Forms.Chart.ChartToolBarCopyItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarPrintItem        chartToolBarPrintItem2        = new Syncfusion.Windows.Forms.Chart.ChartToolBarPrintItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarPrintPreviewItem chartToolBarPrintPreviewItem2 = new Syncfusion.Windows.Forms.Chart.ChartToolBarPrintPreviewItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarSplitter         chartToolBarSplitter2         = new Syncfusion.Windows.Forms.Chart.ChartToolBarSplitter();
     Syncfusion.Windows.Forms.Chart.ChartToolBarPaletteItem      chartToolBarPaletteItem2      = new Syncfusion.Windows.Forms.Chart.ChartToolBarPaletteItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarStyleItem        chartToolBarStyleItem2        = new Syncfusion.Windows.Forms.Chart.ChartToolBarStyleItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarTypeItem         chartToolBarTypeItem2         = new Syncfusion.Windows.Forms.Chart.ChartToolBarTypeItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarSeries3DItem     chartToolBarSeries3DItem2     = new Syncfusion.Windows.Forms.Chart.ChartToolBarSeries3DItem();
     Syncfusion.Windows.Forms.Chart.ChartToolBarShowLegendItem   chartToolBarShowLegendItem2   = new Syncfusion.Windows.Forms.Chart.ChartToolBarShowLegendItem();
     this.panel1         = new System.Windows.Forms.Panel();
     this.label9         = new System.Windows.Forms.Label();
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.comboBox1      = new System.Windows.Forms.ComboBox();
     this.label8         = new System.Windows.Forms.Label();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.label7         = new System.Windows.Forms.Label();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label2         = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.label1         = new System.Windows.Forms.Label();
     this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Dock      = DockStyle.Right;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.textBox3);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.numericUpDown2);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 585);
     this.panel1.TabIndex = 3;
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label9.Location  = new System.Drawing.Point(23, 230);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(105, 20);
     this.label9.TabIndex  = 30;
     this.label9.Text      = "Y value format";
     //
     // textBox3
     //
     this.textBox3.Font         = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location     = new System.Drawing.Point(130, 230);
     this.textBox3.Name         = "textBox3";
     this.textBox3.Size         = new System.Drawing.Size(87, 27);
     this.textBox3.TabIndex     = 29;
     this.textBox3.Text         = "n0";
     this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged);
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(130, 344);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(103, 28);
     this.comboBox1.TabIndex              = 28;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label8.Location  = new System.Drawing.Point(23, 347);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(101, 20);
     this.label8.TabIndex  = 27;
     this.label8.Text      = "Display Mode";
     //
     // numericUpDown2
     //
     this.numericUpDown2.Font     = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown2.Location = new System.Drawing.Point(130, 302);
     this.numericUpDown2.Maximum  = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown2.Name     = "numericUpDown2";
     this.numericUpDown2.Size     = new System.Drawing.Size(85, 27);
     this.numericUpDown2.TabIndex = 26;
     this.numericUpDown2.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label7.Location  = new System.Drawing.Point(23, 306);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(98, 20);
     this.label7.TabIndex  = 25;
     this.label7.Text      = "Border Width";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Font     = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.Location = new System.Drawing.Point(130, 269);
     this.numericUpDown1.Maximum  = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(85, 27);
     this.numericUpDown1.TabIndex = 24;
     this.numericUpDown1.Value    = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(23, 271);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(101, 20);
     this.label2.TabIndex  = 22;
     this.label2.Text      = "Corner Radius";
     //
     // label6
     //
     this.label6.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label6.Location    = new System.Drawing.Point(25, 130);
     this.label6.MaximumSize = new System.Drawing.Size(250, 200);
     this.label6.Name        = "label6";
     this.label6.Size        = new System.Drawing.Size(220, 48);
     this.label6.TabIndex    = 21;
     this.label6.Text        = "{1} - Place holder for X value of the data point, {2} - place holder for Y value " +
                               "of the data point";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label5.Location  = new System.Drawing.Point(23, 191);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(106, 20);
     this.label5.TabIndex  = 20;
     this.label5.Text      = "X value format";
     //
     // textBox2
     //
     this.textBox2.Font         = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location     = new System.Drawing.Point(130, 188);
     this.textBox2.Name         = "textBox2";
     this.textBox2.Size         = new System.Drawing.Size(100, 27);
     this.textBox2.TabIndex     = 19;
     this.textBox2.Text         = "MMM, yyyy";
     this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
     //
     // textBox1
     //
     this.textBox1.Font         = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location     = new System.Drawing.Point(121, 89);
     this.textBox1.Name         = "textBox1";
     this.textBox1.Size         = new System.Drawing.Size(100, 27);
     this.textBox1.TabIndex     = 18;
     this.textBox1.Text         = "{1} : {2}";
     this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(27, 92);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(88, 20);
     this.label4.TabIndex  = 17;
     this.label4.Text      = "Text Format";
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.checkBox1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location  = new System.Drawing.Point(27, 50);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(72, 24);
     this.checkBox1.TabIndex  = 16;
     this.checkBox1.Text      = "Visible";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(20, 19);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(145, 21);
     this.label1.TabIndex  = 14;
     this.label1.Text      = "Trackball Settings";
     //
     // chartControl1
     //
     this.chartControl1.Dock                     = DockStyle.Fill;
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(194)))), ((int)(((byte)(229))))), System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(236)))), ((int)(((byte)(250))))));
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.DataSourceType           = "";
     this.chartControl1.ElementsSpacing          = 1;
     this.chartControl1.Font                     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(37, 48);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.ShowSymbol       = true;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.Margin = true;
     this.chartControl1.Rotation            = 90F;
     this.chartControl1.Size     = new System.Drawing.Size(700, 569);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "EssentialChart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "EssentialChart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ToolBar.EnableDefaultItems = false;
     this.chartControl1.ToolBar.Items.Add(chartToolBarSaveItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarCopyItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarPrintItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarPrintPreviewItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarSplitter2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarPaletteItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarStyleItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarTypeItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarSeries3DItem2);
     this.chartControl1.ToolBar.Items.Add(chartToolBarShowLegendItem2);
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.MinimumSize         = new System.Drawing.Size(705, 463);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Trackball";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.timer1         = new System.Windows.Forms.Timer(this.components);
     this.panel1         = new System.Windows.Forms.Panel();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.comboBox2      = new System.Windows.Forms.ComboBox();
     this.comboBox1      = new System.Windows.Forms.ComboBox();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.Transparent);
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Depth        = 1F;
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Legend.Location    = new System.Drawing.Point(85, 419);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Legend.Visible     = false;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(0, 0);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Rotation = 0.1F;
     this.chartControl1.Size     = new System.Drawing.Size(700, 580);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "Syncfusion Essential Chart";
     this.chartControl1.Tilt     = 0.1F;
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Syncfusion Essential Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // timer1
     //
     this.timer1.Interval = 1000;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // panel1
     //
     this.panel1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoSize  = true;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox2);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Location = new System.Drawing.Point(701, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 585);
     this.panel1.TabIndex = 1;
     //
     // numericUpDown1
     //
     this.numericUpDown1.BackColor = System.Drawing.Color.White;
     this.numericUpDown1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Location  = new System.Drawing.Point(48, 196);
     this.numericUpDown1.Maximum   = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.ReadOnly = true;
     this.numericUpDown1.Size     = new System.Drawing.Size(163, 29);
     this.numericUpDown1.TabIndex = 7;
     this.numericUpDown1.Value    = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(48, 30);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(62, 21);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Interval";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(47, 97);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(77, 21);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Line Style";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(48, 166);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(52, 21);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Width";
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox2.Font                  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox2.Location              = new System.Drawing.Point(48, 59);
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(168, 29);
     this.comboBox2.TabIndex              = 3;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(48, 125);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(168, 29);
     this.comboBox1.TabIndex              = 2;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(569, 478);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Real Time Scenario";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.chartControl2  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.label40        = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock         = DockStyle.Top;
     this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.BorderAppearance.SkinStyle = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Embed;
     this.chartControl1.ChartArea.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation   = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw     = false;
     this.chartControl1.ChartArea.XAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins           = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 4, 20, 1);
     this.chartControl1.ChartInterior  = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.DataSourceName = "";
     this.chartControl1.IsWindowLess   = false;
     //
     //
     //
     this.chartControl1.Legend.Alignment   = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
     this.chartControl1.Legend.Location    = new System.Drawing.Point(421, 55);
     this.chartControl1.Legend.Margin      = new System.Windows.Forms.Padding(1);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.LegendsPlacement   = Syncfusion.Windows.Forms.Chart.ChartPlacement.Outside;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(0, 0);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.GridLineType.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(180)))), ((int)(((byte)(233)))));
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(146)))), ((int)(((byte)(194)))));
     this.chartControl1.PrimaryXAxis.Margin = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryXAxis.TickColor = System.Drawing.Color.Transparent;
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.GridLineType.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(180)))), ((int)(((byte)(233)))));
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(146)))), ((int)(((byte)(194)))));
     this.chartControl1.PrimaryYAxis.Margin           = true;
     this.chartControl1.PrimaryYAxis.RangePaddingType = Syncfusion.Windows.Forms.Chart.ChartAxisRangePaddingType.None;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.TickColor = System.Drawing.Color.Transparent;
     this.chartControl1.Size     = new System.Drawing.Size(920, 227);
     this.chartControl1.TabIndex = 1;
     this.chartControl1.Text     = "High Level Chart";
     //
     //
     //
     this.chartControl1.Title.Font   = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Title.Margin = 1;
     this.chartControl1.Title.Name   = "Def_title";
     this.chartControl1.Title.Text   = "High Level Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement     = 1.5D;
     this.chartControl1.VisibleRangeChanged += new System.EventHandler(this.chartControl1_VisibleRangeChanged);
     this.chartControl1.Click += new System.EventHandler(this.chartControl1_Click);
     //
     // chartControl2
     //
     this.chartControl2.Dock         = DockStyle.Bottom;
     this.chartControl2.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl2.BorderAppearance.SkinStyle = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Embed;
     this.chartControl2.ChartArea.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl2.ChartArea.CursorLocation   = new System.Drawing.Point(0, 0);
     this.chartControl2.ChartArea.CursorReDraw     = false;
     this.chartControl2.ChartAreaMargins           = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 4, 10, 1);
     this.chartControl2.ChartInterior  = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl2.DataSourceName = "";
     this.chartControl2.Font           = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl2.IsWindowLess   = false;
     //
     //
     //
     this.chartControl2.Legend.Alignment   = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
     this.chartControl2.Legend.Location    = new System.Drawing.Point(421, 55);
     this.chartControl2.Legend.Margin      = new System.Windows.Forms.Padding(1);
     this.chartControl2.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl2.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl2.LegendsPlacement   = Syncfusion.Windows.Forms.Chart.ChartPlacement.Outside;
     this.chartControl2.Localize           = null;
     this.chartControl2.Location           = new System.Drawing.Point(3, 212);
     this.chartControl2.Name = "chartControl2";
     this.chartControl2.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl2.PrimaryXAxis.GridLineType.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
     this.chartControl2.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(180)))), ((int)(((byte)(233)))));
     this.chartControl2.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(146)))), ((int)(((byte)(194)))));
     this.chartControl2.PrimaryXAxis.Margin    = true;
     this.chartControl2.PrimaryXAxis.TickColor = System.Drawing.Color.Transparent;
     this.chartControl2.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl2.PrimaryYAxis.ForceZero = true;
     this.chartControl2.PrimaryYAxis.GridLineType.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot;
     this.chartControl2.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(180)))), ((int)(((byte)(233)))));
     this.chartControl2.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(146)))), ((int)(((byte)(194)))));
     this.chartControl2.PrimaryYAxis.Margin    = true;
     this.chartControl2.PrimaryYAxis.TickColor = System.Drawing.Color.Transparent;
     this.chartControl2.Size     = new System.Drawing.Size(920, 227);
     this.chartControl2.TabIndex = 3;
     this.chartControl2.Text     = "Low Level Chart";
     //
     //
     //
     this.chartControl2.Title.Font   = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl2.Title.Margin = 1;
     this.chartControl2.Title.Name   = "Default";
     this.chartControl2.Titles.Add(this.chartControl2.Title);
     //
     // gradientPanel2
     //
     this.gradientPanel2.Dock        = DockStyle.Bottom;
     this.gradientPanel2.BackColor   = System.Drawing.Color.White;
     this.gradientPanel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(178)))), ((int)(((byte)(227)))));
     this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel2.Controls.Add(this.label40);
     this.gradientPanel2.Controls.Add(this.label6);
     this.gradientPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.gradientPanel2.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gradientPanel2.Location = new System.Drawing.Point(0, 481);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(958, 103);
     this.gradientPanel2.TabIndex = 7;
     //
     // label40
     //
     this.label40.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)));
     this.label40.BackColor  = System.Drawing.Color.Transparent;
     this.label40.Font       = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label40.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label40.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label40.Location   = new System.Drawing.Point(23, 22);
     this.label40.Name       = "label40";
     this.label40.Size       = new System.Drawing.Size(935, 72);
     this.label40.TabIndex   = 1;
     this.label40.Text       = resources.GetString("label40.Text");
     //
     // label6
     //
     this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.Font       = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label6.Location   = new System.Drawing.Point(23, -9);
     this.label6.Name       = "label6";
     this.label6.Size       = new System.Drawing.Size(124, 35);
     this.label6.TabIndex   = 5;
     this.label6.Text       = "Sample Description";
     this.label6.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Dock = DockStyle.Fill;
     this.panel1.Controls.Add(this.chartControl1);
     this.panel1.Controls.Add(this.chartControl2);
     this.panel1.Location = new System.Drawing.Point(23, 14);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(923, 461);
     this.panel1.TabIndex = 8;
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.gradientPanel2);
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(657, 620);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "Form1";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "Multiple Charts with Huge Datasource";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.SizeChanged        += new System.EventHandler(this.Form1_SizeChanged);
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 15
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
            this.label2         = new System.Windows.Forms.Label();
            this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.buttonAdv1     = new System.Windows.Forms.Button();
            this.btnTop3        = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
            this.gradientPanel2.SuspendLayout();
            this.SuspendLayout();
            //
            // 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)));
            this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
            this.chartControl1.ChartArea.BorderColor    = System.Drawing.Color.Transparent;
            this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
            this.chartControl1.ChartArea.CursorReDraw   = false;
            this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(1, 4, 5, 1);
            this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
            this.chartControl1.DataSourceName           = "";
            this.chartControl1.ElementsSpacing          = 0;
            this.chartControl1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.chartControl1.IsWindowLess = false;
            //
            //
            //
            this.chartControl1.Legend.Alignment   = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
            this.chartControl1.Legend.ItemsSize   = new System.Drawing.Size(15, 15);
            this.chartControl1.Legend.Location    = new System.Drawing.Point(194, 52);
            this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
            this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
            this.chartControl1.Legend.Spacing     = 3;
            this.chartControl1.Legend.Visible     = false;
            this.chartControl1.Localize           = null;
            this.chartControl1.Location           = new System.Drawing.Point(5, 12);
            this.chartControl1.Name = "chartControl1";
            this.chartControl1.PrimaryXAxis.Crossing  = double.NaN;
            this.chartControl1.PrimaryXAxis.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chartControl1.PrimaryXAxis.ForeColor = System.Drawing.SystemColors.ControlText;
            this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.LightGray;
            this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
            this.chartControl1.PrimaryXAxis.Margin    = true;
            this.chartControl1.PrimaryXAxis.TitleFont = new System.Drawing.Font("Segoe UI", 14F);
            this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
            this.chartControl1.PrimaryYAxis.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chartControl1.PrimaryYAxis.ForceZero = true;
            this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.LightGray;
            this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
            this.chartControl1.PrimaryYAxis.Margin    = true;
            this.chartControl1.PrimaryYAxis.TitleFont = new System.Drawing.Font("Segoe UI", 14F);
            this.chartControl1.Size     = new System.Drawing.Size(689, 560);
            this.chartControl1.Skins    = Syncfusion.Windows.Forms.Chart.Skins.Metro;
            this.chartControl1.TabIndex = 0;
            this.chartControl1.Text     = "Binding To Linq Datasource";
            //
            //
            //
            this.chartControl1.Title.Font = new System.Drawing.Font("Segoe UI", 16F);
            this.chartControl1.Title.Name = "Default";
            this.chartControl1.Titles.Add(this.chartControl1.Title);
            //
            // label2
            //
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label2.Location  = new System.Drawing.Point(15, 57);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(247, 155);
            this.label2.TabIndex  = 4;
            this.label2.Text      = resources.GetString("label2.Text");
            //
            // gradientPanel1
            //
            this.gradientPanel1.BackColor   = System.Drawing.Color.White;
            this.gradientPanel1.BorderColor = System.Drawing.Color.White;
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel1.Dock        = System.Windows.Forms.DockStyle.Right;
            this.gradientPanel1.Location    = new System.Drawing.Point(781, 0);
            this.gradientPanel1.Name        = "gradientPanel1";
            this.gradientPanel1.Size        = new System.Drawing.Size(177, 584);
            this.gradientPanel1.TabIndex    = 7;
            //
            // gradientPanel2
            //
            this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this.gradientPanel2.BackColor    = System.Drawing.Color.WhiteSmoke;
            this.gradientPanel2.BorderColor  = System.Drawing.Color.Transparent;
            this.gradientPanel2.BorderSingle = System.Windows.Forms.ButtonBorderStyle.None;
            this.gradientPanel2.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel2.Controls.Add(this.buttonAdv1);
            this.gradientPanel2.Controls.Add(this.btnTop3);
            this.gradientPanel2.Controls.Add(this.label2);
            this.gradientPanel2.Font     = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gradientPanel2.Location = new System.Drawing.Point(700, 0);
            this.gradientPanel2.Name     = "gradientPanel2";
            this.gradientPanel2.Size     = new System.Drawing.Size(260, 590);
            this.gradientPanel2.TabIndex = 6;
            this.gradientPanel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.gradientPanel2_Paint);
            //
            // buttonAdv1
            //
            this.buttonAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));

            this.buttonAdv1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.buttonAdv1.ForeColor = System.Drawing.Color.White;
            this.buttonAdv1.Location  = new System.Drawing.Point(76, 208);
            this.buttonAdv1.Name      = "buttonAdv1";
            this.buttonAdv1.Size      = new System.Drawing.Size(116, 31);
            this.buttonAdv1.TabIndex  = 97;
            this.buttonAdv1.Text      = "REFRESH";
            this.buttonAdv1.Visible   = false;
            this.buttonAdv1.Click    += new System.EventHandler(this.buttonAdv1_Click);
            //
            // btnTop3
            //
            this.btnTop3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));

            this.btnTop3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnTop3.ForeColor = System.Drawing.Color.White;
            this.btnTop3.Location  = new System.Drawing.Point(48, 208);
            this.btnTop3.Name      = "btnTop3";
            this.btnTop3.Size      = new System.Drawing.Size(168, 31);
            this.btnTop3.TabIndex  = 7;
            this.btnTop3.Text      = "FILTER TOP 3 CITIES";
            this.btnTop3.Click    += new System.EventHandler(this.btnTop3_Click);
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.ClientSize          = new System.Drawing.Size(958, 584);
            this.Controls.Add(this.gradientPanel2);
            this.Controls.Add(this.gradientPanel1);
            this.Controls.Add(this.chartControl1);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(701, 359);
            this.Name          = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "LINQ DataSource";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
            this.gradientPanel2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemplo n.º 16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.designerPanel1 = new DesignerPanel();
     this.label1         = new System.Windows.Forms.Label();
     this.buttonAdv1     = new System.Windows.Forms.Button();
     this.buttonAdv4     = new System.Windows.Forms.Button();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.buttonAdv3     = new System.Windows.Forms.Button();
     this.buttonAdv2     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.designerPanel1)).BeginInit();
     this.designerPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.Cursor         = System.Windows.Forms.Cursors.Arrow;
     this.chartControl1.DataSourceName = "";
     this.chartControl1.IsWindowLess   = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Segoe UI", 10F);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(58, 464);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(12, 22);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(700, 541);
     this.chartControl1.TabIndex = 2;
     this.chartControl1.Text     = "Student admission statistics - 2004 and 2005";
     //
     //
     //
     this.chartControl1.Title.Font   = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Title.Margin = 2;
     this.chartControl1.Title.Name   = "Def_title";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     this.chartControl1.ChartAreaPaint  += new System.Windows.Forms.PaintEventHandler(this.chartControl1_ChartAreaPaint);
     //
     // designerPanel1
     //
     this.designerPanel1.Dock            = DockStyle.Right;
     this.designerPanel1.BackColor       = System.Drawing.Color.WhiteSmoke;
     this.designerPanel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, new System.Drawing.Color[] {
         System.Drawing.Color.Transparent,
         System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(230)))), ((int)(((byte)(242))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(236)))), ((int)(((byte)(243))))),
         System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(239)))), ((int)(((byte)(245))))),
         System.Drawing.Color.Transparent
     });
     this.designerPanel1.BorderColor = System.Drawing.Color.Transparent;
     this.designerPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.designerPanel1.Controls.Add(this.label1);
     this.designerPanel1.Controls.Add(this.buttonAdv1);
     this.designerPanel1.Controls.Add(this.buttonAdv4);
     this.designerPanel1.Controls.Add(this.checkBox1);
     this.designerPanel1.Controls.Add(this.buttonAdv3);
     this.designerPanel1.Controls.Add(this.buttonAdv2);
     this.designerPanel1.Font        = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.designerPanel1.ForeColor   = System.Drawing.Color.Black;
     this.designerPanel1.HeaderImage = null;
     this.designerPanel1.HeaderText  = "";
     this.designerPanel1.Location    = new System.Drawing.Point(718, 1);
     this.designerPanel1.Name        = "designerPanel1";
     this.designerPanel1.Size        = new System.Drawing.Size(244, 586);
     this.designerPanel1.TabIndex    = 3;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(19, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(131, 32);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Chart Type";
     //
     // buttonAdv1
     //
     this.buttonAdv1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.Location  = new System.Drawing.Point(25, 120);
     this.buttonAdv1.TabIndex  = 1;
     this.buttonAdv1.Text      = "Pie";
     this.buttonAdv1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonAdv1.Click    += new System.EventHandler(this.buttonAdv_Click);
     //
     // buttonAdv4
     //
     this.buttonAdv4.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv4.Location  = new System.Drawing.Point(140, 120);
     this.buttonAdv4.TabIndex  = 4;
     this.buttonAdv4.Text      = "Doughnut";
     this.buttonAdv4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonAdv4.Click    += new System.EventHandler(this.buttonAdv_Click);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize  = true;
     this.checkBox1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location  = new System.Drawing.Point(26, 76);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(99, 25);
     this.checkBox1.TabIndex  = 4;
     this.checkBox1.Text      = "Enable 3D";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // buttonAdv3
     //
     this.buttonAdv3.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv3.Location  = new System.Drawing.Point(140, 252);
     this.buttonAdv3.Name      = "buttonAdv3";
     this.buttonAdv3.TabIndex  = 3;
     this.buttonAdv3.Text      = "Pyramid";
     this.buttonAdv3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonAdv3.Click    += new System.EventHandler(this.buttonAdv_Click);
     //
     // buttonAdv2
     //
     this.buttonAdv2.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv2.Location  = new System.Drawing.Point(25, 252);
     this.buttonAdv2.Name      = "buttonAdv2";
     this.buttonAdv2.TabIndex  = 2;
     this.buttonAdv2.Text      = "Funnel";
     this.buttonAdv2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonAdv2.Click    += new System.EventHandler(this.buttonAdv_Click);
     //
     // FormMain
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.designerPanel1);
     this.MinimumSize         = new System.Drawing.Size(767, 590);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Dividing Chart Area";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.designerPanel1)).EndInit();
     this.designerPanel1.ResumeLayout(false);
     this.designerPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1   = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1          = new System.Windows.Forms.Panel();
     this.checkBox1       = new System.Windows.Forms.CheckBox();
     this.numericUpDown9  = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown3  = new System.Windows.Forms.NumericUpDown();
     this.label20         = new System.Windows.Forms.Label();
     this.label21         = new System.Windows.Forms.Label();
     this.numericUpDown10 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown7  = new System.Windows.Forms.NumericUpDown();
     this.label22         = new System.Windows.Forms.Label();
     this.numericUpDown8  = new System.Windows.Forms.NumericUpDown();
     this.label18         = new System.Windows.Forms.Label();
     this.label7          = new System.Windows.Forms.Label();
     this.label8          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.numericUpDown2  = new System.Windows.Forms.NumericUpDown();
     this.label14         = new System.Windows.Forms.Label();
     this.numericUpDown6  = new System.Windows.Forms.NumericUpDown();
     this.label30         = new System.Windows.Forms.Label();
     this.label9          = new System.Windows.Forms.Label();
     this.numericUpDown4  = new System.Windows.Forms.NumericUpDown();
     this.label3          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label16         = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.label13         = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.numericUpDown1  = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown5  = new System.Windows.Forms.NumericUpDown();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Segoe UI", 10F);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(58, 502);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(0, 0);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryXAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.BreakInfo.LineSpacing = 3D;
     this.chartControl1.PrimaryYAxis.BreakInfo.LineType    = Syncfusion.Windows.Forms.Chart.ChartBreakLineType.Straight;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size     = new System.Drawing.Size(700, 579);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "chartControl1";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.AutoScroll       = true;
     this.panel1.AutoScrollMargin = new System.Drawing.Size(0, 20);
     this.panel1.BackColor        = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.numericUpDown9);
     this.panel1.Controls.Add(this.numericUpDown3);
     this.panel1.Controls.Add(this.label20);
     this.panel1.Controls.Add(this.label21);
     this.panel1.Controls.Add(this.numericUpDown10);
     this.panel1.Controls.Add(this.numericUpDown7);
     this.panel1.Controls.Add(this.label22);
     this.panel1.Controls.Add(this.numericUpDown8);
     this.panel1.Controls.Add(this.label18);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.numericUpDown2);
     this.panel1.Controls.Add(this.label14);
     this.panel1.Controls.Add(this.numericUpDown6);
     this.panel1.Controls.Add(this.label30);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.numericUpDown4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label16);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label13);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.numericUpDown5);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(698, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 584);
     this.panel1.TabIndex = 1;
     //
     // checkBox1
     //
     this.checkBox1.AutoSize        = true;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(42, 980);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(137, 25);
     this.checkBox1.TabIndex        = 112;
     this.checkBox1.Text            = "Hide Data Point";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // numericUpDown9
     //
     this.numericUpDown9.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown9.Location  = new System.Drawing.Point(43, 942);
     this.numericUpDown9.Maximum   = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown9.Name     = "numericUpDown9";
     this.numericUpDown9.Size     = new System.Drawing.Size(177, 27);
     this.numericUpDown9.TabIndex = 118;
     this.numericUpDown9.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown9.ValueChanged += new System.EventHandler(this.EmptyPoint_ValueChanged);
     //
     // numericUpDown3
     //
     this.numericUpDown3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown3.Increment = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown3.Location = new System.Drawing.Point(42, 377);
     this.numericUpDown3.Maximum  = new decimal(new int[] {
         600,
         0,
         0,
         0
     });
     this.numericUpDown3.Name     = "numericUpDown3";
     this.numericUpDown3.Size     = new System.Drawing.Size(178, 27);
     this.numericUpDown3.TabIndex = 91;
     this.numericUpDown3.Value    = new decimal(new int[] {
         289,
         0,
         0,
         0
     });
     this.numericUpDown3.ValueChanged += new System.EventHandler(this.CustomPoint2_ValueChanged);
     //
     // label20
     //
     this.label20.AutoSize  = true;
     this.label20.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label20.Location  = new System.Drawing.Point(39, 914);
     this.label20.Name      = "label20";
     this.label20.Size      = new System.Drawing.Size(84, 20);
     this.label20.TabIndex  = 117;
     this.label20.Text      = "SeriesIndex";
     this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label21
     //
     this.label21.AutoSize  = true;
     this.label21.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label21.Location  = new System.Drawing.Point(38, 651);
     this.label21.Name      = "label21";
     this.label21.Size      = new System.Drawing.Size(59, 20);
     this.label21.TabIndex  = 100;
     this.label21.Text      = "X Value";
     this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown10
     //
     this.numericUpDown10.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown10.Location  = new System.Drawing.Point(43, 872);
     this.numericUpDown10.Maximum   = new decimal(new int[] {
         9,
         0,
         0,
         0
     });
     this.numericUpDown10.Name          = "numericUpDown10";
     this.numericUpDown10.Size          = new System.Drawing.Size(177, 27);
     this.numericUpDown10.TabIndex      = 116;
     this.numericUpDown10.ValueChanged += new System.EventHandler(this.EmptyPoint_ValueChanged);
     //
     // numericUpDown7
     //
     this.numericUpDown7.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown7.Increment = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown7.Location = new System.Drawing.Point(40, 679);
     this.numericUpDown7.Maximum  = new decimal(new int[] {
         392,
         0,
         0,
         0
     });
     this.numericUpDown7.Minimum = new decimal(new int[] {
         66,
         0,
         0,
         0
     });
     this.numericUpDown7.Name     = "numericUpDown7";
     this.numericUpDown7.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown7.TabIndex = 103;
     this.numericUpDown7.Value    = new decimal(new int[] {
         190,
         0,
         0,
         0
     });
     this.numericUpDown7.ValueChanged += new System.EventHandler(this.CustomPoint4_ValueChanged);
     //
     // label22
     //
     this.label22.AutoSize  = true;
     this.label22.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label22.Location  = new System.Drawing.Point(41, 843);
     this.label22.Name      = "label22";
     this.label22.Size      = new System.Drawing.Size(83, 20);
     this.label22.TabIndex  = 115;
     this.label22.Text      = "Point Index";
     this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown8
     //
     this.numericUpDown8.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown8.Increment = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown8.Location = new System.Drawing.Point(43, 754);
     this.numericUpDown8.Maximum  = new decimal(new int[] {
         280,
         0,
         0,
         0
     });
     this.numericUpDown8.Minimum = new decimal(new int[] {
         70,
         0,
         0,
         0
     });
     this.numericUpDown8.Name     = "numericUpDown8";
     this.numericUpDown8.Size     = new System.Drawing.Size(177, 27);
     this.numericUpDown8.TabIndex = 101;
     this.numericUpDown8.Value    = new decimal(new int[] {
         135,
         0,
         0,
         0
     });
     this.numericUpDown8.ValueChanged += new System.EventHandler(this.CustomPoint4_ValueChanged);
     //
     // label18
     //
     this.label18.AutoSize  = true;
     this.label18.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label18.Location  = new System.Drawing.Point(41, 461);
     this.label18.Name      = "label18";
     this.label18.Size      = new System.Drawing.Size(59, 20);
     this.label18.TabIndex  = 94;
     this.label18.Text      = "X Value";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label7
     //
     this.label7.Font        = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label7.ImageAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     this.label7.Location    = new System.Drawing.Point(40, 802);
     this.label7.Name        = "label7";
     this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label7.Size        = new System.Drawing.Size(136, 34);
     this.label7.TabIndex    = 113;
     this.label7.Text        = "Empty Points";
     this.label7.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Font       = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label8.Image      = ((System.Drawing.Image)(resources.GetObject("label8.Image")));
     this.label8.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label8.Location   = new System.Drawing.Point(39, 424);
     this.label8.Name       = "label8";
     this.label8.Size       = new System.Drawing.Size(94, 25);
     this.label8.TabIndex   = 121;
     this.label8.Text       = "Point3";
     this.label8.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(39, 721);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(58, 20);
     this.label4.TabIndex  = 102;
     this.label4.Text      = "Y Value";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown2
     //
     this.numericUpDown2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown2.Location  = new System.Drawing.Point(40, 194);
     this.numericUpDown2.Maximum   = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown2.Name     = "numericUpDown2";
     this.numericUpDown2.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown2.TabIndex = 85;
     this.numericUpDown2.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.CustomPoint1_ValueChanged);
     //
     // label14
     //
     this.label14.AutoSize  = true;
     this.label14.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label14.Location  = new System.Drawing.Point(39, 348);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(58, 20);
     this.label14.TabIndex  = 90;
     this.label14.Text      = "Y Value";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown6
     //
     this.numericUpDown6.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown6.Location  = new System.Drawing.Point(40, 565);
     this.numericUpDown6.Maximum   = new decimal(new int[] {
         70,
         0,
         0,
         0
     });
     this.numericUpDown6.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         -2147483648
     });
     this.numericUpDown6.Name     = "numericUpDown6";
     this.numericUpDown6.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown6.TabIndex = 95;
     this.numericUpDown6.Value    = new decimal(new int[] {
         47,
         0,
         0,
         0
     });
     this.numericUpDown6.ValueChanged += new System.EventHandler(this.CustomPoint3_ValueChanged);
     //
     // label30
     //
     this.label30.AutoSize    = true;
     this.label30.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.label30.Font        = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label30.ImageAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     this.label30.Location    = new System.Drawing.Point(33, 22);
     this.label30.Name        = "label30";
     this.label30.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label30.Size        = new System.Drawing.Size(169, 32);
     this.label30.TabIndex    = 104;
     this.label30.Text        = "Custom Points";
     this.label30.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font       = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label9.Image      = ((System.Drawing.Image)(resources.GetObject("label9.Image")));
     this.label9.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label9.Location   = new System.Drawing.Point(37, 606);
     this.label9.Name       = "label9";
     this.label9.Size       = new System.Drawing.Size(84, 41);
     this.label9.TabIndex   = 122;
     this.label9.Text       = " Point4";
     this.label9.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown4
     //
     this.numericUpDown4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown4.Location  = new System.Drawing.Point(40, 308);
     this.numericUpDown4.Maximum   = new decimal(new int[] {
         2008,
         0,
         0,
         0
     });
     this.numericUpDown4.Minimum = new decimal(new int[] {
         1999,
         0,
         0,
         0
     });
     this.numericUpDown4.Name     = "numericUpDown4";
     this.numericUpDown4.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown4.TabIndex = 89;
     this.numericUpDown4.Value    = new decimal(new int[] {
         2003,
         0,
         0,
         0
     });
     this.numericUpDown4.ValueChanged += new System.EventHandler(this.CustomPoint2_ValueChanged);
     //
     // label3
     //
     this.label3.Font       = new System.Drawing.Font("Segoe UI", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Image      = ((System.Drawing.Image)(resources.GetObject("label3.Image")));
     this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label3.Location   = new System.Drawing.Point(36, 63);
     this.label3.Name       = "label3";
     this.label3.Size       = new System.Drawing.Size(89, 27);
     this.label3.TabIndex   = 119;
     this.label3.Text       = "Point1";
     this.label3.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(39, 533);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(58, 20);
     this.label2.TabIndex  = 96;
     this.label2.Text      = "Y Value";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label16
     //
     this.label16.AutoSize  = true;
     this.label16.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label16.Location  = new System.Drawing.Point(40, 276);
     this.label16.Name      = "label16";
     this.label16.Size      = new System.Drawing.Size(59, 20);
     this.label16.TabIndex  = 88;
     this.label16.Text      = "X Value";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label5
     //
     this.label5.Font       = new System.Drawing.Font("Segoe UI", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label5.Image      = ((System.Drawing.Image)(resources.GetObject("label5.Image")));
     this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label5.Location   = new System.Drawing.Point(38, 239);
     this.label5.Name       = "label5";
     this.label5.Size       = new System.Drawing.Size(85, 27);
     this.label5.TabIndex   = 120;
     this.label5.Text       = " Point2";
     this.label5.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label13
     //
     this.label13.AutoSize  = true;
     this.label13.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label13.Location  = new System.Drawing.Point(36, 164);
     this.label13.Name      = "label13";
     this.label13.Size      = new System.Drawing.Size(88, 20);
     this.label13.TabIndex  = 84;
     this.label13.Text      = "Series Index";
     this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(36, 96);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(83, 20);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Point Index";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // numericUpDown1
     //
     this.numericUpDown1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Location  = new System.Drawing.Point(40, 124);
     this.numericUpDown1.Maximum   = new decimal(new int[] {
         9,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown1.TabIndex = 83;
     this.numericUpDown1.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.CustomPoint1_ValueChanged);
     //
     // numericUpDown5
     //
     this.numericUpDown5.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown5.Increment = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown5.Location = new System.Drawing.Point(42, 492);
     this.numericUpDown5.Maximum  = new decimal(new int[] {
         98,
         0,
         0,
         0
     });
     this.numericUpDown5.Minimum = new decimal(new int[] {
         18,
         0,
         0,
         0
     });
     this.numericUpDown5.Name     = "numericUpDown5";
     this.numericUpDown5.Size     = new System.Drawing.Size(180, 27);
     this.numericUpDown5.TabIndex = 97;
     this.numericUpDown5.Value    = new decimal(new int[] {
         68,
         0,
         0,
         0
     });
     this.numericUpDown5.ValueChanged += new System.EventHandler(this.CustomPoint3_ValueChanged);
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(648, 529);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "Form1";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "Custom Points";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components           = new System.ComponentModel.Container();
     this.northwindDataSet1    = new SummaryInCaption.DataSet1();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.sqlSelectCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection2       = new System.Data.SqlClient.SqlConnection();
     this.sqlInsertCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlDeleteCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlDataAdapterOrders = new System.Data.SqlClient.SqlDataAdapter();
     this.panel1           = new System.Windows.Forms.Panel();
     this.startTimerButton = new Syncfusion.Windows.Forms.ButtonAdv();
     this.chartControl1    = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.checkBox1        = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxAdv1     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.panel2           = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // northwindDataSet1
     //
     this.northwindDataSet1.DataSetName             = "DataSet1";
     this.northwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.BackColor            = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.DataSource           = this.northwindDataSet1.Orders;
     this.gridGroupingControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridGroupingControl1.FreezeCaption        = false;
     this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.Location             = new System.Drawing.Point(0, 0);
     this.gridGroupingControl1.Name                 = "gridGroupingControl1";
     this.gridGroupingControl1.Size                 = new System.Drawing.Size(545, 445);
     this.gridGroupingControl1.TabIndex             = 0;
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, Shi" +
                                          "pVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, Ship" +
                                          "Country FROM Orders";
     this.sqlSelectCommand2.Connection = this.sqlConnection2;
     //
     // sqlConnection2
     //
     this.sqlConnection2.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" +
                                            "es;persist security info=True;user id=sa;packet size=4096;Pooling=true";
     this.sqlConnection2.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlInsertCommand2
     //
     this.sqlInsertCommand2.Connection = this.sqlConnection2;
     this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"),
         new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"),
         new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"),
         new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"),
         new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"),
         new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"),
         new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"),
         new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"),
         new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"),
         new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"),
         new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"),
         new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"),
         new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry")
     });
     //
     // sqlUpdateCommand2
     //
     this.sqlUpdateCommand2.Connection = this.sqlConnection2;
     this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"),
         new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"),
         new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"),
         new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"),
         new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"),
         new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"),
         new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"),
         new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"),
         new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"),
         new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"),
         new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"),
         new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"),
         new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry"),
         new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@OrderID", System.Data.SqlDbType.Int, 4, "OrderID")
     });
     //
     // sqlDeleteCommand2
     //
     this.sqlDeleteCommand2.Connection = this.sqlConnection2;
     this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlDataAdapterOrders
     //
     this.sqlDataAdapterOrders.DeleteCommand = this.sqlDeleteCommand2;
     this.sqlDataAdapterOrders.InsertCommand = this.sqlInsertCommand2;
     this.sqlDataAdapterOrders.SelectCommand = this.sqlSelectCommand2;
     this.sqlDataAdapterOrders.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Orders", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("OrderID", "OrderID"),
             new System.Data.Common.DataColumnMapping("CustomerID", "CustomerID"),
             new System.Data.Common.DataColumnMapping("EmployeeID", "EmployeeID"),
             new System.Data.Common.DataColumnMapping("OrderDate", "OrderDate"),
             new System.Data.Common.DataColumnMapping("RequiredDate", "RequiredDate"),
             new System.Data.Common.DataColumnMapping("ShippedDate", "ShippedDate"),
             new System.Data.Common.DataColumnMapping("ShipVia", "ShipVia"),
             new System.Data.Common.DataColumnMapping("Freight", "Freight"),
             new System.Data.Common.DataColumnMapping("ShipName", "ShipName"),
             new System.Data.Common.DataColumnMapping("ShipAddress", "ShipAddress"),
             new System.Data.Common.DataColumnMapping("ShipCity", "ShipCity"),
             new System.Data.Common.DataColumnMapping("ShipRegion", "ShipRegion"),
             new System.Data.Common.DataColumnMapping("ShipPostalCode", "ShipPostalCode"),
             new System.Data.Common.DataColumnMapping("ShipCountry", "ShipCountry")
         })
     });
     this.sqlDataAdapterOrders.UpdateCommand = this.sqlUpdateCommand2;
     //
     // panel1
     //
     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)));
     this.panel1.Controls.Add(this.gridGroupingControl1);
     this.panel1.Location = new System.Drawing.Point(22, 22);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(545, 445);
     this.panel1.TabIndex = 4;
     //
     // startTimerButton
     //
     this.startTimerButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.startTimerButton.FlatStyle         = FlatStyle.Flat;
     this.startTimerButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.startTimerButton.BeforeTouchSize   = new System.Drawing.Size(75, 19);
     this.startTimerButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.startTimerButton.ForeColor         = System.Drawing.Color.White;
     this.startTimerButton.IsBackStageButton = false;
     this.startTimerButton.Location          = new System.Drawing.Point(20, 10);
     this.startTimerButton.Name              = "startTimerButton";
     this.startTimerButton.Size              = new System.Drawing.Size(75, 19);
     this.startTimerButton.TabIndex          = 3;
     this.startTimerButton.Text              = "Start Timer";
     //
     // chartControl1
     //
     this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.Location       = new System.Drawing.Point(423, 75);
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(590, 60);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size                  = new System.Drawing.Size(532, 407);
     this.chartControl1.Skins                 = Syncfusion.Windows.Forms.Chart.Skins.Metro;
     this.chartControl1.SpacingBetweenPoints  = 15F;
     this.chartControl1.TabIndex              = 5;
     this.chartControl1.Text                  = "Real Time Update";
     //
     //
     //
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // checkBox1
     //
     this.checkBox1.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)));
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(151, 38);
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font               = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location           = new System.Drawing.Point(112, 4);
     this.checkBox1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.checkBox1.Name               = "checkBox1";
     this.checkBox1.Size               = new System.Drawing.Size(151, 38);
     this.checkBox1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.DrawFocusRectangle = true;
     this.checkBox1.TabIndex           = 6;
     this.checkBox1.Text               = "Enable RealTime Update";
     this.checkBox1.ThemesEnabled      = false;
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.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)));
     this.checkBoxAdv1.BeforeTouchSize    = new System.Drawing.Size(133, 35);
     this.checkBoxAdv1.Checked            = true;
     this.checkBoxAdv1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAdv1.DrawFocusRectangle = false;
     this.checkBoxAdv1.Font               = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxAdv1.Location           = new System.Drawing.Point(291, 4);
     this.checkBoxAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.checkBoxAdv1.Name               = "checkBoxAdv1";
     this.checkBoxAdv1.Size               = new System.Drawing.Size(133, 35);
     this.checkBoxAdv1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxAdv1.DrawFocusRectangle = true;
     this.checkBoxAdv1.TabIndex           = 7;
     this.checkBoxAdv1.Text               = "Selection/Actual View";
     this.checkBoxAdv1.ThemesEnabled      = false;
     this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.checkBoxAdv1);
     this.panel2.Controls.Add(this.startTimerButton);
     this.panel2.Controls.Add(this.checkBox1);
     this.panel2.Location = new System.Drawing.Point(590, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(427, 50);
     this.panel2.TabIndex = 9;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1134, 496);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(1000, 553);
     this.Name        = "Form1";
     this.Text        = "Grid Vs Chart";
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.tabControl1   = new System.Windows.Forms.TabControl();
     this.tabPage1      = new System.Windows.Forms.TabPage();
     this.panel1        = new System.Windows.Forms.Panel();
     this.btnAddEntry   = new System.Windows.Forms.Button();
     this.txtPopulation = new System.Windows.Forms.TextBox();
     this.txtCountry    = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.chartControl2 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.label1        = new System.Windows.Forms.Label();
     this.tabPage2      = new System.Windows.Forms.TabPage();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Anchor                   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(237)))), ((int)(((byte)(255))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(1, 5, 5, 5);
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.ElementsSpacing          = 8;
     this.chartControl1.Font         = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.ItemsSize   = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(64, 56);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.Spacing     = 3;
     this.chartControl1.Legend.Visible     = false;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(21, 15);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.LightSteelBlue;
     this.chartControl1.PrimaryXAxis.HidePartialLabels      = true;
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.LightSteelBlue;
     this.chartControl1.PrimaryXAxis.Margin    = true;
     this.chartControl1.PrimaryXAxis.Title     = "City";
     this.chartControl1.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl1.PrimaryYAxis.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.ForceZero = true;
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.LightSteelBlue;
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.LightSteelBlue;
     this.chartControl1.PrimaryYAxis.Margin = true;
     this.chartControl1.PrimaryYAxis.Title  = "Population (Million)";
     this.chartControl1.Size     = new System.Drawing.Size(917, 520);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "City Population";
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // tabControl1
     //
     this.tabControl1.Dock = DockStyle.Fill;
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl1.HotTrack      = true;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(958, 580);
     this.tabControl1.TabIndex      = 1;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.White;
     this.tabPage1.Controls.Add(this.panel1);
     this.tabPage1.Controls.Add(this.chartControl2);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Location = new System.Drawing.Point(4, 30);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(950, 546);
     this.tabPage1.TabIndex = 1;
     this.tabPage1.Text     = "Binding List Datasource";
     //
     // panel1
     //
     this.panel1.Dock      = DockStyle.Right;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.btnAddEntry);
     this.panel1.Controls.Add(this.txtPopulation);
     this.panel1.Controls.Add(this.txtCountry);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.ForeColor = System.Drawing.Color.Black;
     this.panel1.Location  = new System.Drawing.Point(698, -30);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(256, 595);
     this.panel1.TabIndex  = 3;
     //
     // btnAddEntry
     //
     this.btnAddEntry.BackColor = System.Drawing.Color.Gray;
     this.btnAddEntry.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAddEntry.ForeColor = System.Drawing.Color.White;
     this.btnAddEntry.Location  = new System.Drawing.Point(35, 216);
     this.btnAddEntry.Name      = "btnAddEntry";
     this.btnAddEntry.Size      = new System.Drawing.Size(186, 40);
     this.btnAddEntry.TabIndex  = 6;
     this.btnAddEntry.Text      = "ADD TO DATASOURCE";
     this.btnAddEntry.Click    += new System.EventHandler(this.btnAddEntry_Click_1);
     //
     // txtPopulation
     //
     this.txtPopulation.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPopulation.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.txtPopulation.Location  = new System.Drawing.Point(35, 161);
     this.txtPopulation.Name      = "txtPopulation";
     this.txtPopulation.Size      = new System.Drawing.Size(186, 27);
     this.txtPopulation.TabIndex  = 5;
     //
     // txtCountry
     //
     this.txtCountry.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCountry.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.txtCountry.Location  = new System.Drawing.Point(35, 88);
     this.txtCountry.Name      = "txtCountry";
     this.txtCountry.Size      = new System.Drawing.Size(186, 27);
     this.txtCountry.TabIndex  = 4;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(31, 132);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(84, 20);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "Population:";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(31, 59);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(107, 20);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Country Name:";
     //
     // chartControl2
     //
     this.chartControl2.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)));
     this.chartControl2.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))), System.Drawing.Color.White);
     this.chartControl2.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl2.ChartArea.CursorReDraw   = false;
     this.chartControl2.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(5, 5, 5, 5);
     this.chartControl2.DataSourceName           = "";
     this.chartControl2.ElementsSpacing          = 5;
     this.chartControl2.IsWindowLess             = false;
     //
     //
     //
     this.chartControl2.Legend.ItemsSize      = new System.Drawing.Size(15, 15);
     this.chartControl2.Legend.Location       = new System.Drawing.Point(60, 47);
     this.chartControl2.Legend.Position       = Syncfusion.Windows.Forms.Chart.ChartDock.Left;
     this.chartControl2.Legend.Spacing        = 3;
     this.chartControl2.Legend.Visible        = false;
     this.chartControl2.Localize              = null;
     this.chartControl2.Location              = new System.Drawing.Point(15, 15);
     this.chartControl2.Name                  = "chartControl2";
     this.chartControl2.Palette               = Syncfusion.Windows.Forms.Chart.ChartColorPalette.DefaultOld;
     this.chartControl2.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl2.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.LightSteelBlue;
     this.chartControl2.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.LightSteelBlue;
     this.chartControl2.PrimaryXAxis.Margin    = true;
     this.chartControl2.PrimaryXAxis.Title     = "Country";
     this.chartControl2.PrimaryYAxis.Crossing  = double.NaN;
     this.chartControl2.PrimaryYAxis.ForceZero = true;
     this.chartControl2.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.LightSteelBlue;
     this.chartControl2.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.LightSteelBlue;
     this.chartControl2.PrimaryYAxis.Margin = true;
     this.chartControl2.PrimaryYAxis.Title  = "Population (Million)";
     this.chartControl2.Size     = new System.Drawing.Size(600, 483);
     this.chartControl2.TabIndex = 0;
     this.chartControl2.Text     = "Country Population";
     //
     //
     //
     this.chartControl2.Title.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl2.Title.Name = "Default";
     this.chartControl2.Titles.Add(this.chartControl2.Title);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(3, 501);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(681, 45);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Essential Chart can listen to changes in BindingList data sources and can update " +
                             "itself automatically. To check this feature, try adding a new entry to the Bindi" +
                             "ngList.";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.White;
     this.tabPage2.Controls.Add(this.chartControl1);
     this.tabPage2.Location = new System.Drawing.Point(4, 30);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(950, 546);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Array List Datasource";
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.tabControl1);
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(545, 514);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Binding Data from Collection";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label1        = new System.Windows.Forms.Label();
     this.label12       = new System.Windows.Forms.Label();
     this.comboBox1     = new System.Windows.Forms.ComboBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.chartControl1.BorderAppearance.BaseColor          = System.Drawing.Color.Moccasin;
     this.chartControl1.BorderAppearance.FrameThickness     = new Syncfusion.Windows.Forms.Chart.ChartThickness(15F, 15F, 15F, 15F);
     this.chartControl1.BorderAppearance.Interior.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
     this.chartControl1.ChartArea.BackInterior    = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.BorderColor     = System.Drawing.Color.Transparent;
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Location = new System.Drawing.Point(581, 75);
     this.chartControl1.Localize        = null;
     this.chartControl1.Location        = new System.Drawing.Point(0, 0);
     this.chartControl1.Name            = "chartControl1";
     this.chartControl1.Palette         = Syncfusion.Windows.Forms.Chart.ChartColorPalette.Metro;
     this.chartControl1.PrimaryXAxis.EdgeLabelsDrawingMode  = Syncfusion.Windows.Forms.Chart.ChartAxisEdgeLabelsDrawingMode.Shift;
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.LightGray;
     this.chartControl1.PrimaryXAxis.Margin    = true;
     this.chartControl1.PrimaryXAxis.Title     = "Year";
     this.chartControl1.PrimaryXAxis.TitleFont = new System.Drawing.Font("Segoe UI", 14F);
     this.chartControl1.PrimaryYAxis.ForceZero = true;
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.LightGray;
     this.chartControl1.PrimaryYAxis.Margin    = true;
     this.chartControl1.PrimaryYAxis.Range     = new Syncfusion.Windows.Forms.Chart.MinMaxInfo(0D, 600D, 100D);
     this.chartControl1.PrimaryYAxis.RangeType = Syncfusion.Windows.Forms.Chart.ChartAxisRangeType.Set;
     this.chartControl1.PrimaryYAxis.Title     = "Sales $";
     this.chartControl1.PrimaryYAxis.TitleFont = new System.Drawing.Font("Segoe UI", 14F);
     this.chartControl1.Size     = new System.Drawing.Size(700, 587);
     this.chartControl1.Skins    = Syncfusion.Windows.Forms.Chart.Skins.Metro;
     this.chartControl1.Style3D  = true;
     this.chartControl1.TabIndex = 1;
     this.chartControl1.Text     = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Font   = new System.Drawing.Font("Segoe UI", 16F);
     this.chartControl1.Title.Margin = 1;
     this.chartControl1.Title.Name   = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 0.20000000298023224D;
     //
     // panel1
     //
     this.panel1.Dock      = DockStyle.Right;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label12);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 590);
     this.panel1.TabIndex = 2;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(37, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(55, 25);
     this.label1.TabIndex  = 102;
     this.label1.Text      = "Skins";
     //
     // label12
     //
     this.label12.BackColor   = System.Drawing.Color.Transparent;
     this.label12.Font        = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label12.Location    = new System.Drawing.Point(38, 75);
     this.label12.Name        = "label12";
     this.label12.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.label12.Size        = new System.Drawing.Size(102, 23);
     this.label12.TabIndex    = 100;
     this.label12.Text        = "Chart Skins";
     this.label12.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBox1
     //
     this.comboBox1.Cursor                = System.Windows.Forms.Cursors.Hand;
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(41, 111);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(181, 28);
     this.comboBox1.TabIndex              = 101;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.HelpButton          = true;
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(494, 456);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "Form1";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "Skins";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 21
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1     = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1            = new System.Windows.Forms.Panel();
     this.radioButton3      = new System.Windows.Forms.RadioButton();
     this.checkBox2         = new System.Windows.Forms.CheckBox();
     this.comboBox2         = new System.Windows.Forms.ComboBox();
     this.label4            = new System.Windows.Forms.Label();
     this.radioButton1      = new System.Windows.Forms.RadioButton();
     this.radioButton2      = new System.Windows.Forms.RadioButton();
     this.label22           = new System.Windows.Forms.Label();
     this.checkBox1         = new System.Windows.Forms.CheckBox();
     this.comboBoxChartType = new System.Windows.Forms.ComboBox();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.comboBox1         = new System.Windows.Forms.ComboBox();
     this.numericUpDown1    = new System.Windows.Forms.NumericUpDown();
     this.label3            = new System.Windows.Forms.Label();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(5, 15, 15, 5);
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(194)))), ((int)(((byte)(229))))), System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(236)))), ((int)(((byte)(250))))));
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.ElementsSpacing          = 1;
     this.chartControl1.Font         = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(32, 53);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.ShowSymbol       = true;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.Margin = true;
     this.chartControl1.Rotation            = 90F;
     this.chartControl1.Size     = new System.Drawing.Size(700, 569);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "EssentialChart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "EssentialChart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.radioButton3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.comboBox2);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Controls.Add(this.label22);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 585);
     this.panel1.TabIndex = 3;
     //
     // radioButton3
     //
     this.radioButton3.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton3.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton3.Location        = new System.Drawing.Point(36, 198);
     this.radioButton3.Name            = "radioButton3";
     this.radioButton3.Size            = new System.Drawing.Size(112, 24);
     this.radioButton3.TabIndex        = 13;
     this.radioButton3.Text            = "France";
     this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.AutoSize  = true;
     this.checkBox2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location  = new System.Drawing.Point(36, 484);
     this.checkBox2.Name      = "checkBox2";
     this.checkBox2.Size      = new System.Drawing.Size(96, 24);
     this.checkBox2.TabIndex  = 12;
     this.checkBox2.Text      = "Enable 3D";
     this.checkBox2.UseVisualStyleBackColor = true;
     this.checkBox2.CheckedChanged         += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox2.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox2.Location              = new System.Drawing.Point(36, 270);
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(180, 28);
     this.comboBox2.TabIndex              = 11;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(33, 236);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(162, 20);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Legend Representation";
     //
     // radioButton1
     //
     this.radioButton1.Checked         = true;
     this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton1.Location        = new System.Drawing.Point(36, 131);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(82, 28);
     this.radioButton1.TabIndex        = 0;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "Italy";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radiobutton1_SeriesType_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton2.Location        = new System.Drawing.Point(36, 163);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(140, 28);
     this.radioButton2.TabIndex        = 1;
     this.radioButton2.Text            = "Spain";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radiobutton2_SeriesType_CheckedChanged);
     //
     // label22
     //
     this.label22.AutoSize  = true;
     this.label22.BackColor = System.Drawing.Color.Transparent;
     this.label22.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label22.Location  = new System.Drawing.Point(32, 99);
     this.label22.Name      = "label22";
     this.label22.Size      = new System.Drawing.Size(87, 20);
     this.label22.TabIndex  = 8;
     this.label22.Text      = "Chart Series";
     //
     // checkBox1
     //
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(36, 449);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(207, 29);
     this.checkBox1.TabIndex        = 7;
     this.checkBox1.Text            = "Points in different Color";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBoxChartType.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxChartType.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBoxChartType.Location              = new System.Drawing.Point(35, 60);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(184, 28);
     this.comboBoxChartType.TabIndex              = 6;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(36, 383);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 30);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Width";
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(36, 312);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(93, 20);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Dash Style";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(36, 342);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(180, 28);
     this.comboBox1.TabIndex              = 3;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // numericUpDown1
     //
     this.numericUpDown1.BackColor = System.Drawing.Color.White;
     this.numericUpDown1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Location  = new System.Drawing.Point(36, 414);
     this.numericUpDown1.Maximum   = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.ReadOnly = true;
     this.numericUpDown1.Size     = new System.Drawing.Size(178, 27);
     this.numericUpDown1.TabIndex = 2;
     this.numericUpDown1.Value    = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(35, 30);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(100, 26);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Chart Type";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "server_from_client.png");
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(705, 463);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Line";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 22
0
 /// <summary>
 /// Required method for Designer support; do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1   = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1          = new System.Windows.Forms.Panel();
     this.checkBox4       = new System.Windows.Forms.CheckBox();
     this.UpDown_Origin   = new System.Windows.Forms.NumericUpDown();
     this.checkBox5       = new System.Windows.Forms.CheckBox();
     this.label5          = new System.Windows.Forms.Label();
     this.checkBox2       = new System.Windows.Forms.CheckBox();
     this.label3          = new System.Windows.Forms.Label();
     this.checkBox3       = new System.Windows.Forms.CheckBox();
     this.label8          = new System.Windows.Forms.Label();
     this.label9          = new System.Windows.Forms.Label();
     this.checkBox1       = new System.Windows.Forms.CheckBox();
     this.CB_DateInterval = new System.Windows.Forms.ComboBox();
     this.CB_Origin       = new System.Windows.Forms.ComboBox();
     this.CB_axis         = new System.Windows.Forms.ComboBox();
     this.label1          = new System.Windows.Forms.Label();
     this.label7          = new System.Windows.Forms.Label();
     this.label10         = new System.Windows.Forms.Label();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.UpDown_Origin)).BeginInit();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 30, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Font         = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font           = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location       = new System.Drawing.Point(559, 77);
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(-2, 12);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(700, 571);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "Chart Axis - Custom Origin";
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Chart Axis - Custom Origin";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoScroll       = true;
     this.panel1.AutoScrollMargin = new System.Drawing.Size(0, 20);
     this.panel1.BackColor        = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.checkBox4);
     this.panel1.Controls.Add(this.UpDown_Origin);
     this.panel1.Controls.Add(this.checkBox5);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.CB_DateInterval);
     this.panel1.Controls.Add(this.CB_Origin);
     this.panel1.Controls.Add(this.CB_axis);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label10);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.ForeColor = System.Drawing.Color.Black;
     this.panel1.Location  = new System.Drawing.Point(699, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(259, 588);
     this.panel1.TabIndex  = 1;
     //
     // checkBox4
     //
     this.checkBox4.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox4.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox4.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox4.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox4.Location        = new System.Drawing.Point(43, 576);
     this.checkBox4.Name            = "checkBox4";
     this.checkBox4.Size            = new System.Drawing.Size(137, 24);
     this.checkBox4.TabIndex        = 1;
     this.checkBox4.Text            = "Opposed Y-Axis";
     this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // UpDown_Origin
     //
     this.UpDown_Origin.BackColor   = System.Drawing.Color.White;
     this.UpDown_Origin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.UpDown_Origin.Font        = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpDown_Origin.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.UpDown_Origin.Location    = new System.Drawing.Point(44, 343);
     this.UpDown_Origin.Maximum     = new decimal(new int[] {
         25,
         0,
         0,
         0
     });
     this.UpDown_Origin.Name     = "UpDown_Origin";
     this.UpDown_Origin.ReadOnly = true;
     this.UpDown_Origin.Size     = new System.Drawing.Size(165, 27);
     this.UpDown_Origin.TabIndex = 23;
     this.UpDown_Origin.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.UpDown_Origin.ValueChanged += new System.EventHandler(this.UpDown_Origin_ValueChanged);
     //
     // checkBox5
     //
     this.checkBox5.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox5.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox5.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox5.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox5.Location        = new System.Drawing.Point(43, 544);
     this.checkBox5.Name            = "checkBox5";
     this.checkBox5.Size            = new System.Drawing.Size(163, 24);
     this.checkBox5.TabIndex        = 0;
     this.checkBox5.Text            = "Opposed X-Axis";
     this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged);
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label5.Location  = new System.Drawing.Point(38, 506);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(132, 25);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "Opposed Axes";
     //
     // checkBox2
     //
     this.checkBox2.Checked         = true;
     this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location        = new System.Drawing.Point(43, 427);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(111, 31);
     this.checkBox2.TabIndex        = 4;
     this.checkBox2.Text            = "Invert X Axis";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.Invert_CheckedChanged);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(39, 390);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(104, 25);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Invert Axes";
     //
     // checkBox3
     //
     this.checkBox3.BackColor               = System.Drawing.Color.WhiteSmoke;
     this.checkBox3.Checked                 = true;
     this.checkBox3.CheckState              = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.Cursor                  = System.Windows.Forms.Cursors.Hand;
     this.checkBox3.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox3.Font                    = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox3.ForeColor               = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox3.Location                = new System.Drawing.Point(43, 462);
     this.checkBox3.Name                    = "checkBox3";
     this.checkBox3.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.checkBox3.Size                    = new System.Drawing.Size(137, 30);
     this.checkBox3.TabIndex                = 3;
     this.checkBox3.Text                    = "Invert Y Axis";
     this.checkBox3.UseVisualStyleBackColor = false;
     this.checkBox3.CheckedChanged         += new System.EventHandler(this.Invert_CheckedChanged);
     //
     // label8
     //
     this.label8.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label8.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label8.Location  = new System.Drawing.Point(43, 311);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(115, 27);
     this.label8.TabIndex  = 97;
     this.label8.Text      = "Value";
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.BackColor = System.Drawing.Color.Transparent;
     this.label9.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label9.Location  = new System.Drawing.Point(39, 30);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(134, 25);
     this.label9.TabIndex  = 2;
     this.label9.Text      = "Custom Origin";
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(43, 66);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(164, 22);
     this.checkBox1.TabIndex        = 2;
     this.checkBox1.Text            = "Show Custom Axis";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkbox_changed);
     //
     // CB_DateInterval
     //
     this.CB_DateInterval.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.CB_DateInterval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CB_DateInterval.Font          = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CB_DateInterval.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.CB_DateInterval.Items.AddRange(new object[] {
         "Auto",
         "Days",
         "Hours",
         "Milliseconds",
         "Minutes",
         "Months",
         "Seconds",
         "Weeks",
         "Years"
     });
     this.CB_DateInterval.Location              = new System.Drawing.Point(43, 271);
     this.CB_DateInterval.Name                  = "CB_DateInterval";
     this.CB_DateInterval.Size                  = new System.Drawing.Size(165, 28);
     this.CB_DateInterval.TabIndex              = 21;
     this.CB_DateInterval.SelectedIndexChanged += new System.EventHandler(this.CB_DateInterval_SelectedIndexChanged);
     //
     // CB_Origin
     //
     this.CB_Origin.Cursor                = System.Windows.Forms.Cursors.Hand;
     this.CB_Origin.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CB_Origin.Font                  = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CB_Origin.ForeColor             = System.Drawing.Color.MidnightBlue;
     this.CB_Origin.Location              = new System.Drawing.Point(44, 270);
     this.CB_Origin.Name                  = "CB_Origin";
     this.CB_Origin.Size                  = new System.Drawing.Size(165, 29);
     this.CB_Origin.TabIndex              = 11;
     this.CB_Origin.SelectedIndexChanged += new System.EventHandler(this.CB_Origin_SelectedIndexChanged);
     //
     // CB_axis
     //
     this.CB_axis.Cursor        = System.Windows.Forms.Cursors.Hand;
     this.CB_axis.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CB_axis.Font          = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CB_axis.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.CB_axis.Items.AddRange(new object[] {
         "Date Time Offset",
         "Offset",
         "Date Time Interval",
         "Range Padding Type"
     });
     this.CB_axis.Location              = new System.Drawing.Point(44, 196);
     this.CB_axis.Name                  = "CB_axis";
     this.CB_axis.Size                  = new System.Drawing.Size(165, 28);
     this.CB_axis.TabIndex              = 17;
     this.CB_axis.SelectedIndexChanged += new System.EventHandler(this.CB_axis_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(43, 97);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(133, 25);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Select Average Load";
     //
     // label7
     //
     this.label7.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label7.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label7.Location  = new System.Drawing.Point(43, 235);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(167, 29);
     this.label7.TabIndex  = 12;
     this.label7.Text      = "Range Padding Type";
     //
     // label10
     //
     this.label10.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label10.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label10.Location  = new System.Drawing.Point(42, 164);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(170, 28);
     this.label10.TabIndex  = 22;
     this.label10.Text      = "Origin Customiztion";
     //
     // comboBox1
     //
     this.comboBox1.Cursor                = System.Windows.Forms.Cursors.Hand;
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(44, 125);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(165, 28);
     this.comboBox1.TabIndex              = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.combobox_changed);
     //
     // FormMain
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(656, 469);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Custom Axis Origin";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.UpDown_Origin)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.label1        = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock                      = DockStyle.Fill;
     this.chartControl1.BackInterior              = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(233)))), ((int)(((byte)(249))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior    = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.IsWindowLess              = false;
     //
     //
     //
     this.chartControl1.Legend.Font           = new System.Drawing.Font("Segoe UI", 10F);
     this.chartControl1.Legend.Location       = new System.Drawing.Point(325, 206);
     this.chartControl1.Legend.Visible        = false;
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(0, 0);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size                  = new System.Drawing.Size(958, 514);
     this.chartControl1.TabIndex              = 0;
     this.chartControl1.Text                  = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "chartControl1";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ChartAreaPaint += new System.Windows.Forms.PaintEventHandler(this.chartControl1_ChartAreaPaint);
     //
     // label1
     //
     this.label1.Dock       = DockStyle.Bottom;
     this.label1.AutoSize   = true;
     this.label1.Font       = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(112)))), ((int)(((byte)(112)))));
     this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label1.Location   = new System.Drawing.Point(64, 528);
     this.label1.Name       = "label1";
     this.label1.Size       = new System.Drawing.Size(592, 16);
     this.label1.TabIndex   = 1;
     this.label1.Text       = "Arrows in the Primary axes and a line are drawn over the ChartArea using the ChartAreaPaint event";
     //
     // MainForm
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.chartControl1);
     this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize         = new System.Drawing.Size(256, 256);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Name                = "MainForm";
     this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text                = "Custom Drawing";
     this.Load               += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 24
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1      = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel2             = new System.Windows.Forms.Panel();
     this.label6             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.colorPickerButton1 = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.radioButton1       = new System.Windows.Forms.RadioButton();
     this.checkBox1          = new System.Windows.Forms.CheckBox();
     this.radioButton2       = new System.Windows.Forms.RadioButton();
     this.comboBoxChartType  = new System.Windows.Forms.ComboBox();
     this.label10            = new System.Windows.Forms.Label();
     this.checkBox2          = new System.Windows.Forms.CheckBox();
     this.label1             = new System.Windows.Forms.Label();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
     this.chartControl1.BackInterior              = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(248)))), ((int)(((byte)(235))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior    = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.BackwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(248)))), ((int)(((byte)(247))))), System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(189)))), ((int)(((byte)(166))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Font                      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess              = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(594, 75);
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing         = double.NaN;
     this.chartControl1.PrimaryXAxis.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.LabelRotateAngle = 45;
     this.chartControl1.PrimaryXAxis.Margin           = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing    = double.NaN;
     this.chartControl1.PrimaryYAxis.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.LabelRotate = true;
     this.chartControl1.PrimaryYAxis.Margin      = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(700, 580);
     this.chartControl1.TabIndex = 2;
     this.chartControl1.Text     = "Essential Chart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Essential Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // panel2
     //
     this.panel2.Dock      = DockStyle.Right;
     this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel2.Controls.Add(this.label6);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.colorPickerButton1);
     this.panel2.Controls.Add(this.radioButton1);
     this.panel2.Controls.Add(this.checkBox1);
     this.panel2.Controls.Add(this.radioButton2);
     this.panel2.Controls.Add(this.comboBoxChartType);
     this.panel2.Controls.Add(this.label10);
     this.panel2.Controls.Add(this.checkBox2);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Location = new System.Drawing.Point(700, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(260, 580);
     this.panel2.TabIndex = 4;
     //
     // label6
     //
     this.label6.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label6.Location  = new System.Drawing.Point(45, 327);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(103, 18);
     this.label6.TabIndex  = 139;
     this.label6.Text      = "Color Palette";
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(45, 290);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(83, 29);
     this.label3.TabIndex  = 136;
     this.label3.Text      = "Palette";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(44, 30);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(52, 25);
     this.label2.TabIndex  = 135;
     this.label2.Text      = "Type";
     //
     // colorPickerButton1
     //
     this.colorPickerButton1.BeforeTouchSize     = new System.Drawing.Size(100, 30);
     this.colorPickerButton1.ColorUISize         = new System.Drawing.Size(208, 230);
     this.colorPickerButton1.FlatStyle           = System.Windows.Forms.FlatStyle.Flat;
     this.colorPickerButton1.Font                = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.colorPickerButton1.ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.colorPickerButton1.IsBackStageButton   = false;
     this.colorPickerButton1.Location            = new System.Drawing.Point(48, 357);
     this.colorPickerButton1.Name                = "colorPickerButton1";
     this.colorPickerButton1.SelectedAsBackcolor = true;
     this.colorPickerButton1.Size                = new System.Drawing.Size(100, 30);
     this.colorPickerButton1.TabIndex            = 127;
     this.colorPickerButton1.ColorSelected      += new System.EventHandler(this.colorPickerButton1_ColorSelected_1);
     //
     // radioButton1
     //
     this.radioButton1.Checked   = true;
     this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radioButton1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton1.Location  = new System.Drawing.Point(48, 220);
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(80, 25);
     this.radioButton1.TabIndex  = 129;
     this.radioButton1.TabStop   = true;
     this.radioButton1.Text      = "Server1";
     this.radioButton1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(49, 401);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(91, 24);
     this.checkBox1.TabIndex        = 128;
     this.checkBox1.Text            = "3D View";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radioButton2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton2.Location  = new System.Drawing.Point(48, 250);
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(79, 23);
     this.radioButton2.TabIndex  = 132;
     this.radioButton2.Text      = "Server2";
     this.radioButton2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBoxChartType.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxChartType.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBoxChartType.Location              = new System.Drawing.Point(48, 97);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(181, 28);
     this.comboBoxChartType.TabIndex              = 130;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label10
     //
     this.label10.AutoSize  = true;
     this.label10.BackColor = System.Drawing.Color.Transparent;
     this.label10.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label10.Location  = new System.Drawing.Point(43, 179);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(125, 25);
     this.label10.TabIndex  = 134;
     this.label10.Text      = "Interior Color";
     //
     // checkBox2
     //
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location        = new System.Drawing.Point(48, 138);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(137, 24);
     this.checkBox2.TabIndex        = 131;
     this.checkBox2.Text            = "Show Labels";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(45, 68);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(95, 26);
     this.label1.TabIndex  = 133;
     this.label1.Text      = "Chart Type";
     //
     // FormMain
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(958, 584);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel2);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.MinimumSize         = new System.Drawing.Size(629, 412);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Bar";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 25
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1         = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1                = new System.Windows.Forms.Panel();
     this.panel3                = new System.Windows.Forms.Panel();
     this.label22               = new System.Windows.Forms.Label();
     this.radioButton1          = new System.Windows.Forms.RadioButton();
     this.colorPickerButton1    = new Syncfusion.Windows.Forms.ColorPickerButton();
     this.radioButton2          = new System.Windows.Forms.RadioButton();
     this.label1                = new System.Windows.Forms.Label();
     this.checkBoxAutoHighlight = new System.Windows.Forms.CheckBox();
     this.panel2                = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.Cursor         = System.Windows.Forms.Cursors.Hand;
     this.chartControl1.DataSourceName = "";
     this.chartControl1.Font           = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess   = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Segoe UI", 10F);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(58, 409);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(12, 12);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.SmartDateZoomMonthLevelLabelFormat = "m";
     this.chartControl1.Size     = new System.Drawing.Size(650, 486);
     this.chartControl1.TabIndex = 2;
     this.chartControl1.Text     = "Essential Chart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Essential Chart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.ZoomOutIncrement = 1.5D;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoSize  = true;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBoxAutoHighlight);
     this.panel1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.panel1.Location  = new System.Drawing.Point(700, 0);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(260, 590);
     this.panel1.TabIndex  = 3;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.label22);
     this.panel3.Controls.Add(this.radioButton1);
     this.panel3.Controls.Add(this.colorPickerButton1);
     this.panel3.Controls.Add(this.radioButton2);
     this.panel3.Location = new System.Drawing.Point(22, 100);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(171, 161);
     this.panel3.TabIndex = 6;
     //
     // label22
     //
     this.label22.AutoSize  = true;
     this.label22.BackColor = System.Drawing.Color.Transparent;
     this.label22.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label22.Location  = new System.Drawing.Point(27, 7);
     this.label22.Name      = "label22";
     this.label22.Size      = new System.Drawing.Size(116, 21);
     this.label22.TabIndex  = 4;
     this.label22.Text      = "Highlight Color";
     //
     // radioButton1
     //
     this.radioButton1.AutoSize        = true;
     this.radioButton1.Checked         = true;
     this.radioButton1.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton1.Location        = new System.Drawing.Point(30, 39);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(102, 25);
     this.radioButton1.TabIndex        = 0;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "Automatic";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // colorPickerButton1
     //
     this.colorPickerButton1.BackColor               = System.Drawing.Color.Transparent;
     this.colorPickerButton1.BeforeTouchSize         = new System.Drawing.Size(100, 30);
     this.colorPickerButton1.ColorUISize             = new System.Drawing.Size(208, 230);
     this.colorPickerButton1.Cursor                  = System.Windows.Forms.Cursors.Hand;
     this.colorPickerButton1.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.colorPickerButton1.Font                    = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.colorPickerButton1.ForeColor               = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.colorPickerButton1.IsBackStageButton       = false;
     this.colorPickerButton1.Location                = new System.Drawing.Point(30, 107);
     this.colorPickerButton1.Name                    = "colorPickerButton1";
     this.colorPickerButton1.SelectedAsBackcolor     = true;
     this.colorPickerButton1.SelectedColor           = System.Drawing.Color.Transparent;
     this.colorPickerButton1.Size                    = new System.Drawing.Size(100, 30);
     this.colorPickerButton1.TabIndex                = 2;
     this.colorPickerButton1.UseVisualStyleBackColor = false;
     this.colorPickerButton1.ColorSelected          += new System.EventHandler(this.Color_Selected);
     //
     // radioButton2
     //
     this.radioButton2.AutoSize        = true;
     this.radioButton2.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.radioButton2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton2.Location        = new System.Drawing.Point(30, 70);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(85, 25);
     this.radioButton2.TabIndex        = 1;
     this.radioButton2.Text            = "Specific";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(49, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(90, 25);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Highlight";
     //
     // checkBoxAutoHighlight
     //
     this.checkBoxAutoHighlight.AutoSize        = true;
     this.checkBoxAutoHighlight.Checked         = true;
     this.checkBoxAutoHighlight.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAutoHighlight.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBoxAutoHighlight.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBoxAutoHighlight.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxAutoHighlight.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBoxAutoHighlight.Location        = new System.Drawing.Point(54, 71);
     this.checkBoxAutoHighlight.Name            = "checkBoxAutoHighlight";
     this.checkBoxAutoHighlight.Size            = new System.Drawing.Size(66, 25);
     this.checkBoxAutoHighlight.TabIndex        = 0;
     this.checkBoxAutoHighlight.Text            = "Auto";
     this.checkBoxAutoHighlight.CheckedChanged += new System.EventHandler(this.checkBoxAutoHighlight_CheckedChanged);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.chartControl1);
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(700, 580);
     this.panel2.TabIndex = 4;
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(527, 488);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Auto Highlight ";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 26
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.BannerTextInfo        bannerTextInfo1 = new Syncfusion.Windows.Forms.BannerTextInfo();
            this.chartControl1       = new Syncfusion.Windows.Forms.Chart.ChartControl();
            this.chartTitle1         = new Syncfusion.Windows.Forms.Chart.ChartTitle();
            this.chartTitle2         = new Syncfusion.Windows.Forms.Chart.ChartTitle();
            this.toolTip1            = new System.Windows.Forms.ToolTip(this.components);
            this.btnDeleteTitle      = new System.Windows.Forms.Button();
            this.button_Addtitle     = new System.Windows.Forms.Button();
            this.imageListAdv1       = new Syncfusion.Windows.Forms.Tools.ImageListAdv(this.components);
            this.bannerTextProvider1 = new Syncfusion.Windows.Forms.BannerTextProvider(this.components);
            this.txtChartTitle       = new System.Windows.Forms.TextBox();
            this.designerPanel1      = new DesignerPanel();
            this.label5 = new System.Windows.Forms.Label();
            this.comboBox_TitlesDocking = new System.Windows.Forms.ComboBox();
            this.label4        = new System.Windows.Forms.Label();
            this.chkVisible    = new System.Windows.Forms.CheckBox();
            this.cmbAlignment  = new System.Windows.Forms.ComboBox();
            this.label1        = new System.Windows.Forms.Label();
            this.cmbChartTitle = new System.Windows.Forms.ComboBox();
            this.label2        = new System.Windows.Forms.Label();
            this.label3        = new System.Windows.Forms.Label();
            this.label13       = new System.Windows.Forms.Label();
            this.chartControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.designerPanel1)).BeginInit();
            this.designerPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // chartControl1
            //
            this.chartControl1.BackInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, new System.Drawing.Color[] {
                System.Drawing.Color.White,
                System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(97)))), ((int)(((byte)(159))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(23)))), ((int)(((byte)(119)))), ((int)(((byte)(174))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(140)))), ((int)(((byte)(189))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(31)))), ((int)(((byte)(150)))), ((int)(((byte)(194))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(6)))), ((int)(((byte)(80)))), ((int)(((byte)(149)))))
            });
            this.chartControl1.BorderAppearance.SkinStyle = Syncfusion.Windows.Forms.Chart.ChartBorderSkinStyle.Embed;
            this.chartControl1.ChartArea.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
            this.chartControl1.ChartArea.CursorLocation   = new System.Drawing.Point(0, 0);
            this.chartControl1.ChartArea.CursorReDraw     = false;
            this.chartControl1.ChartArea.XAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
            this.chartControl1.ChartArea.YAxesLayoutMode  = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
            this.chartControl1.ChartAreaMargins           = new Syncfusion.Windows.Forms.Chart.ChartMargins(1, 5, 3, 1);
            this.chartControl1.ChartInterior  = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
            this.chartControl1.DataSourceName = "";
            this.chartControl1.Font           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chartControl1.IsWindowLess   = false;
            //
            //
            //
            this.chartControl1.Legend.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chartControl1.Legend.ForeColor          = System.Drawing.Color.Black;
            this.chartControl1.Legend.Location           = new System.Drawing.Point(66, 437);
            this.chartControl1.Legend.Orientation        = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
            this.chartControl1.Legend.Position           = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
            this.chartControl1.Legend.RepresentationType = Syncfusion.Windows.Forms.Chart.ChartLegendRepresentationType.None;
            this.chartControl1.Legend.ShowBorder         = true;
            this.chartControl1.Localize = null;
            this.chartControl1.Location = new System.Drawing.Point(0, 0);
            this.chartControl1.Name     = "chartControl1";

            this.chartControl1.PrimaryXAxis.Title          = "Days";
            this.chartControl1.PrimaryXAxis.LabelAlignment = StringAlignment.Center;
            this.chartControl1.PrimaryYAxis.Margin         = true;
            this.chartControl1.PrimaryYAxis.Title          = "Efficiency";
            this.chartControl1.Size     = new System.Drawing.Size(700, 547);
            this.chartControl1.TabIndex = 1;
            this.chartControl1.Text     = "Efficeincy of oil-fired power production";
            //
            //
            //
            this.chartControl1.Title.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
            this.chartControl1.Title.ForeColor = System.Drawing.Color.Black;
            this.chartControl1.Title.Margin    = 1;
            this.chartControl1.Title.Name      = "Def_title";
            this.chartControl1.Title.Text      = "Efficeincy of oil-fired power production";
            this.chartControl1.Titles.Add(this.chartTitle1);
            this.chartControl1.Titles.Add(this.chartTitle2);
            this.chartControl1.ChartFormatAxisLabel += new Syncfusion.Windows.Forms.Chart.ChartFormatAxisLabelEventHandler(this.chartControl1_ChartFormatAxisLabel);
            //
            // chartTitle1
            //
            this.chartTitle1.Border.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(78)))), ((int)(((byte)(148)))));
            this.chartTitle1.Border.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
            this.chartTitle1.Border.PenType   = System.Drawing.Drawing2D.PenType.PathGradient;
            this.chartTitle1.Font             = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
            this.chartTitle1.ForeColor        = System.Drawing.Color.Black;
            this.chartTitle1.Margin           = 1;
            this.chartTitle1.Name             = "chartTitle1";
            this.chartTitle1.Text             = "India";
            //
            // chartTitle2
            //
            this.chartTitle2.Alignment = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
            this.chartTitle2.Font      = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
            this.chartTitle2.ForeColor = System.Drawing.Color.Black;
            this.chartTitle2.Margin    = 1;
            this.chartTitle2.Name      = "chartTitle2";
            this.chartTitle2.Position  = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
            this.chartTitle2.Text      = "Germany";
            //
            // btnDeleteTitle
            //
            this.btnDeleteTitle.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnDeleteTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.btnDeleteTitle.Location  = new System.Drawing.Point(199, 340);
            this.btnDeleteTitle.Name      = "btnDeleteTitle";
            this.btnDeleteTitle.Size      = new System.Drawing.Size(29, 29);
            this.btnDeleteTitle.TabIndex  = 72;
            this.btnDeleteTitle.Text      = "-";
            this.toolTip1.SetToolTip(this.btnDeleteTitle, "Remove Title");
            this.btnDeleteTitle.UseVisualStyleBackColor = true;
            this.btnDeleteTitle.Click += new System.EventHandler(this.btnDeleteTitle_Click);
            //
            // button_Addtitle
            //
            this.button_Addtitle.Enabled   = false;
            this.button_Addtitle.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button_Addtitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.button_Addtitle.Location  = new System.Drawing.Point(199, 131);
            this.button_Addtitle.Name      = "button_Addtitle";
            this.button_Addtitle.Size      = new System.Drawing.Size(29, 29);
            this.button_Addtitle.TabIndex  = 51;
            this.button_Addtitle.Text      = "+";
            this.toolTip1.SetToolTip(this.button_Addtitle, "Add Title");
            this.button_Addtitle.UseVisualStyleBackColor = true;
            this.button_Addtitle.Click += new System.EventHandler(this.button_Addtitle_Click);
            //
            // imageListAdv1
            //
            this.imageListAdv1.Images.AddRange(new System.Drawing.Image[] {
                ((System.Drawing.Image)(resources.GetObject("imageListAdv1.Images"))),
                ((System.Drawing.Image)(resources.GetObject("imageListAdv1.Images1")))
            });
            //
            // txtChartTitle
            //
            bannerTextInfo1.Text    = "Enter the text and press + button";
            bannerTextInfo1.Visible = true;
            this.bannerTextProvider1.SetBannerText(this.txtChartTitle, bannerTextInfo1);
            this.txtChartTitle.Font         = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtChartTitle.ForeColor    = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.txtChartTitle.Location     = new System.Drawing.Point(33, 132);
            this.txtChartTitle.Name         = "txtChartTitle";
            this.txtChartTitle.Size         = new System.Drawing.Size(157, 27);
            this.txtChartTitle.TabIndex     = 50;
            this.txtChartTitle.TextChanged += new System.EventHandler(this.txtChartTitle_TextChanged);
            //
            // designerPanel1
            //
            this.designerPanel1.BackColor       = System.Drawing.Color.WhiteSmoke;
            this.designerPanel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.None, new System.Drawing.Color[] {
                System.Drawing.Color.Transparent,
                System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(230)))), ((int)(((byte)(242))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(236)))), ((int)(((byte)(243))))),
                System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(239)))), ((int)(((byte)(245))))),
                System.Drawing.Color.Transparent
            });
            this.designerPanel1.BorderColor = System.Drawing.Color.Transparent;
            this.designerPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.designerPanel1.Controls.Add(this.label5);
            this.designerPanel1.Controls.Add(this.comboBox_TitlesDocking);
            this.designerPanel1.Controls.Add(this.label4);
            this.designerPanel1.Controls.Add(this.chkVisible);
            this.designerPanel1.Controls.Add(this.cmbAlignment);
            this.designerPanel1.Controls.Add(this.label1);
            this.designerPanel1.Controls.Add(this.btnDeleteTitle);
            this.designerPanel1.Controls.Add(this.cmbChartTitle);
            this.designerPanel1.Controls.Add(this.label2);
            this.designerPanel1.Controls.Add(this.txtChartTitle);
            this.designerPanel1.Controls.Add(this.label3);
            this.designerPanel1.Controls.Add(this.label13);
            this.designerPanel1.Controls.Add(this.button_Addtitle);
            this.designerPanel1.Dock        = System.Windows.Forms.DockStyle.Right;
            this.designerPanel1.Font        = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.designerPanel1.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.designerPanel1.HeaderImage = null;
            this.designerPanel1.HeaderText  = "";
            this.designerPanel1.Location    = new System.Drawing.Point(706, 0);
            this.designerPanel1.Name        = "designerPanel1";
            this.designerPanel1.Size        = new System.Drawing.Size(248, 581);
            this.designerPanel1.TabIndex    = 145;
            //
            // label5
            //
            this.label5.AutoSize  = true;
            this.label5.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label5.Location  = new System.Drawing.Point(28, 30);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(174, 25);
            this.label5.TabIndex  = 131;
            this.label5.Text      = "Title Customization";
            //
            // comboBox_TitlesDocking
            //
            this.comboBox_TitlesDocking.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox_TitlesDocking.Font              = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBox_TitlesDocking.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.comboBox_TitlesDocking.FormattingEnabled = true;
            this.comboBox_TitlesDocking.Items.AddRange(new object[] {
                "Left",
                "Right",
                "Top",
                "Bottom",
                "Floating"
            });
            this.comboBox_TitlesDocking.Location              = new System.Drawing.Point(35, 267);
            this.comboBox_TitlesDocking.Name                  = "comboBox_TitlesDocking";
            this.comboBox_TitlesDocking.Size                  = new System.Drawing.Size(156, 28);
            this.comboBox_TitlesDocking.TabIndex              = 52;
            this.comboBox_TitlesDocking.SelectedIndexChanged += new System.EventHandler(this.comboBox_TitlesDocking_SelectedIndexChanged);
            //
            // label4
            //
            this.label4.AutoSize  = true;
            this.label4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label4.Location  = new System.Drawing.Point(32, 240);
            this.label4.Name      = "label4";
            this.label4.Size      = new System.Drawing.Size(62, 20);
            this.label4.TabIndex  = 129;
            this.label4.Text      = "Position";
            //
            // chkVisible
            //
            this.chkVisible.AutoSize   = true;
            this.chkVisible.Checked    = true;
            this.chkVisible.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkVisible.Font       = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkVisible.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.chkVisible.Location   = new System.Drawing.Point(35, 70);
            this.chkVisible.Name       = "chkVisible";
            this.chkVisible.Size       = new System.Drawing.Size(97, 24);
            this.chkVisible.TabIndex   = 59;
            this.chkVisible.Text       = "Show Title";
            this.chkVisible.UseVisualStyleBackColor = true;
            this.chkVisible.CheckedChanged         += new System.EventHandler(this.chkVisible_CheckedChanged);
            //
            // cmbAlignment
            //
            this.cmbAlignment.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbAlignment.Font              = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmbAlignment.ForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.cmbAlignment.FormattingEnabled = true;
            this.cmbAlignment.Items.AddRange(new object[] {
                "Center",
                "Far",
                "Near"
            });
            this.cmbAlignment.Location              = new System.Drawing.Point(34, 199);
            this.cmbAlignment.Name                  = "cmbAlignment";
            this.cmbAlignment.Size                  = new System.Drawing.Size(157, 28);
            this.cmbAlignment.TabIndex              = 56;
            this.cmbAlignment.SelectedIndexChanged += new System.EventHandler(this.cmbAlignment_SelectedIndexChanged);
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label1.Location  = new System.Drawing.Point(31, 170);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(78, 20);
            this.label1.TabIndex  = 128;
            this.label1.Text      = "Alignment";
            //
            // cmbChartTitle
            //
            this.cmbChartTitle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbChartTitle.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmbChartTitle.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.cmbChartTitle.FormattingEnabled     = true;
            this.cmbChartTitle.Location              = new System.Drawing.Point(34, 341);
            this.cmbChartTitle.Name                  = "cmbChartTitle";
            this.cmbChartTitle.Size                  = new System.Drawing.Size(157, 28);
            this.cmbChartTitle.TabIndex              = 53;
            this.cmbChartTitle.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged);
            //
            // label2
            //
            this.label2.AutoSize  = true;
            this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label2.Location  = new System.Drawing.Point(32, 308);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(82, 20);
            this.label2.TabIndex  = 127;
            this.label2.Text      = "Select Title";
            //
            // label3
            //
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.label3.Location  = new System.Drawing.Point(-37, -213);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(2, 781);
            this.label3.TabIndex  = 130;
            //
            // label13
            //
            this.label13.AutoSize  = true;
            this.label13.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
            this.label13.Location  = new System.Drawing.Point(31, 105);
            this.label13.Name      = "label13";
            this.label13.Size      = new System.Drawing.Size(70, 20);
            this.label13.TabIndex  = 126;
            this.label13.Text      = "Add Title";
            //
            // Form1
            //
            this.BackColor  = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(954, 581);
            this.Controls.Add(this.chartControl1);
            this.Controls.Add(this.designerPanel1);
            this.Icon                = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize         = new System.Drawing.Size(556, 543);
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Name                = "Form1";
            this.StartPosition       = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text                = "Title Customization";
            this.Load               += new System.EventHandler(this.Form1_Load);
            this.chartControl1.ResumeLayout(false);
            this.chartControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.designerPanel1)).EndInit();
            this.designerPanel1.ResumeLayout(false);
            this.designerPanel1.PerformLayout();
            this.ResumeLayout(false);
        }
Exemplo n.º 27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1  = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1         = new System.Windows.Forms.Panel();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label1         = new System.Windows.Forms.Label();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font           = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location       = new System.Drawing.Point(569, 75);
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(0, 0);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.Title    = "Time";
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Title    = "Network Load";
     this.chartControl1.Size                  = new System.Drawing.Size(700, 590);
     this.chartControl1.TabIndex              = 0;
     this.chartControl1.Text                  = "Peak Average Network Load";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Peak Average Network Load";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(698, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 581);
     this.panel1.TabIndex = 1;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // numericUpDown1
     //
     this.numericUpDown1.BackColor   = System.Drawing.Color.White;
     this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericUpDown1.Font        = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Increment   = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.numericUpDown1.Location = new System.Drawing.Point(50, 96);
     this.numericUpDown1.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.ReadOnly = true;
     this.numericUpDown1.Size     = new System.Drawing.Size(170, 29);
     this.numericUpDown1.TabIndex = 2;
     this.numericUpDown1.Value    = new decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.dprovider.timer1.Interval    = (int)this.numericUpDown1.Value;
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(46, 63);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(112, 28);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Select Timer Interval";
     //
     // checkBox1
     //
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(50, 30);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(140, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Enable Styles";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(608, 430);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Custom Data Binding Model";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 28
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label1        = new System.Windows.Forms.Label();
     this.comboBox1     = new System.Windows.Forms.ComboBox();
     this.comboBox2     = new System.Windows.Forms.ComboBox();
     this.comboBox3     = new System.Windows.Forms.ComboBox();
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.Dock = DockStyle.Fill;
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.White, System.Drawing.Color.White);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.Location       = new System.Drawing.Point(581, 71);
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(0, 0);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size                  = new System.Drawing.Size(700, 585);
     this.chartControl1.TabIndex              = 0;
     this.chartControl1.Text                  = "chartControl1";
     //
     //
     //
     this.chartControl1.Title.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "chartControl1";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Dock      = DockStyle.Right;
     this.panel1.AutoSize  = true;
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.comboBox2);
     this.panel1.Controls.Add(this.comboBox3);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 585);
     this.panel1.TabIndex = 1;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(32, 30);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 20);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Chart Type";
     //
     // comboBox1
     //
     this.comboBox1.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.comboBox1.Cursor        = System.Windows.Forms.Cursors.Arrow;
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle     = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Items.AddRange(new object[] {
         "Line",
         "Column",
         "Pie",
         "Area",
         "Spline",
         "SplineArea",
         "Bubble"
     });
     this.comboBox1.Location              = new System.Drawing.Point(34, 62);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(196, 29);
     this.comboBox1.TabIndex              = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // comboBox2
     //
     this.comboBox2.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.comboBox2.Cursor        = System.Windows.Forms.Cursors.Arrow;
     this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.Enabled       = false;
     this.comboBox2.FlatStyle     = System.Windows.Forms.FlatStyle.System;
     this.comboBox2.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox2.Items.AddRange(new object[] {
         "Outside",
         "Inside",
         "Disabled",
         "OutsideInArea"
     });
     this.comboBox2.Location              = new System.Drawing.Point(34, 152);
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(196, 29);
     this.comboBox2.SelectedIndex         = 0;
     this.comboBox2.TabIndex              = 0;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // comboBox3
     //
     this.comboBox3.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.comboBox3.Cursor        = System.Windows.Forms.Cursors.Arrow;
     this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox3.FlatStyle     = System.Windows.Forms.FlatStyle.System;
     this.comboBox3.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox3.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox3.Items.AddRange(new object[] {
         "Top",
         "Bottom",
         "Left",
         "Right",
         "Center"
     });
     this.comboBox3.Location              = new System.Drawing.Point(36, 108);
     this.comboBox3.Name                  = "comboBox3";
     this.comboBox3.Size                  = new System.Drawing.Size(196, 29);
     this.comboBox3.SelectedIndex         = 0;
     this.comboBox3.TabIndex              = 0;
     this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize  = true;
     this.checkBox1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location  = new System.Drawing.Point(36, 207);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(83, 24);
     this.checkBox1.TabIndex  = 15;
     this.checkBox1.Text      = "3D View";
     this.checkBox1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // Form1
     //
     this.BackColor  = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(494, 382);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Callout Labels";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 29
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label4        = new System.Windows.Forms.Label();
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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)));
     this.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.ForwardDiagonal, System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(210)))), ((int)(((byte)(193))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.ForwardDiagonal, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(2, -1, 5, 2);
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Font         = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.ForeColor    = System.Drawing.Color.Black;
     this.chartControl1.IsWindowLess = false;
     this.chartControl1.Size         = new System.Drawing.Size(687, 614);
     this.chartControl1.TabIndex     = 1;
     this.chartControl1.Text         = "Weather Condition";
     this.chartControl1.Title.Name   = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     this.chartControl1.Indexed           = false;
     this.chartControl1.Crosshair.Visible = true;
     this.chartControl1.Crosshair.AxisTooltipRendering += Crosshair_AxisTooltipRendering;
     this.chartControl1.Crosshair.AxisTooltip.Interior  = new BrushInfo(Color.Black);
     this.chartControl1.Crosshair.AxisTooltip.TextColor = Color.White;
     //
     // Legend
     //
     this.chartControl1.Legend.Alignment        = Syncfusion.Windows.Forms.Chart.ChartAlignment.Center;
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(301, 573);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.LegendsPlacement        = Syncfusion.Windows.Forms.Chart.ChartPlacement.Outside;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     //
     // PrimaryXAxis
     //
     this.chartControl1.PrimaryXAxis.DrawGrid             = false;
     this.chartControl1.PrimaryXAxis.ShowCrosshairTooltip = true;
     this.chartControl1.PrimaryXAxis.Font      = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.ForeColor = System.Drawing.Color.Black;
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.RangePaddingType       = Syncfusion.Windows.Forms.Chart.ChartAxisRangePaddingType.None;
     this.chartControl1.PrimaryXAxis.Title          = "Month";
     this.chartControl1.PrimaryXAxis.ValueType      = ChartValueType.DateTime;
     this.chartControl1.PrimaryXAxis.DateTimeFormat = "MMM/yyyy";
     //
     //PrimaryYAxis
     //
     this.chartControl1.PrimaryYAxis.Title = "Temperature (Fahrenheit)";
     this.chartControl1.PrimaryYAxis.ShowCrosshairTooltip = true;
     this.chartControl1.PrimaryYAxis.FormatLabel         += PrimaryYAxis_FormatLabel;
     this.chartControl1.PrimaryYAxis.Font      = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.ForeColor = System.Drawing.Color.Black;
     this.chartControl1.PrimaryYAxis.GridLineType.BackColor = System.Drawing.Color.White;
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.GridLineType.PenType   = System.Drawing.Drawing2D.PenType.PathGradient;
     this.chartControl1.PrimaryYAxis.GridLineType.Width     = 0F;
     this.chartControl1.PrimaryYAxis.HidePartialLabels      = true;
     this.chartControl1.PrimaryYAxis.RangePaddingType       = ChartAxisRangePaddingType.None;
     this.chartControl1.PrimaryYAxis.ValueType = ChartValueType.Double;
     this.chartControl1.PrimaryYAxis.Range     = new MinMaxInfo(0, 160, 20);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location    = new System.Drawing.Point(687, 0);
     this.panel1.MinimumSize = new System.Drawing.Size(176, 415);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(416, 625);
     this.panel1.TabIndex    = 2;
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(54, 44);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(276, 39);
     this.label4.TabIndex  = 11;
     this.label4.Text      = "Chart Crosshair";
     //
     // checkBox1
     //
     this.checkBox1.AutoSize        = true;
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Cursor          = System.Windows.Forms.Cursors.Hand;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(62, 102);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(216, 35);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Opposed Position";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkbox1_changed);
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(1094, 617);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(1106, 664);
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Crosshair";
     this.Load         += new System.EventHandler(this.FormMain_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1 = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1        = new System.Windows.Forms.Panel();
     this.button1       = new System.Windows.Forms.Button();
     this.label2        = new System.Windows.Forms.Label();
     this.label9        = new System.Windows.Forms.Label();
     this.textBox1      = new System.Windows.Forms.TextBox();
     this.label1        = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.ChartArea.CursorLocation  = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw    = false;
     this.chartControl1.ChartArea.XAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartArea.YAxesLayoutMode = Syncfusion.Windows.Forms.Chart.ChartAxesLayoutMode.SideBySide;
     this.chartControl1.ChartAreaMargins          = new Syncfusion.Windows.Forms.Chart.ChartMargins(10, 10, 20, 10);
     this.chartControl1.ChartInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(209)))), ((int)(((byte)(226))))), System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(232)))), ((int)(((byte)(243))))));
     this.chartControl1.DataSourceName            = "";
     this.chartControl1.Font         = new System.Drawing.Font("Arial", 15F);
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.Font        = new System.Drawing.Font("Verdana", 10F);
     this.chartControl1.Legend.Location    = new System.Drawing.Point(76, 486);
     this.chartControl1.Legend.Orientation = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position    = Syncfusion.Windows.Forms.Chart.ChartDock.Bottom;
     this.chartControl1.Localize           = null;
     this.chartControl1.Location           = new System.Drawing.Point(0, 0);
     this.chartControl1.Name = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryXAxis.Title    = "Time(hr)";
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Title    = "Network Load";
     this.chartControl1.Size     = new System.Drawing.Size(700, 581);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "Peak Average Network Load";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "Peak Average Network Load";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(259, 591);
     this.panel1.TabIndex = 1;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(58, 135);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(137, 33);
     this.button1.TabIndex = 6;
     this.button1.Text     = "Apply Filter";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(33, 186);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(215, 52);
     this.label2.TabIndex  = 2;
     //
     // label9
     //
     this.label9.AutoSize  = true;
     this.label9.BackColor = System.Drawing.Color.Transparent;
     this.label9.Font      = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label9.Location  = new System.Drawing.Point(28, 30);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(176, 25);
     this.label9.TabIndex  = 5;
     this.label9.Text      = "Filtering Chart Data";
     //
     // textBox1
     //
     this.textBox1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.textBox1.Location  = new System.Drawing.Point(33, 102);
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(185, 27);
     this.textBox1.TabIndex  = 3;
     this.textBox1.Text      = "425";
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(33, 67);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(103, 28);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Filter Value";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(632, 437);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Filtered Data";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }