/// <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(ColorGrid_Bitmap));
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.button1     = new System.Windows.Forms.Button();
            this.button2     = new System.Windows.Forms.Button();
            this.comboBox1   = new System.Windows.Forms.ComboBox();
            this.colorGrid1  = new Steema.TeeChart.Styles.ColorGrid();
            this.buttonPen1  = new Steema.TeeChart.ButtonPen();
            this.panel1.SuspendLayout();
            this.chartContainer.SuspendLayout();
#if VS2005
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
#endif
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Text = resources.GetString("textBox1.Text");
            //
            // panel1
            //
            this.panel1.Controls.Add(this.buttonPen1);
            this.panel1.Controls.Add(this.comboBox1);
            this.panel1.Controls.Add(this.button2);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.pictureBox1);
            //
            // tChart1
            //
            //
            //
            //
            this.tChart1.Aspect.View3D  = false;
            this.tChart1.Aspect.ZOffset = 0;
            //
            //
            //
            this.tChart1.Header.Lines = new string[] {
                "tChart1"
            };
            //
            //
            //
            this.tChart1.Legend.Visible = false;
            //
            //
            //
            //
            //
            //
            this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.tChart1.Series.Add(this.colorGrid1);
            this.tChart1.Size = new System.Drawing.Size(440, 205);
            //
            // pictureBox1
            //
            this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(344, -16);
            this.pictureBox1.Name     = "pictureBox1";
            this.pictureBox1.Size     = new System.Drawing.Size(95, 77);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop  = false;
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(8, 8);
            this.button1.Name      = "button1";
            this.button1.Size      = new System.Drawing.Size(56, 23);
            this.button1.TabIndex  = 1;
            this.button1.Text      = "+ Zoom";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // button2
            //
            this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Location  = new System.Drawing.Point(72, 8);
            this.button2.Name      = "button2";
            this.button2.Size      = new System.Drawing.Size(56, 23);
            this.button2.TabIndex  = 2;
            this.button2.Text      = "- Zoom";
            this.button2.Click    += new System.EventHandler(this.button2_Click);
            //
            // comboBox1
            //
            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox1.Items.AddRange(new object[] {
                "Original Colors",
                "Color Range",
                "Color Palette"
            });
            this.comboBox1.Location              = new System.Drawing.Point(136, 9);
            this.comboBox1.Name                  = "comboBox1";
            this.comboBox1.Size                  = new System.Drawing.Size(121, 21);
            this.comboBox1.TabIndex              = 3;
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
            //
            // colorGrid1
            //
            //
            //
            //
            this.colorGrid1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.colorGrid1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.colorGrid1.ColorEach   = false;
            //
            //
            //
            this.colorGrid1.Marks.ArrowLength = 0;
            //
            //
            //
            this.colorGrid1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.colorGrid1.Marks.Callout.ArrowHeadSize = 8;
            //
            //
            //
            this.colorGrid1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
            this.colorGrid1.Marks.Callout.Distance    = 0;
            this.colorGrid1.Marks.Callout.Draw3D      = false;
            this.colorGrid1.Marks.Callout.Length      = 0;
            this.colorGrid1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            this.colorGrid1.Marks.Callout.Visible     = false;
            this.colorGrid1.PaletteMin   = 0;
            this.colorGrid1.PaletteStep  = 0;
            this.colorGrid1.PaletteStyle = Steema.TeeChart.Styles.PaletteStyles.Pale;
            //
            //
            //
            this.colorGrid1.Pen.Visible = false;
            this.colorGrid1.Title       = "colorGrid1";
            this.colorGrid1.XStep       = 1;
            //
            //
            //
            this.colorGrid1.XValues.DataMember = "X";
            //
            //
            //
            this.colorGrid1.YValues.DataMember = "Y";
            this.colorGrid1.ZStep = 1;
            //
            //
            //
            this.colorGrid1.ZValues.DataMember = "Z";
            //
            // buttonPen1
            //
            this.buttonPen1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.buttonPen1.Location  = new System.Drawing.Point(264, 8);
            this.buttonPen1.Name      = "buttonPen1";
            this.buttonPen1.Size      = new System.Drawing.Size(75, 23);
            this.buttonPen1.TabIndex  = 4;
            this.buttonPen1.Text      = "Grid...";
            //
            // ColorGrid_Bitmap
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(440, 317);
            this.Name = "ColorGrid_Bitmap";
            this.panel1.ResumeLayout(false);
            this.chartContainer.ResumeLayout(false);
#if VS2005
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
#endif
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #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.colorGrid1 = new Steema.TeeChart.Styles.ColorGrid();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Text = "All 3D Series (surface, contour, colorgrid, etc) include a new method to add a un" +
                          "i-dimensional set of arrays (x by z grid of values). \r\n\r\ncolorGrid1.Add(xValues," +
                          " yValues, zValues);";
     //
     // panel1
     //
     this.panel1.Name = "panel1";
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[0];
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Name           = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.tChart1.Series.Add(this.colorGrid1);
     //
     // colorGrid1
     //
     //
     // colorGrid1.Brush
     //
     this.colorGrid1.Brush.Color = System.Drawing.Color.Red;
     //
     // colorGrid1.Marks
     //
     this.colorGrid1.Marks.ArrowLength = 0;
     //
     // colorGrid1.Marks.Symbol
     //
     //
     // colorGrid1.Marks.Symbol.Shadow
     //
     this.colorGrid1.Marks.Symbol.Shadow.Height  = 1;
     this.colorGrid1.Marks.Symbol.Shadow.Visible = true;
     this.colorGrid1.Marks.Symbol.Shadow.Width   = 1;
     this.colorGrid1.PaletteMin    = 0;
     this.colorGrid1.PaletteStep   = 0;
     this.colorGrid1.PaletteStyle  = Steema.TeeChart.Styles.PaletteStyles.Strong;
     this.colorGrid1.Title         = "colorGrid1";
     this.colorGrid1.UseColorRange = false;
     this.colorGrid1.UsePalette    = true;
     //
     // colorGrid1.XValues
     //
     this.colorGrid1.XValues.DataMember = "X";
     //
     // colorGrid1.YValues
     //
     this.colorGrid1.YValues.DataMember = "Y";
     //
     // colorGrid1.ZValues
     //
     this.colorGrid1.ZValues.DataMember = "Z";
     //
     // Series3D_AddArray
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Series3D_AddArray";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.colorGrid1 = new Steema.TeeChart.Styles.ColorGrid();
     this.checkBox1  = new System.Windows.Forms.CheckBox();
     this.button1    = new System.Windows.Forms.Button();
     this.checkBox2  = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Text = "ColorGrid series can now display Marks. \r\n\r\ncolorGrid1.Marks.Visible = true; ";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Name = "panel1";
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.MaxNumRows = 8;
     this.tChart1.Name = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.tChart1.Series.Add(this.colorGrid1);
     //
     // colorGrid1
     //
     //
     // colorGrid1.Brush
     //
     this.colorGrid1.Brush.Color    = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.colorGrid1.CenteredPoints = true;
     //
     // colorGrid1.Marks
     //
     this.colorGrid1.Marks.ArrowLength = 0;
     //
     // colorGrid1.Marks.Symbol
     //
     //
     // colorGrid1.Marks.Symbol.Shadow
     //
     this.colorGrid1.Marks.Symbol.Shadow.Height  = 1;
     this.colorGrid1.Marks.Symbol.Shadow.Visible = true;
     this.colorGrid1.Marks.Symbol.Shadow.Width   = 1;
     this.colorGrid1.Marks.Visible = true;
     this.colorGrid1.PaletteMin    = 0;
     this.colorGrid1.PaletteStep   = 0;
     this.colorGrid1.StartColor    = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(206)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.colorGrid1.Title         = "colorGrid1";
     //
     // colorGrid1.XValues
     //
     this.colorGrid1.XValues.DataMember = "X";
     //
     // colorGrid1.YValues
     //
     this.colorGrid1.YValues.DataMember = "Y";
     //
     // colorGrid1.ZValues
     //
     this.colorGrid1.ZValues.DataMember = "Z";
     //
     // checkBox1
     //
     this.checkBox1.Checked    = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location   = new System.Drawing.Point(16, 8);
     this.checkBox1.Name       = "checkBox1";
     this.checkBox1.TabIndex   = 0;
     this.checkBox1.Text       = "View Marks";
     this.checkBox1.Click     += new System.EventHandler(this.checkBox1_Click);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(144, 8);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(76, 25);
     this.button1.TabIndex  = 1;
     this.button1.Text      = "Edit Marks...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // checkBox2
     //
     this.checkBox2.Checked    = true;
     this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.Location   = new System.Drawing.Point(288, 13);
     this.checkBox2.Name       = "checkBox2";
     this.checkBox2.Size       = new System.Drawing.Size(104, 19);
     this.checkBox2.TabIndex   = 2;
     this.checkBox2.Text       = "Centered Points";
     this.checkBox2.Click     += new System.EventHandler(this.checkBox2_Click);
     //
     // ColorGrid_Marks
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "ColorGrid_Marks";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.colorGridSeries1 = new Steema.TeeChart.Styles.ColorGrid();
            this.label1           = new System.Windows.Forms.Label();
            this.numericUpDown1   = new System.Windows.Forms.NumericUpDown();
            this.checkBox1        = new System.Windows.Forms.CheckBox();
            this.button1          = new System.Windows.Forms.Button();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(466, 63);
            this.textBox1.Text = @"ColorGrid series is a 2D surface. Each ""cell"" has a value and an optional color. The AddXYZ method is used to fill the color grid. An optional ""grid"" over cells is displayed using the Pen property.

Example: colorGridSeries1.Add( 1, 123, 1 ); // x=1, z = 1, y(x,z) =123";
            //
            // panel1
            //
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Controls.Add(this.numericUpDown1);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Location = new System.Drawing.Point(0, 63);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(466, 33);
            //
            // tChart1
            //
            //
            // tChart1.Aspect
            //
            this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.tChart1.Aspect.View3D            = false;
            this.tChart1.BackColor = System.Drawing.Color.Transparent;
            //
            // tChart1.Header
            //
            this.tChart1.Header.Lines = new string[] {
                "tChart1"
            };
            //
            // tChart1.Legend
            //
            this.tChart1.Legend.MaxNumRows = 8;
            this.tChart1.Location          = new System.Drawing.Point(0, 96);
            this.tChart1.Name = "tChart1";
            //
            // tChart1.Panel
            //
            //
            // tChart1.Panel.Brush
            //
            this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
            this.tChart1.Series.Add(this.colorGridSeries1);
            this.tChart1.Size = new System.Drawing.Size(466, 190);
            //
            // colorGridSeries1
            //
            //
            // colorGridSeries1.Brush
            //
            this.colorGridSeries1.Brush.Color = System.Drawing.Color.Red;
            //
            // colorGridSeries1.Marks
            //
            this.colorGridSeries1.Marks.ArrowLength = 0;
            //
            // colorGridSeries1.Marks.Symbol
            //
            //
            // colorGridSeries1.Marks.Symbol.Shadow
            //
            this.colorGridSeries1.Marks.Symbol.Shadow.Height  = 1;
            this.colorGridSeries1.Marks.Symbol.Shadow.Visible = true;
            this.colorGridSeries1.Marks.Symbol.Shadow.Width   = 1;
            this.colorGridSeries1.NumXValues  = 25;
            this.colorGridSeries1.NumZValues  = 25;
            this.colorGridSeries1.PaletteMin  = 0;
            this.colorGridSeries1.PaletteStep = 0;
            this.colorGridSeries1.Title       = "colorGridSeries1";
            //
            // colorGridSeries1.XValues
            //
            this.colorGridSeries1.XValues.DataMember = "X";
            //
            // colorGridSeries1.YValues
            //
            this.colorGridSeries1.YValues.DataMember = "Y";
            //
            // colorGridSeries1.ZValues
            //
            this.colorGridSeries1.ZValues.DataMember = "Z";
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(21, 9);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(29, 16);
            this.label1.TabIndex  = 0;
            this.label1.Text      = "&Size:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
            //
            // numericUpDown1
            //
            this.numericUpDown1.Location = new System.Drawing.Point(56, 7);
            this.numericUpDown1.Minimum  = new System.Decimal(new int[] {
                2,
                0,
                0,
                0
            });
            this.numericUpDown1.Name      = "numericUpDown1";
            this.numericUpDown1.Size      = new System.Drawing.Size(40, 20);
            this.numericUpDown1.TabIndex  = 1;
            this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.numericUpDown1.Value     = new System.Decimal(new int[] {
                20,
                0,
                0,
                0
            });
            this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
            //
            // checkBox1
            //
            this.checkBox1.Checked         = true;
            this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox1.Location        = new System.Drawing.Point(120, 7);
            this.checkBox1.Name            = "checkBox1";
            this.checkBox1.Size            = new System.Drawing.Size(47, 21);
            this.checkBox1.TabIndex        = 2;
            this.checkBox1.Text            = "&Grid";
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(208, 6);
            this.button1.Name      = "button1";
            this.button1.TabIndex  = 3;
            this.button1.Text      = "&Edit...";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // SeriesType_ColorGrid
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(466, 286);
            this.Name = "SeriesType_ColorGrid";
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
            this.ResumeLayout(false);
        }