/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.label3    = new System.Windows.Forms.Label();
     this.label4    = new System.Windows.Forms.Label();
     this.box1      = new Steema.TeeChart.Styles.Box();
     this.gridBand1 = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(466, 48);
     this.textBox1.Text = "Now you can fully customize all TBoxPlotSeries parameters. All you must do \r\nis s" +
                          "et UseCustomValues property to True and then pass your values to \r\nQuartile, Inn" +
                          "erFence and OuterFence properties.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 48);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(466, 81);
     //
     // 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.Axes
     //
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.MinorTicks
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     this.tChart1.Header.Font.Bold = true;
     this.tChart1.Header.Font.Size = 7;
     this.tChart1.Header.Lines     = new string[] {
         "BoxPlot series example"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 129);
     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.box1);
     this.tChart1.Size = new System.Drawing.Size(466, 157);
     this.tChart1.Tools.Add(this.gridBand1);
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(24, 8);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(120, 16);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Custom values";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(184, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(45, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Median:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(184, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(89, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Inner Fences = []";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(184, 40);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(92, 16);
     this.label3.TabIndex = 3;
     this.label3.Text     = "Outer Fences = []";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(184, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(101, 16);
     this.label4.TabIndex = 4;
     this.label4.Text     = "Adjacent points = []";
     //
     // box1
     //
     this.box1.AdjacentPoint1 = 1;
     this.box1.AdjacentPoint3 = 22;
     //
     // box1.ExtrOut
     //
     //
     // box1.ExtrOut.Brush
     //
     this.box1.ExtrOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.box1.ExtrOut.Style       = Steema.TeeChart.Styles.PointerStyles.Star;
     this.box1.InnerFence1         = -12.5;
     this.box1.InnerFence3         = 35.5;
     //
     // box1.LinePen
     //
     this.box1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(178)), ((System.Byte)(153)), ((System.Byte)(0)), ((System.Byte)(0)));
     //
     // box1.Marks
     //
     //
     // box1.Marks.Symbol
     //
     //
     // box1.Marks.Symbol.Shadow
     //
     this.box1.Marks.Symbol.Shadow.Height  = 1;
     this.box1.Marks.Symbol.Shadow.Visible = true;
     this.box1.Marks.Symbol.Shadow.Width   = 1;
     this.box1.Median = 11.5;
     //
     // box1.MedianPen
     //
     this.box1.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     // box1.MildOut
     //
     //
     // box1.MildOut.Brush
     //
     this.box1.MildOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.box1.MildOut.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.box1.OuterFence1         = -30.5;
     this.box1.OuterFence3         = 53.5;
     //
     // box1.Pointer
     //
     //
     // box1.Pointer.Brush
     //
     this.box1.Pointer.Brush.Color           = System.Drawing.Color.FromArgb(((System.Byte)(178)), ((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.box1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty;
     this.box1.Pointer.Draw3D    = false;
     this.box1.Pointer.HorizSize = 15;
     //
     // box1.Pointer.Pen
     //
     this.box1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(178)), ((System.Byte)(153)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.box1.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.box1.Pointer.VertSize  = 15;
     this.box1.Quartile1         = 5.5;
     this.box1.Quartile3         = 17.5;
     this.box1.Title             = "box1";
     //
     // box1.XValues
     //
     this.box1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // gridBand1
     //
     this.gridBand1.Axis = this.tChart1.Axes.Left;
     //
     // gridBand1.Band1
     //
     this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     //
     // gridBand1.Band2
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // Box_CustomValues
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 286);
     this.Name  = "Box_CustomValues";
     this.Load += new System.EventHandler(this.Box_CustomValues_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #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.boxSeries1 = new Steema.TeeChart.Styles.Box();
     this.boxSeries2 = new Steema.TeeChart.Styles.Box();
     this.boxSeries3 = new Steema.TeeChart.Styles.Box();
     this.button1    = new System.Windows.Forms.Button();
     this.gridBand1  = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(466, 63);
     this.textBox1.Text = "Box series (also called Box & Whisker or Box-Plot) draws a \"box\" and  calculates " +
                          "the Median and Whisker quantities.\r\nAll visual parts are fully configurable.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     this.panel1.Location = new System.Drawing.Point(0, 63);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(466, 34);
     //
     // 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
     //
     //
     // tChart1.Header.Font
     //
     this.tChart1.Header.Font.Bold = true;
     this.tChart1.Header.Font.Size = 7;
     this.tChart1.Header.Lines     = new string[] {
         "BoxPlot series example"
     };
     this.tChart1.Location = new System.Drawing.Point(0, 97);
     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)));
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.StartColor   = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(215)), ((System.Byte)(0)));
     this.tChart1.Panel.Brush.Gradient.Transparency = 40;
     this.tChart1.Panel.Brush.Gradient.Visible      = true;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.StartColor   = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(215)), ((System.Byte)(0)));
     this.tChart1.Panel.Gradient.Transparency = 40;
     this.tChart1.Panel.Gradient.Visible      = true;
     this.tChart1.Series.Add(this.boxSeries1);
     this.tChart1.Series.Add(this.boxSeries2);
     this.tChart1.Series.Add(this.boxSeries3);
     this.tChart1.Size = new System.Drawing.Size(466, 189);
     this.tChart1.Tools.Add(this.gridBand1);
     this.tChart1.Click += new System.EventHandler(this.tChart1_Click);
     //
     // boxSeries1
     //
     this.boxSeries1.AdjacentPoint1 = 1;
     this.boxSeries1.AdjacentPoint3 = 12;
     //
     // boxSeries1.ExtrOut
     //
     //
     // boxSeries1.ExtrOut.Brush
     //
     this.boxSeries1.ExtrOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries1.ExtrOut.Style       = Steema.TeeChart.Styles.PointerStyles.Star;
     this.boxSeries1.ExtrOut.Visible     = false;
     this.boxSeries1.InnerFence1         = -7.5;
     this.boxSeries1.InnerFence3         = 20.5;
     //
     // boxSeries1.LinePen
     //
     this.boxSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(124)), ((System.Byte)(21)), ((System.Byte)(10)));
     //
     // boxSeries1.Marks
     //
     //
     // boxSeries1.Marks.Symbol
     //
     //
     // boxSeries1.Marks.Symbol.Shadow
     //
     this.boxSeries1.Marks.Symbol.Shadow.Height  = 1;
     this.boxSeries1.Marks.Symbol.Shadow.Visible = true;
     this.boxSeries1.Marks.Symbol.Shadow.Width   = 1;
     this.boxSeries1.Median = 6.5;
     //
     // boxSeries1.MedianPen
     //
     this.boxSeries1.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     // boxSeries1.MildOut
     //
     //
     // boxSeries1.MildOut.Brush
     //
     this.boxSeries1.MildOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries1.MildOut.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.boxSeries1.MildOut.Visible     = false;
     this.boxSeries1.OuterFence1         = -18;
     this.boxSeries1.OuterFence3         = 31;
     //
     // boxSeries1.Pointer
     //
     //
     // boxSeries1.Pointer.Brush
     //
     this.boxSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(207)), ((System.Byte)(35)), ((System.Byte)(16)));
     this.boxSeries1.Pointer.Draw3D      = false;
     this.boxSeries1.Pointer.HorizSize   = 15;
     //
     // boxSeries1.Pointer.Pen
     //
     this.boxSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(124)), ((System.Byte)(21)), ((System.Byte)(10)));
     this.boxSeries1.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.boxSeries1.Pointer.VertSize  = 15;
     this.boxSeries1.Quartile1         = 3;
     this.boxSeries1.Quartile3         = 10;
     this.boxSeries1.Title             = "Dataset 1";
     //
     // boxSeries1.XValues
     //
     this.boxSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // boxSeries2
     //
     this.boxSeries2.AdjacentPoint1 = 1;
     this.boxSeries2.AdjacentPoint3 = 19;
     //
     // boxSeries2.ExtrOut
     //
     //
     // boxSeries2.ExtrOut.Brush
     //
     this.boxSeries2.ExtrOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries2.ExtrOut.Style       = Steema.TeeChart.Styles.PointerStyles.Star;
     this.boxSeries2.ExtrOut.Visible     = false;
     this.boxSeries2.InnerFence1         = -10;
     this.boxSeries2.InnerFence3         = 30;
     //
     // boxSeries2.LinePen
     //
     this.boxSeries2.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(67)), ((System.Byte)(0)));
     //
     // boxSeries2.Marks
     //
     //
     // boxSeries2.Marks.Symbol
     //
     //
     // boxSeries2.Marks.Symbol.Shadow
     //
     this.boxSeries2.Marks.Symbol.Shadow.Height  = 1;
     this.boxSeries2.Marks.Symbol.Shadow.Visible = true;
     this.boxSeries2.Marks.Symbol.Shadow.Width   = 1;
     this.boxSeries2.Median = 10;
     //
     // boxSeries2.MedianPen
     //
     this.boxSeries2.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     // boxSeries2.MildOut
     //
     //
     // boxSeries2.MildOut.Brush
     //
     this.boxSeries2.MildOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries2.MildOut.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.boxSeries2.MildOut.Visible     = false;
     this.boxSeries2.OuterFence1         = -25;
     this.boxSeries2.OuterFence3         = 45;
     //
     // boxSeries2.Pointer
     //
     //
     // boxSeries2.Pointer.Brush
     //
     this.boxSeries2.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(111)), ((System.Byte)(0)));
     this.boxSeries2.Pointer.Draw3D      = false;
     this.boxSeries2.Pointer.HorizSize   = 15;
     //
     // boxSeries2.Pointer.Pen
     //
     this.boxSeries2.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(67)), ((System.Byte)(0)));
     this.boxSeries2.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.boxSeries2.Pointer.VertSize  = 15;
     this.boxSeries2.Position          = 1;
     this.boxSeries2.Quartile1         = 5;
     this.boxSeries2.Quartile3         = 15;
     this.boxSeries2.Title             = "Dataset 2";
     //
     // boxSeries2.XValues
     //
     this.boxSeries2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // boxSeries3
     //
     this.boxSeries3.AdjacentPoint1 = 2;
     this.boxSeries3.AdjacentPoint3 = 25;
     //
     // boxSeries3.ExtrOut
     //
     //
     // boxSeries3.ExtrOut.Brush
     //
     this.boxSeries3.ExtrOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries3.ExtrOut.Style       = Steema.TeeChart.Styles.PointerStyles.Star;
     this.boxSeries3.ExtrOut.Visible     = false;
     this.boxSeries3.InnerFence1         = -14.5;
     this.boxSeries3.InnerFence3         = 41.5;
     //
     // boxSeries3.LinePen
     //
     this.boxSeries3.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(134)), ((System.Byte)(134)), ((System.Byte)(0)));
     //
     // boxSeries3.Marks
     //
     //
     // boxSeries3.Marks.Symbol
     //
     //
     // boxSeries3.Marks.Symbol.Shadow
     //
     this.boxSeries3.Marks.Symbol.Shadow.Height  = 1;
     this.boxSeries3.Marks.Symbol.Shadow.Visible = true;
     this.boxSeries3.Marks.Symbol.Shadow.Width   = 1;
     this.boxSeries3.Median = 13.5;
     //
     // boxSeries3.MedianPen
     //
     this.boxSeries3.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     // boxSeries3.MildOut
     //
     //
     // boxSeries3.MildOut.Brush
     //
     this.boxSeries3.MildOut.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.boxSeries3.MildOut.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.boxSeries3.MildOut.Visible     = false;
     this.boxSeries3.OuterFence1         = -35.5;
     this.boxSeries3.OuterFence3         = 62.5;
     //
     // boxSeries3.Pointer
     //
     //
     // boxSeries3.Pointer.Brush
     //
     this.boxSeries3.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(223)), ((System.Byte)(223)), ((System.Byte)(0)));
     this.boxSeries3.Pointer.Draw3D      = false;
     this.boxSeries3.Pointer.HorizSize   = 15;
     //
     // boxSeries3.Pointer.Pen
     //
     this.boxSeries3.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(134)), ((System.Byte)(134)), ((System.Byte)(0)));
     this.boxSeries3.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.boxSeries3.Pointer.VertSize  = 15;
     this.boxSeries3.Position          = 2;
     this.boxSeries3.Quartile1         = 6.5;
     this.boxSeries3.Quartile3         = 20.5;
     this.boxSeries3.Title             = "Dataset 3";
     //
     // boxSeries3.XValues
     //
     this.boxSeries3.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(16, 7);
     this.button1.Name      = "button1";
     this.button1.TabIndex  = 1;
     this.button1.Text      = "&Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // gridBand1
     //
     this.gridBand1.Axis = this.tChart1.Axes.Left;
     //
     // gridBand1.Band1
     //
     this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128)));
     //
     // gridBand1.Band2
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // SeriesType_BoxPlot
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 286);
     this.Name = "SeriesType_BoxPlot";
     this.panel1.ResumeLayout(false);
     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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Box_CustomValues));
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.label3    = new System.Windows.Forms.Label();
     this.label4    = new System.Windows.Forms.Label();
     this.box1      = new Steema.TeeChart.Styles.Box();
     this.gridBand1 = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(466, 48);
     this.textBox1.Text = "Now you can fully customize all TBoxPlotSeries parameters. All you must do is set" +
                          " UseCustomValues property to True and then pass your values to Quartile, InnerFe" +
                          "nce and OuterFence properties.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 48);
     this.panel1.Size     = new System.Drawing.Size(466, 81);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MaximumOffset = 16;
     this.tChart1.Axes.Bottom.MinimumOffset = 16;
     //
     //
     //
     this.tChart1.Axes.Left.MaximumOffset = 16;
     this.tChart1.Axes.Left.MinimumOffset = 16;
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Bold      = true;
     this.tChart1.Header.Font.Size      = 7;
     this.tChart1.Header.Font.SizeFloat = 7F;
     this.tChart1.Header.Lines          = new string[] {
         "BoxPlot series example"
     };
     //
     //
     //
     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.box1);
     this.tChart1.Size = new System.Drawing.Size(466, 157);
     this.tChart1.Tools.Add(this.gridBand1);
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 129);
     this.chartContainer.Size     = new System.Drawing.Size(466, 157);
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(24, 8);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(120, 16);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Custom values";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(184, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(45, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Median:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(184, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(87, 13);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Inner Fences = []";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(184, 40);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(89, 13);
     this.label3.TabIndex = 3;
     this.label3.Text     = "Outer Fences = []";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(184, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(98, 13);
     this.label4.TabIndex = 4;
     this.label4.Text     = "Adjacent points = []";
     //
     // box1
     //
     this.box1.AdjacentPoint3 = 5;
     this.box1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.box1.ColorEach      = false;
     //
     //
     //
     //
     //
     //
     this.box1.ExtrOut.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.box1.ExtrOut.Style       = Steema.TeeChart.Styles.PointerStyles.Star;
     this.box1.InnerFence1         = -3.5;
     this.box1.InnerFence3         = 8.5;
     //
     //
     //
     this.box1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     //
     //
     //
     //
     //
     //
     this.box1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.box1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.box1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.box1.Marks.Callout.Distance    = 0;
     this.box1.Marks.Callout.Draw3D      = false;
     this.box1.Marks.Callout.Length      = 0;
     this.box1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.box1.Marks.Callout.Visible     = false;
     this.box1.Median = 2.5;
     //
     //
     //
     this.box1.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     //
     //
     //
     //
     //
     this.box1.MildOut.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.box1.MildOut.Style       = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.box1.OuterFence1         = -8;
     this.box1.OuterFence3         = 13;
     //
     //
     //
     //
     //
     //
     this.box1.Pointer.Brush.Color           = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.box1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty;
     //
     //
     //
     this.box1.Pointer.Brush.Gradient.StartColor   = System.Drawing.Color.White;
     this.box1.Pointer.Brush.Gradient.Transparency = 30;
     this.box1.Pointer.Draw3D    = false;
     this.box1.Pointer.HorizSize = 15;
     //
     //
     //
     this.box1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.box1.Pointer.Style     = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.box1.Pointer.VertSize  = 15;
     this.box1.Quartile1         = 1;
     this.box1.Quartile3         = 4;
     this.box1.Title             = "box1";
     //
     //
     //
     this.box1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // gridBand1
     //
     this.gridBand1.Axis = this.tChart1.Axes.Left;
     //
     //
     //
     this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     //
     //
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     // Box_CustomValues
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 286);
     this.Name  = "Box_CustomValues";
     this.Load += new System.EventHandler(this.Box_CustomValues_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #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.box1      = new Steema.TeeChart.Styles.Box();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.label1    = new System.Windows.Forms.Label();
     this.label2    = new System.Windows.Forms.Label();
     this.label3    = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Text = "Now you can fully customize all Boxplot series parameters. All you must do \r\nis s" +
                          "et UseCustomValues property to true and then pass your values to \r\nQuartile, Inn" +
                          "erFence and OuterFence properties.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(440, 79);
     //
     // tChart1
     //
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     this.tChart1.Header.Font.Bold = true;
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.White;
     this.tChart1.Header.Lines            = new string[] {
         "Boxplot series custom values"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 152);
     this.tChart1.Name           = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255)));
     //
     // tChart1.Panel.Brush.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.Direction  = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.EndColor   = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.Gradient.Visible    = true;
     this.tChart1.Series.Add(this.box1);
     this.tChart1.Size       = new System.Drawing.Size(440, 165);
     this.tChart1.AfterDraw += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_AfterDraw);
     //
     // box1
     //
     this.box1.AdjacentPoint1 = 1;
     this.box1.AdjacentPoint3 = 22;
     //
     // box1.ExtrOut
     //
     this.box1.ExtrOut.Style = Steema.TeeChart.Styles.PointerStyles.Star;
     this.box1.InnerFence1   = -12.5;
     this.box1.InnerFence3   = 35.5;
     this.box1.Median        = 12;
     //
     // box1.MedianPen
     //
     this.box1.MedianPen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     //
     // box1.MildOut
     //
     this.box1.MildOut.Style = Steema.TeeChart.Styles.PointerStyles.Circle;
     this.box1.OuterFence1   = -30.5;
     this.box1.OuterFence3   = 53.5;
     //
     // box1.Pointer
     //
     //
     // box1.Pointer.Brush
     //
     this.box1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.box1.Pointer.Draw3D      = false;
     this.box1.Pointer.HorizSize   = 15;
     this.box1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.box1.Pointer.VertSize    = 15;
     this.box1.Quartile1           = 5.5;
     this.box1.Quartile3           = 17.5;
     this.box1.Title = "box1";
     //
     // box1.XValues
     //
     this.box1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(16, 16);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(136, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Use custom values";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(176, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(184, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "label1";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(176, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(184, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "label2";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(176, 56);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(176, 16);
     this.label3.TabIndex = 3;
     this.label3.Text     = "label3";
     //
     // Boxplot_custom
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Boxplot_custom";
     this.panel1.ResumeLayout(false);
 }