private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;

            double?[] XValues = new double?[200];
            double?[] YValues = new double?[200];

            Random rnd = new Random();

            for (int i = 0; i < 200; i++)
            {
                XValues[i] = i;
                if (i % 4 == 0)
                {
                    YValues[i] = (double?)null;
                }
                else
                {
                    YValues[i] = rnd.NextDouble();
                }
            }
            Steema.TeeChart.Styles.FastLine fastLine;
            tChart1.Series.Add(fastLine = new Steema.TeeChart.Styles.FastLine());
            fastLine.TreatNulls         = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;
            tChart1.Series[0].Add(XValues, YValues);
        }
Exemplo n.º 2
0
        /**Initial all the series.*/
        public override void initSeries()
        {
            base.initSeries();

            ft = new TChartFastLine();
            //ft.LinePen.Style = DashStyle.Solid;
            //ft.Title = String.Concat("[" + index + ",Ft]");
            ft.Visible      = true;
            ft.ShowInLegend = false;
            ft.Color        = Color.Black;
            tchart.Series.Add(ft);

            goodPoints = new TChartPoints();
            goodPoints.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            goodPoints.Color         = Color.Green;
            goodPoints.Title         = String.Concat("Good Points");
            goodPoints.Visible       = false;
            goodPoints.ShowInLegend  = true;
            tchart.Series.Add(goodPoints);

            badPoints = new TChartPoints();
            badPoints.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            badPoints.Color         = Color.Red;
            badPoints.Title         = String.Concat("Bad Points");
            badPoints.Visible       = true;
            badPoints.ShowInLegend  = true;
            tchart.Series.Add(badPoints);

            updataCountShow();
            tchart.Axes.Left.SetMinMax(AscanMeasureMap.MinSingleGateValue * 1.5, AscanMeasureMap.MaxSingleGateValue * 1.5);
            maxAllowFt.Add(0, AscanMeasureMap.MaxSingleGateValue);
            minAllowFt.Add(0, AscanMeasureMap.MinSingleGateValue);
        }
        private void RealTimeAdd(Steema.TeeChart.Styles.FastLine series)
        {
            Random rnd = new Random();

            // Next random point
            series.Add(series.XValues.Last + 1, series.YValues.Last + rnd.Next(10) - 4.5);
        }
Exemplo n.º 4
0
        /**Initial all the series.*/
        public virtual void initSeries()
        {
            maxAllowFt = new TChartFastLine();
            //ft.LinePen.Style = DashStyle.Solid;
            //ft.Title = String.Concat("[" + index + ",Ft]");
            maxAllowFt.Visible      = true;
            maxAllowFt.ShowInLegend = false;
            maxAllowFt.Color        = Color.Red;
            //maxAllowFt.Add(0, ConstParameter.MaxAllowedMeasureValue);
            tchart.Series.Add(maxAllowFt);

            minAllowFt = new TChartFastLine();
            //ft.LinePen.Style = DashStyle.Solid;
            //ft.Title = String.Concat("[" + index + ",Ft]");
            minAllowFt.Visible      = true;
            minAllowFt.ShowInLegend = false;
            minAllowFt.Color        = Color.Red;
            //minAllowFt.Add(0, ConstParameter.MinAllowedMeasureValue);
            tchart.Series.Add(minAllowFt);

            countShow                   = new Steema.TeeChart.Tools.PageNumber();
            countShow.Position          = Steema.TeeChart.Tools.AnnotationPositions.LeftTop;
            countShow.Shape.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
            tchart.Tools.Add(countShow);
        }
        private void AddDataTable()
        {
            Steema.TeeChart.Tools.DataTableTool dataTable = new Steema.TeeChart.Tools.DataTableTool(tChart1.Chart);

            dataTable.RowPen.Visible             = false;
            dataTable.ColumnPen.Visible          = false;
            dataTable.TableLegend.Symbol.Visible = false;
            dataTable.TableLegend.Font.Bold      = true;

            dataTable.FilterSeries += new Steema.TeeChart.Tools.DataTableFilterSeriesEventHandler(dataTable_FilterSeries);

            //Add series to display customized data in the DataTable tool
            //They are not visible because they are out of the range of the left axis
            Steema.TeeChart.Styles.FastLine salesSeries = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
            salesSeries.Title = "Sales (in €)";

            Steema.TeeChart.Styles.FastLine unitsSeries = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
            unitsSeries.Title = "Units sold";

            for (int i = 1; i < area1.Count; i++)
            {
                double tmp = area1.XValues[i] - area1.XValues[i - 1];
                salesSeries.Add(area1.XValues[i], tmp * price[i - 1]);
                unitsSeries.Add(area1.XValues[i], tmp);
            }

            area1.Title   = "";
            average.Title = "";
        }
Exemplo n.º 6
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);

            // Get our button from the layout resource,
            // and attach an event to it
            Button button = FindViewById <Button>(Resource.Id.MyButton);

            button.Click += delegate
            {
                timer1.Enabled = !timer1.Enabled;
                button.Text    = (timer1.Enabled) ? Resources.GetString(Resource.String.Stop) : Resources.GetString(Resource.String.Start);
            };

            //Add the chart
            tChart1 = new Steema.TeeChart.TChart(this);
            tChart1.Aspect.View3D               = false;
            tChart1.Zoom.Style                  = Steema.TeeChart.ZoomStyles.None;
            tChart1.Legend.Visible              = false;
            tChart1.Panel.Gradient.Visible      = false;
            tChart1.Walls.Back.Gradient.Visible = false;
            tChart1.Walls.Back.Visible          = false;
            tChart1.Axes.Left.Grid.Visible      = false;
            tChart1.Axes.Bottom.Grid.Visible    = false;
            tChart1.Axes.Left.Automatic         = false;
            tChart1.Axes.Bottom.Automatic       = false;
            tChart1.Axes.Left.SetMinMax(MinValue, MaxValue);
            tChart1.Axes.Bottom.SetMinMax(0, NumPoints);
            tChart1.ClickSeries += tChart1_ClickSeries;

            //Left axis disabled for performance purposes.
            tChart1.Axes.Left.Visible = false;

            var fastLine1 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);

            fastLine1.FillSampleValues(NumPoints);
            fastLine1.DrawAllPoints = false;

            LinearLayout layout = FindViewById <LinearLayout>(Resource.Id.linearLayout1);

            layout.AddView(tChart1, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FillParent, 400));

            timer1          = new System.Timers.Timer();
            timer1.Elapsed += new System.Timers.ElapsedEventHandler(timer1_Elapsed);
            timer1.Interval = 100;
            timer1.Start();
        }
        private void InitializeChart()
        {
            tChart1.Aspect.View3D                     = false;
            tChart1.Legend.Visible                    = false;
            tChart1.Panel.Color                       = Color.Black;
            tChart1.Panel.Gradient.Visible            = false;
            tChart1.Axes.Bottom.Labels.Font.Color     = Color.White;
            tChart1.Axes.Left.Labels.Font.Color       = Color.White;
            tChart1.Walls.Back.Brush.Gradient.Visible = false;
            tChart1.Walls.Back.Color                  = Color.Black;

            tChart1.Series.Add(fastLine = new Steema.TeeChart.Styles.FastLine());
            fastLine.FillSampleValues(200);

            tChart1.Axes.Left.MaximumRound = true;
            tChart1.Axes.Left.MinimumRound = true;
        }
Exemplo n.º 8
0
        private void InitializeChart()
        {
            CreateArrays();
            tChart1.Aspect.View3D       = false;
            tChart1.Zoom.Direction      = ZoomDirections.Horizontal;
            tChart1.Series.Add(points   = new Steema.TeeChart.Styles.Points());
            tChart1.Series.Add(fastLine = new Steema.TeeChart.Styles.FastLine());

            downSampling = new Steema.TeeChart.Functions.DownSampling(tChart1.Chart);
            points.Add(xValues, yValues);
            points.Active = false;

            downSampling.DisplayedPointCount = 1000;
            downSampling.Method = Steema.TeeChart.Functions.DownSamplingMethod.MinMaxFirstLastNull;
            fastLine.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;
            fastLine.DataSource = points;
            fastLine.Function   = downSampling;
        }
Exemplo n.º 9
0
        /**Add the points to the TChartLine and TChartpoints.
         * We use this function when we get the points from file.
         */
        public void addPointsToLine(TChartFastLine ft, TChartPoints goodPoints, TChartPoints badPoints)
        {
            for (int i = 0; i < resultPoints.Count; i++)
            {
                if (resultPoints[i].IsUsed)
                {
                    ft.Add(i, resultPoints[i].YValue);

                    if (resultPoints[i].IsGood)
                    {
                        goodPoints.Add(i, resultPoints[i].YValue);
                    }
                    else
                    {
                        badPoints.Add(i, resultPoints[i].YValue);
                    }
                }
            }
        }
Exemplo n.º 10
0
        private void D1_Load(object sender, EventArgs e)
        {
            this.tChart1.Series.Clear();
            this.tChart1.Header.Text            = "霸道测试";
            this.tChart1.Axes.Bottom.Title.Text = "测试X"; //设置X轴标题
            this.tChart1.Axes.Left.Title.Text   = "测试Y"; //设置Y轴标题
            this.tChart1.AutoRepaint            = true;
            this.tChart1.Aspect.View3D          = true;  //是否立体显示
            fastLine1 = new Steema.TeeChart.Styles.FastLine();
            this.tChart1.Series.Add(fastLine1);
            double[] yValues = { 10, 15, 20, 2, 23, 63, 33, 1, 33, 77, 94, 65, 45, 23, 32, 4, 54, 2, 18, 21, 80, 67, 45, 32, 3, 10, 56, 13, 52, 23, 72, 66, 32, 54, 74, 21, 86, 15 };
            fastLine1.Add(yValues);

            // Set some nulls - optional demo
            //      fastLine1.SetNull( 13 );
            //      fastLine1.SetNull( 25 );
            //      fastLine1.SetNull( 40 );

            //      fastLine1.IgnoreNulls = true;
            fastLine1.Stairs = true;
        }
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(Tools_DrawLineEscape));
            this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
            this.drawLine1       = new Steema.TeeChart.Tools.DrawLine();
            this.checkBox1       = new System.Windows.Forms.CheckBox();
            this.checkBox2       = new System.Windows.Forms.CheckBox();
            this.checkBox3       = new System.Windows.Forms.CheckBox();
            this.label1          = new System.Windows.Forms.Label();
            this.NumLines        = new System.Windows.Forms.Label();
            this.gridBand1       = new Steema.TeeChart.Tools.GridBand();
            this.label2          = new System.Windows.Forms.Label();
            this.cbKeys          = new System.Windows.Forms.ComboBox();
            this.panel1.SuspendLayout();
            this.chartContainer.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Size = new System.Drawing.Size(425, 59);
            this.textBox1.Text = "Use the new EscapeKey property to select a key you can use to delete a line\r\nwhil" +
                                 "e it is being drawn.";
            //
            // panel1
            //
            this.panel1.Controls.Add(this.cbKeys);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.NumLines);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.checkBox3);
            this.panel1.Controls.Add(this.checkBox2);
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Location = new System.Drawing.Point(0, 59);
            this.panel1.Size     = new System.Drawing.Size(425, 65);
            //
            // tChart1
            //
            //
            //
            //
            this.tChart1.Aspect.View3D = false;
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Bottom.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Bottom.Labels.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Bottom.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Bottom.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Depth.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Depth.Labels.Bevel.StringColorTwo = "FF808080";
            this.tChart1.Axes.Depth.LabelsAsSeriesTitles        = true;
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Depth.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Depth.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.DepthTop.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.DepthTop.Labels.Bevel.StringColorTwo = "FF808080";
            this.tChart1.Axes.DepthTop.LabelsAsSeriesTitles        = true;
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.DepthTop.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.DepthTop.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Left.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Left.Labels.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Left.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Left.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Right.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Right.Labels.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Right.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Right.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Top.Labels.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Top.Labels.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Axes.Top.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Axes.Top.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Footer.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Footer.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Header.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Header.Bevel.StringColorTwo = "FF808080";
            this.tChart1.Header.Lines = new string[] {
                "tChart1"
            };
            this.tChart1.Header.Visible = false;
            //
            //
            //
            //
            //
            //
            this.tChart1.Legend.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Legend.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Legend.Title.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Legend.Title.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Panel.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Panel.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            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.fastLineSeries1);
            this.tChart1.Size = new System.Drawing.Size(425, 146);
            //
            //
            //
            //
            //
            //
            this.tChart1.SubFooter.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.SubFooter.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.SubHeader.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.SubHeader.Bevel.StringColorTwo = "FF808080";
            this.tChart1.Tools.Add(this.drawLine1);
            this.tChart1.Tools.Add(this.gridBand1);
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Back.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Walls.Back.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Bottom.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Walls.Bottom.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Left.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Walls.Left.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Right.Bevel.StringColorOne = "FFFFFFFF";
            this.tChart1.Walls.Right.Bevel.StringColorTwo = "FF808080";
            //
            // chartContainer
            //
            this.chartContainer.Location = new System.Drawing.Point(0, 124);
            this.chartContainer.Size     = new System.Drawing.Size(425, 146);
            //
            // fastLineSeries1
            //
            this.fastLineSeries1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.fastLineSeries1.ColorEach = false;
            //
            //
            //
            this.fastLineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            //
            //
            //
            //
            //
            //
            this.fastLineSeries1.Marks.Bevel.StringColorOne = "FFFFFFFF";
            this.fastLineSeries1.Marks.Bevel.StringColorTwo = "FF808080";
            //
            //
            //
            //
            //
            //
            this.fastLineSeries1.Marks.Symbol.Bevel.StringColorOne = "FFFFFFFF";
            this.fastLineSeries1.Marks.Symbol.Bevel.StringColorTwo = "FF808080";
            this.fastLineSeries1.Title      = "fastLineSeries1";
            this.fastLineSeries1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
            //
            //
            //
            this.fastLineSeries1.XValues.DataMember = "X";
            this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            //
            //
            this.fastLineSeries1.YValues.DataMember = "Y";
            //
            // drawLine1
            //
            this.drawLine1.Style    = Steema.TeeChart.Tools.DrawLineStyle.Line;
            this.drawLine1.NewLine += new Steema.TeeChart.Tools.DrawLineEventHandler(this.drawLine1_NewLine);
            //
            // 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(12, 9);
            this.checkBox1.Name            = "checkBox1";
            this.checkBox1.Size            = new System.Drawing.Size(116, 20);
            this.checkBox1.TabIndex        = 0;
            this.checkBox1.Text            = "&Active";
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // checkBox2
            //
            this.checkBox2.Checked         = true;
            this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox2.Location        = new System.Drawing.Point(81, 9);
            this.checkBox2.Name            = "checkBox2";
            this.checkBox2.Size            = new System.Drawing.Size(116, 20);
            this.checkBox2.TabIndex        = 1;
            this.checkBox2.Text            = "&Enable Draw";
            this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
            //
            // checkBox3
            //
            this.checkBox3.Checked         = true;
            this.checkBox3.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox3.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox3.Location        = new System.Drawing.Point(179, 10);
            this.checkBox3.Name            = "checkBox3";
            this.checkBox3.Size            = new System.Drawing.Size(116, 19);
            this.checkBox3.TabIndex        = 2;
            this.checkBox3.Text            = "Enable &Selection";
            this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
            //
            // label1
            //
            this.label1.AutoSize    = true;
            this.label1.Location    = new System.Drawing.Point(301, 13);
            this.label1.Name        = "label1";
            this.label1.Size        = new System.Drawing.Size(38, 13);
            this.label1.TabIndex    = 3;
            this.label1.Text        = "Lines :";
            this.label1.UseMnemonic = false;
            //
            // NumLines
            //
            this.NumLines.AutoSize    = true;
            this.NumLines.Location    = new System.Drawing.Point(343, 13);
            this.NumLines.Name        = "NumLines";
            this.NumLines.Size        = new System.Drawing.Size(13, 13);
            this.NumLines.TabIndex    = 4;
            this.NumLines.Text        = "0";
            this.NumLines.UseMnemonic = false;
            //
            // gridBand1
            //
            this.gridBand1.Axis = this.tChart1.Axes.Left;
            //
            //
            //
            this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            //
            //
            //
            this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(12, 38);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(28, 13);
            this.label2.TabIndex = 5;
            this.label2.Text     = "Key:";
            //
            // cbKeys
            //
#if VS2005
            this.cbKeys.FormattingEnabled = true;
#endif
            this.cbKeys.Location              = new System.Drawing.Point(46, 35);
            this.cbKeys.Name                  = "cbKeys";
            this.cbKeys.Size                  = new System.Drawing.Size(121, 21);
            this.cbKeys.TabIndex              = 6;
            this.cbKeys.SelectedIndexChanged += new System.EventHandler(this.cbKeys_SelectedIndexChanged);
            //
            // Tools_DrawLineEscape
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(425, 270);
            this.Name = "Tools_DrawLineEscape";
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.chartContainer.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor = System.Drawing.Color.AliceBlue;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(388, 63);
     this.textBox1.Text      = "Customizing axis labels format (font color, etc) can be done also \r\nusing the Get" +
                               "AxisLabel event.\r\n\r\nThe left axis shows labels in different colors.";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Location  = new System.Drawing.Point(0, 63);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(388, 27);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.View3D = false;
     //
     // tChart1.Axes
     //
     //
     // tChart1.Axes.Bottom
     //
     //
     // tChart1.Axes.Bottom.AxisPen
     //
     this.tChart1.Axes.Bottom.AxisPen.Width = 1;
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.AxisPen
     //
     this.tChart1.Axes.Left.AxisPen.Width = 1;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(128)));
     this.tChart1.Header.Font.Name        = "Verdana";
     //
     // tChart1.Header.Font.Shadow
     //
     //
     // tChart1.Header.Font.Shadow.Brush
     //
     this.tChart1.Header.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     this.tChart1.Header.Font.Shadow.Visible     = true;
     this.tChart1.Header.Lines = new string[] {
         "Axis LAbels Format"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.LegendStyle = Steema.TeeChart.LegendStyles.Series;
     //
     // tChart1.Legend.Shadow
     //
     this.tChart1.Legend.Shadow.Visible = false;
     this.tChart1.Location = new System.Drawing.Point(0, 90);
     this.tChart1.Name     = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Brush.Gradient.Visible     = true;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Gradient.Visible     = true;
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Size = new System.Drawing.Size(388, 157);
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     this.tChart1.Walls.Back.Visible = false;
     this.tChart1.GetAxisLabel      += new Steema.TeeChart.GetAxisLabelEventHandler(this.tChart1_GetAxisLabel);
     //
     // fastLine1
     //
     //
     // fastLine1.LinePen
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(102)), ((System.Byte)(153)), ((System.Byte)(255)));
     this.fastLine1.Title         = "fastLine1";
     //
     // fastLine1.XValues
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // fastLine1.YValues
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // Axis_GetAxisLabel
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(388, 247);
     this.Name = "Axis_GetAxisLabel";
     this.ResumeLayout(false);
 }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            // Creating the Chart component
            Chart = new TChart();
            // Setting the Chart bounds
            Chart.Frame = View.Frame;

            // 2D Chart
            Chart.Aspect.View3D = false;

            // Customizing the Axes grid appearance
            Chart.Axes.Bottom.Grid.Visible       = false;
            Chart.Axes.Bottom.MinorTicks.Visible = false;

            // Setting a custom left axis increment, and axis pen width, and other properties
            Chart.Axes.Left.Increment       = 12.5;
            Chart.Axes.Left.AxisPen.Width   = 1;
            Chart.Axes.Bottom.AxisPen.Width = 1;
            Chart.Axes.Left.MaximumOffset   = 12;
            Chart.Axes.Left.AxisPen.Visible = false;

            // Chaging the Legend, Panel and Walls appearance
            Chart.Legend.Transparent     = true;
            Chart.Legend.Alignment       = LegendAlignments.Bottom;
            Chart.Walls.Back.Visible     = false;
            Chart.Panel.Gradient.Visible = false;

            // Allow to Zoom and Pan over the Chart Series
            Chart.Panning.Active = true;
            Chart.Zoom.Active    = true;

            // Creating the Chart Series (FastLine series in that case)
            Steema.TeeChart.Styles.FastLine fline1 = new Steema.TeeChart.Styles.FastLine(Chart.Chart);
            Steema.TeeChart.Styles.FastLine fline2 = new Steema.TeeChart.Styles.FastLine(Chart.Chart);

            // Customizing the Series
            fline1.Color = Color.FromArgb(255, 156, 73, 181);
            fline1.Color = Color.FromArgb(255, 107, 38, 131);

            // Adding data to the Series
            fline1.FillSampleValues(100);
            fline2.FillSampleValues(100);

            // Hiding Series Marks
            fline1.Marks.Visible = false;
            fline2.Marks.Visible = false;
            fline1.LinePen.Width = 2;
            fline2.LinePen.Width = 2;

            // Left axis title mods
            Chart.Axes.Left.Title.Text    = "This is a title";
            Chart.Axes.Left.Title.Angle   = 90;
            Chart.Axes.Left.Title.Visible = true;

            // Setting custom size for left axis labels
            Chart.Axes.Left.Labels.AutoSize   = false;
            Chart.Axes.Left.Labels.CustomSize = 50;

            // Setting custom left axis increment
            Chart.Axes.Left.Increment = fline1.YValues.Maximum / 5;

            Chart.Panning.Allow = ScrollModes.Horizontal;

            // Scroll by points per page....
            // Chart.Page.MaxPointsPerPage = 10;

            // Scroll by using UISlider and SetMinMax
            Chart.Panel.MarginBottom += 10;
            Chart.Axes.Bottom.SetMinMax(0, 10);
            UISlider slider1 = new UISlider(new CoreGraphics.CGRect(0, this.View.Frame.Height - 25, this.View.Frame.Width, 20));

            slider1.MinValue      = 5;
            slider1.MaxValue      = 95;
            slider1.Value         = 5.0f; // the current value
            slider1.ValueChanged += (sender, e) => Chart.Axes.Bottom.SetMinMax(((UISlider)sender).Value - 5, ((UISlider)sender).Value + 5);

            // Finally adding the Chart View as SubView to the parent View
            View.AddSubview(Chart);
            View.AddSubview(slider1);
        }
        /// <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(Zoom_Pen));
            this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
            this.button1         = new System.Windows.Forms.Button();
            this.label1          = new System.Windows.Forms.Label();
            this.buttonPen1      = new Steema.TeeChart.ButtonPen();
            this.gridBand1       = new Steema.TeeChart.Tools.GridBand();
            this.CBHistory       = new System.Windows.Forms.CheckBox();
            this.panel1.SuspendLayout();
            this.chartContainer.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Size = new System.Drawing.Size(544, 68);
            this.textBox1.Text = resources.GetString("textBox1.Text");
            //
            // panel1
            //
            this.panel1.Controls.Add(this.CBHistory);
            this.panel1.Controls.Add(this.buttonPen1);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Location = new System.Drawing.Point(0, 68);
            this.panel1.Size     = new System.Drawing.Size(544, 36);
            //
            // tChart1
            //
            //
            //
            //
            this.tChart1.Aspect.View3D  = false;
            this.tChart1.Aspect.ZOffset = 0;
            this.tChart1.Cursor         = System.Windows.Forms.Cursors.Default;
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.tChart1.Header.Font.Size        = 11;
            this.tChart1.Header.Font.SizeFloat   = 11F;
            this.tChart1.Header.Lines            = new string[] {
                "Zoom history, brush & pen"
            };
            //
            //
            //
            this.tChart1.Legend.TextSymbolGap = 0;
            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.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.tChart1.Series.Add(this.fastLineSeries1);
            this.tChart1.Size = new System.Drawing.Size(544, 228);
            this.tChart1.Tools.Add(this.gridBand1);
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Back.Pen.Visible = false;
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Bottom.Pen.Visible = false;
            this.tChart1.Walls.Bottom.Size        = 5;
            //
            //
            //
            //
            //
            //
            this.tChart1.Walls.Left.Pen.Visible = false;
            this.tChart1.Walls.Left.Size        = 5;
            //
            //
            //
            //
            //
            //
            this.tChart1.Zoom.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            //
            // chartContainer
            //
            this.chartContainer.Location = new System.Drawing.Point(0, 104);
            this.chartContainer.Size     = new System.Drawing.Size(544, 228);
            //
            // fastLineSeries1
            //
            this.fastLineSeries1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.fastLineSeries1.ColorEach = false;
            //
            //
            //
            this.fastLineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
            this.fastLineSeries1.LinePen.Width = 2;
            //
            //
            //
            //
            //
            //
            this.fastLineSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.fastLineSeries1.Marks.Callout.ArrowHeadSize = 8;
            //
            //
            //
            this.fastLineSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
            this.fastLineSeries1.Marks.Callout.Distance    = 0;
            this.fastLineSeries1.Marks.Callout.Draw3D      = false;
            this.fastLineSeries1.Marks.Callout.Length      = 10;
            this.fastLineSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            this.fastLineSeries1.Marks.Callout.Visible     = false;
            this.fastLineSeries1.Title      = "fastLineSeries1";
            this.fastLineSeries1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
            //
            //
            //
            this.fastLineSeries1.XValues.DataMember = "X";
            this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            //
            //
            this.fastLineSeries1.YValues.DataMember = "Y";
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(233, 5);
            this.button1.Name      = "button1";
            this.button1.Size      = new System.Drawing.Size(87, 23);
            this.button1.TabIndex  = 0;
            this.button1.Text      = "Zoom &brush...";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // label1
            //
            this.label1.AutoSize    = true;
            this.label1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location    = new System.Drawing.Point(7, 9);
            this.label1.Name        = "label1";
            this.label1.Size        = new System.Drawing.Size(82, 13);
            this.label1.TabIndex    = 2;
            this.label1.Text        = "Drag to zoom";
            this.label1.UseMnemonic = false;
            //
            // buttonPen1
            //
            this.buttonPen1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.buttonPen1.Location  = new System.Drawing.Point(133, 5);
            this.buttonPen1.Name      = "buttonPen1";
            this.buttonPen1.Size      = new System.Drawing.Size(87, 23);
            this.buttonPen1.TabIndex  = 3;
            this.buttonPen1.Text      = "Zoom &pen...";
            //
            // gridBand1
            //
            this.gridBand1.Axis = this.tChart1.Axes.Left;
            //
            //
            //
            this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            //
            //
            //
            this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            //
            // CBHistory
            //
            this.CBHistory.Checked    = true;
            this.CBHistory.CheckState = System.Windows.Forms.CheckState.Checked;
            this.CBHistory.Location   = new System.Drawing.Point(361, 9);
            this.CBHistory.Name       = "CBHistory";
            this.CBHistory.Size       = new System.Drawing.Size(137, 17);
            this.CBHistory.TabIndex   = 5;
            this.CBHistory.Text       = "Historical unzoom steps";
            this.CBHistory.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
#if VS2005
            this.CBHistory.AutoSize = true;
            this.CBHistory.UseVisualStyleBackColor = true;
#endif
            this.CBHistory.CheckedChanged += new System.EventHandler(this.CBHistory_CheckedChanged);
            //
            // Zoom_Pen
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(544, 332);
            this.Name = "Zoom_Pen";
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.chartContainer.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
     this.drawLine1       = new Steema.TeeChart.Tools.DrawLine();
     this.checkBox1       = new System.Windows.Forms.CheckBox();
     this.checkBox2       = new System.Windows.Forms.CheckBox();
     this.checkBox3       = new System.Windows.Forms.CheckBox();
     this.label1          = new System.Windows.Forms.Label();
     this.NumLines        = new System.Windows.Forms.Label();
     this.button1         = new System.Windows.Forms.Button();
     this.label2          = new System.Windows.Forms.Label();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.gridBand1       = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(425, 59);
     this.textBox1.Text = "The Draw Line tool allows the user to draw lines at run-time using the mouse. Lin" +
                          "e pen is customizable. All drawn lines are stored in a Lines array property.\r\n\r\n" +
                          "Example: Draw a line dragging the mouse.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.NumLines);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 59);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(425, 79);
     //
     // 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"
     };
     this.tChart1.Header.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 138);
     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.fastLineSeries1);
     this.tChart1.Size = new System.Drawing.Size(425, 132);
     this.tChart1.Tools.Add(this.drawLine1);
     this.tChart1.Tools.Add(this.gridBand1);
     //
     // fastLineSeries1
     //
     //
     // fastLineSeries1.LinePen
     //
     this.fastLineSeries1.LinePen.Color = System.Drawing.Color.Red;
     //
     // fastLineSeries1.Marks
     //
     //
     // fastLineSeries1.Marks.Symbol
     //
     //
     // fastLineSeries1.Marks.Symbol.Shadow
     //
     this.fastLineSeries1.Marks.Symbol.Shadow.Height  = 1;
     this.fastLineSeries1.Marks.Symbol.Shadow.Visible = true;
     this.fastLineSeries1.Marks.Symbol.Shadow.Width   = 1;
     this.fastLineSeries1.Title = "fastLineSeries1";
     //
     // fastLineSeries1.XValues
     //
     this.fastLineSeries1.XValues.DataMember = "X";
     this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // fastLineSeries1.YValues
     //
     this.fastLineSeries1.YValues.DataMember = "Y";
     //
     // drawLine1
     //
     this.drawLine1.NewLine += new Steema.TeeChart.Tools.DrawLineEventHandler(this.drawLine1_NewLine);
     this.drawLine1.Select  += new Steema.TeeChart.Tools.DrawLineEventHandler(this.drawLine1_Select);
     //
     // 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(12, 9);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(116, 20);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Active";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.Checked         = true;
     this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Location        = new System.Drawing.Point(12, 29);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(116, 20);
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "&Enable Draw";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.Checked         = true;
     this.checkBox3.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox3.Location        = new System.Drawing.Point(12, 49);
     this.checkBox3.Name            = "checkBox3";
     this.checkBox3.Size            = new System.Drawing.Size(116, 19);
     this.checkBox3.TabIndex        = 2;
     this.checkBox3.Text            = "Enable &Selection";
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.Location    = new System.Drawing.Point(122, 7);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(37, 16);
     this.label1.TabIndex    = 3;
     this.label1.Text        = "Lines :";
     this.label1.UseMnemonic = false;
     //
     // NumLines
     //
     this.NumLines.AutoSize    = true;
     this.NumLines.Location    = new System.Drawing.Point(164, 7);
     this.NumLines.Name        = "NumLines";
     this.NumLines.Size        = new System.Drawing.Size(10, 16);
     this.NumLines.TabIndex    = 4;
     this.NumLines.Text        = "0";
     this.NumLines.UseMnemonic = false;
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(176, 48);
     this.button1.Name      = "button1";
     this.button1.TabIndex  = 5;
     this.button1.Text      = "&Delete";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(213, 18);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(76, 16);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "&Mouse button:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "Left",
         "Right",
         "Middle"
     });
     this.comboBox1.Location              = new System.Drawing.Point(296, 16);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(85, 21);
     this.comboBox1.TabIndex              = 7;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // gridBand1
     //
     this.gridBand1.Axis = this.tChart1.Axes.Left;
     //
     // gridBand1.Band1
     //
     this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     //
     // gridBand1.Band2
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // Tool_DrawLine
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(425, 270);
     this.Name  = "Tool_DrawLine";
     this.Load += new System.EventHandler(this.Tool_DrawLine_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 16
0
        private void SetProductDateLineChartValue(object[] FinishedProductDateLineDataSource, object[] SemimanuProductDateLineDataSource, bool isFristLoad)
        {
            #region 成品

            if (!isFristLoad)
            {
                for (int i = 0; i < 2; i++)
                {
                    this.tChartData.Series.RemoveAt(6);
                }
            }

            DataTable finishedProductDateLine_Table = new DataTable();

            finishedProductDateLine_Table.Columns.Add("TimePeriodCode", typeof(string));
            finishedProductDateLine_Table.Columns.Add("OutPutQty", typeof(int));
            finishedProductDateLine_Table.AcceptChanges();

            if (objectList.Count > 0)
            {
                NewReportDomainObject[] FinishedRateLineObject = new NewReportDomainObject[objectList.Count];

                for (int i = 0; i < objectList.Count; i++)
                {
                    bool isFind = false;
                    if (FinishedProductDateLineDataSource != null)
                    {
                        foreach (NewReportDomainObject obj in FinishedProductDateLineDataSource)
                        {
                            if (obj.PeriodCode.Trim().ToUpper() == objectList[i].ToString().Trim().ToUpper())
                            {
                                FinishedRateLineObject[i] = obj;
                                isFind = true;
                                break;
                            }
                        }
                    }

                    if (!isFind)
                    {
                        NewReportDomainObject NewReportDomainObject1 = new NewReportDomainObject();
                        NewReportDomainObject1.PeriodCode    = objectList[i].ToString();
                        NewReportDomainObject1.PassRcardRate = 0;
                        FinishedRateLineObject[i]            = NewReportDomainObject1;
                    }
                }

                if (FinishedRateLineObject != null)
                {
                    DataRow newRow;
                    foreach (NewReportDomainObject obj in FinishedRateLineObject)
                    {
                        newRow = finishedProductDateLine_Table.NewRow();
                        newRow["TimePeriodCode"] = obj.PeriodCode;
                        newRow["OutPutQty"]      = obj.Output;
                        finishedProductDateLine_Table.Rows.Add(newRow);
                    }

                    finishedProductDateLine_Table.AcceptChanges();
                }
            }
            Steema.TeeChart.Styles.FastLine FinishedProductDateLine1 = new Steema.TeeChart.Styles.FastLine();

            FinishedProductDateLine1.YValues.DataMember = finishedProductDateLine_Table.Columns["OutPutQty"].ToString();
            FinishedProductDateLine1.LabelMember        = finishedProductDateLine_Table.Columns["TimePeriodCode"].ToString();

            FinishedProductDateLine1.Color             = Color.LightCoral;
            FinishedProductDateLine1.LinePen.Width     = 2;
            FinishedProductDateLine1.ShowInLegend      = false;
            FinishedProductDateLine1.Marks.Visible     = true;
            FinishedProductDateLine1.Marks.Font.Size   = 10;
            FinishedProductDateLine1.Marks.ArrowLength = 5;
            FinishedProductDateLine1.Marks.Style       = Steema.TeeChart.Styles.MarksStyles.Value;
            FinishedProductDateLine1.DataSource        = finishedProductDateLine_Table;

            this.tChartData.Series.Add(FinishedProductDateLine1);

            #endregion

            #region 半成品

            DataTable semimanuProductDateLine_Table = new DataTable();

            semimanuProductDateLine_Table.Columns.Add("TimePeriodCode", typeof(string));
            semimanuProductDateLine_Table.Columns.Add("OutPutQty", typeof(int));
            semimanuProductDateLine_Table.AcceptChanges();

            if (objectList.Count > 0)
            {
                NewReportDomainObject[] FinishedRateLineObject = new NewReportDomainObject[objectList.Count];

                for (int i = 0; i < objectList.Count; i++)
                {
                    bool isFind = false;
                    if (SemimanuProductDateLineDataSource != null)
                    {
                        foreach (NewReportDomainObject obj in SemimanuProductDateLineDataSource)
                        {
                            if (obj.PeriodCode.Trim().ToUpper() == objectList[i].ToString().Trim().ToUpper())
                            {
                                FinishedRateLineObject[i] = obj;
                                isFind = true;
                                break;
                            }
                        }
                    }

                    if (!isFind)
                    {
                        NewReportDomainObject NewReportDomainObject1 = new NewReportDomainObject();
                        NewReportDomainObject1.PeriodCode    = objectList[i].ToString();
                        NewReportDomainObject1.PassRcardRate = 0;
                        FinishedRateLineObject[i]            = NewReportDomainObject1;
                    }
                }
                if (FinishedRateLineObject != null)
                {
                    foreach (NewReportDomainObject obj in FinishedRateLineObject)
                    {
                        DataRow newRow = semimanuProductDateLine_Table.NewRow();
                        newRow["TimePeriodCode"] = obj.PeriodCode;
                        newRow["OutPutQty"]      = obj.Output;
                        semimanuProductDateLine_Table.Rows.Add(newRow);
                    }
                    semimanuProductDateLine_Table.AcceptChanges();
                }
            }
            Steema.TeeChart.Styles.FastLine FinishedProductDateLine2 = new Steema.TeeChart.Styles.FastLine();

            FinishedProductDateLine2.YValues.DataMember = semimanuProductDateLine_Table.Columns["OutPutQty"].ToString();
            FinishedProductDateLine2.LabelMember        = semimanuProductDateLine_Table.Columns["TimePeriodCode"].ToString();

            FinishedProductDateLine2.Color             = Color.CornflowerBlue;
            FinishedProductDateLine2.LinePen.Width     = 2;
            FinishedProductDateLine2.Marks.Visible     = true;
            FinishedProductDateLine2.Marks.Font.Color  = Color.White;
            FinishedProductDateLine2.Marks.Transparent = true;
            FinishedProductDateLine2.Marks.Font.Size   = 10;
            FinishedProductDateLine2.Marks.ArrowLength = 8;
            FinishedProductDateLine2.ShowInLegend      = false;
            FinishedProductDateLine2.Marks.Style       = Steema.TeeChart.Styles.MarksStyles.Value;
            FinishedProductDateLine2.DataSource        = semimanuProductDateLine_Table;

            this.tChartData.Series.Add(FinishedProductDateLine2);
            #endregion
        }
 /// <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(CurveFitting_Coef));
     this.fastLine1    = new Steema.TeeChart.Styles.FastLine();
     this.fastLine2    = new Steema.TeeChart.Styles.FastLine();
     this.polyFitting1 = new Steema.TeeChart.Functions.PolyFitting();
     this.label1       = new System.Windows.Forms.Label();
     this.cursorTool1  = new Steema.TeeChart.Tools.CursorTool();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(464, 73);
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Size = new System.Drawing.Size(464, 39);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     this.tChart1.BackColor      = System.Drawing.Color.Transparent;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     this.tChart1.Header.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.Direction   = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = false;
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Series.Add(this.fastLine2);
     this.tChart1.Size = new System.Drawing.Size(464, 221);
     this.tChart1.Tools.Add(this.cursorTool1);
     this.tChart1.AfterDraw += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_AfterDraw);
     this.tChart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.tChart1_MouseMove);
     //
     // chartContainer
     //
     this.chartContainer.Size = new System.Drawing.Size(464, 221);
     //
     // fastLine1
     //
     this.fastLine1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.fastLine1.ColorEach = false;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Marks.Callout.Visible     = false;
     this.fastLine1.Title      = "Data";
     this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // fastLine2
     //
     this.fastLine2.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.fastLine2.ColorEach  = false;
     this.fastLine2.DataSource = this.fastLine1;
     this.fastLine2.Function   = this.polyFitting1;
     //
     //
     //
     this.fastLine2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     //
     //
     //
     //
     //
     //
     this.fastLine2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine2.Marks.Callout.Distance    = 0;
     this.fastLine2.Marks.Callout.Draw3D      = false;
     this.fastLine2.Marks.Callout.Length      = 10;
     this.fastLine2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine2.Marks.Callout.Visible     = false;
     this.fastLine2.Title      = "Poly";
     this.fastLine2.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // polyFitting1
     //
     this.polyFitting1.PolyDegree = 4;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(424, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "label1";
     //
     // Function_PolyFitCoeff
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(464, 333);
     this.Name  = "Function_PolyFitCoeff";
     this.Load += new System.EventHandler(this.PolyFitCoeff_Load);
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Exponential_Trend));
     this.fastLine1         = new Steema.TeeChart.Styles.FastLine();
     this.fastLine2         = new Steema.TeeChart.Styles.FastLine();
     this.expTrendFunction1 = new Steema.TeeChart.Functions.ExpTrendFunction();
     this.fastLine3         = new Steema.TeeChart.Styles.FastLine();
     this.trendFunction1    = new Steema.TeeChart.Functions.TrendFunction();
     this.gridBand1         = new Steema.TeeChart.Tools.GridBand();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = "The Exponential Trend function is similar to Trend, except\r\nthe calculation fits " +
                          "values using their exponential (e) weights.\r\nCompare it to the normal Trend clic" +
                          "king the legend green series.";
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.ThemeIndex = 4;
     this.tChart1.Aspect.View3D     = false;
     this.tChart1.Aspect.ZOffset    = 0;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.Grid.Color   = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(196)))), ((int)(((byte)(196)))));
     this.tChart1.Axes.Bottom.Grid.Style   = System.Drawing.Drawing2D.DashStyle.Solid;
     this.tChart1.Axes.Bottom.Grid.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.Labels.Font.Name      = "Lucida Console";
     this.tChart1.Axes.Bottom.Labels.Font.Size      = 10;
     this.tChart1.Axes.Bottom.Labels.Font.SizeFloat = 10F;
     //
     //
     //
     this.tChart1.Axes.Bottom.MinorTicks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Bottom.MinorTicks.Length = -3;
     //
     //
     //
     this.tChart1.Axes.Bottom.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Bottom.Ticks.Length = 0;
     //
     //
     //
     this.tChart1.Axes.Bottom.TicksInner.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Bottom.TicksInner.Length = 6;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(196)))), ((int)(((byte)(196)))));
     this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.Labels.Font.Name      = "Lucida Console";
     this.tChart1.Axes.Depth.Labels.Font.Size      = 10;
     this.tChart1.Axes.Depth.Labels.Font.SizeFloat = 10F;
     //
     //
     //
     this.tChart1.Axes.Depth.MinorTicks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Depth.MinorTicks.Length = -3;
     //
     //
     //
     this.tChart1.Axes.Depth.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Depth.Ticks.Length = 0;
     //
     //
     //
     this.tChart1.Axes.Depth.TicksInner.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Depth.TicksInner.Length = 6;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(196)))), ((int)(((byte)(196)))));
     this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.Labels.Font.Name      = "Lucida Console";
     this.tChart1.Axes.Left.Labels.Font.Size      = 10;
     this.tChart1.Axes.Left.Labels.Font.SizeFloat = 10F;
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Left.MinorTicks.Length = -3;
     //
     //
     //
     this.tChart1.Axes.Left.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Left.Ticks.Length = 0;
     //
     //
     //
     this.tChart1.Axes.Left.TicksInner.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Left.TicksInner.Length = 6;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(196)))), ((int)(((byte)(196)))));
     this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.Labels.Font.Name      = "Lucida Console";
     this.tChart1.Axes.Right.Labels.Font.Size      = 10;
     this.tChart1.Axes.Right.Labels.Font.SizeFloat = 10F;
     //
     //
     //
     this.tChart1.Axes.Right.MinorTicks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Right.MinorTicks.Length = -3;
     //
     //
     //
     this.tChart1.Axes.Right.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Right.Ticks.Length = 0;
     //
     //
     //
     this.tChart1.Axes.Right.TicksInner.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Right.TicksInner.Length = 6;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.Grid.Color   = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(196)))), ((int)(((byte)(196)))));
     this.tChart1.Axes.Top.Grid.Style   = System.Drawing.Drawing2D.DashStyle.Solid;
     this.tChart1.Axes.Top.Grid.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.Labels.Font.Name      = "Lucida Console";
     this.tChart1.Axes.Top.Labels.Font.Size      = 10;
     this.tChart1.Axes.Top.Labels.Font.SizeFloat = 10F;
     //
     //
     //
     this.tChart1.Axes.Top.MinorTicks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Top.MinorTicks.Length = -3;
     //
     //
     //
     this.tChart1.Axes.Top.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Top.Ticks.Length = 0;
     //
     //
     //
     this.tChart1.Axes.Top.TicksInner.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Top.TicksInner.Length = 6;
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Bold = true;
     //
     //
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.Black;
     this.tChart1.Header.Font.Name        = "Lucida Console";
     this.tChart1.Header.Font.Size        = 10;
     this.tChart1.Header.Font.SizeFloat   = 10F;
     this.tChart1.Header.Visible          = false;
     //
     //
     //
     this.tChart1.Legend.CheckBoxes = true;
     //
     //
     //
     this.tChart1.Legend.Font.Name      = "Lucida Console";
     this.tChart1.Legend.Font.Size      = 9;
     this.tChart1.Legend.Font.SizeFloat = 9F;
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.DarkGray;
     this.tChart1.Legend.Transparent        = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.Yellow;
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.Empty;
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.White;
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = false;
     //
     //
     //
     this.tChart1.Panel.Pen.Visible = true;
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Series.Add(this.fastLine2);
     this.tChart1.Series.Add(this.fastLine3);
     this.tChart1.Size = new System.Drawing.Size(440, 205);
     this.tChart1.Tools.Add(this.gridBand1);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.White;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.White;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.White;
     //
     // fastLine1
     //
     this.fastLine1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(93)))), ((int)(((byte)(165)))), ((int)(((byte)(161)))));
     this.fastLine1.ColorEach = false;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(93)))), ((int)(((byte)(165)))), ((int)(((byte)(161)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.Silver;
     this.fastLine1.Marks.Brush.Gradient.Visible    = true;
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Marks.Callout.Visible     = false;
     //
     //
     //
     this.fastLine1.Marks.Font.Name = "Lucida Console";
     this.fastLine1.Title           = "Source";
     this.fastLine1.TreatNulls      = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // fastLine2
     //
     this.fastLine2.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(83)))), ((int)(((byte)(49)))));
     this.fastLine2.ColorEach  = false;
     this.fastLine2.DataSource = this.fastLine1;
     this.fastLine2.Function   = this.expTrendFunction1;
     //
     //
     //
     this.fastLine2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(83)))), ((int)(((byte)(49)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.fastLine2.Marks.Brush.Gradient.StartColor = System.Drawing.Color.Silver;
     this.fastLine2.Marks.Brush.Gradient.Visible    = true;
     //
     //
     //
     this.fastLine2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine2.Marks.Callout.Distance    = 0;
     this.fastLine2.Marks.Callout.Draw3D      = false;
     this.fastLine2.Marks.Callout.Length      = 10;
     this.fastLine2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine2.Marks.Callout.Visible     = false;
     //
     //
     //
     this.fastLine2.Marks.Font.Name = "Lucida Console";
     this.fastLine2.Title           = "Exp. Trend";
     this.fastLine2.TreatNulls      = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // expTrendFunction1
     //
     this.expTrendFunction1.TrendStyle = Steema.TeeChart.Functions.TrendStyles.Exponential;
     //
     // fastLine3
     //
     this.fastLine3.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(150)))), ((int)(((byte)(9)))));
     this.fastLine3.ColorEach  = false;
     this.fastLine3.DataSource = this.fastLine1;
     this.fastLine3.Function   = this.trendFunction1;
     //
     //
     //
     this.fastLine3.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(150)))), ((int)(((byte)(9)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.fastLine3.Marks.Brush.Gradient.StartColor = System.Drawing.Color.Silver;
     this.fastLine3.Marks.Brush.Gradient.Visible    = true;
     //
     //
     //
     this.fastLine3.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine3.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine3.Marks.Callout.Distance    = 0;
     this.fastLine3.Marks.Callout.Draw3D      = false;
     this.fastLine3.Marks.Callout.Length      = 10;
     this.fastLine3.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine3.Marks.Callout.Visible     = false;
     //
     //
     //
     this.fastLine3.Marks.Font.Name = "Lucida Console";
     this.fastLine3.Title           = "Trend";
     this.fastLine3.TreatNulls      = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     this.fastLine3.Visible         = false;
     //
     //
     //
     this.fastLine3.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)(127)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     //
     //
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     // ExpTrend
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "ExpTrend";
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Canvas_DotPen));
     this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
     this.fastLineSeries2 = new Steema.TeeChart.Styles.FastLine();
     this.fastLineSeries3 = new Steema.TeeChart.Styles.FastLine();
     this.fastLineSeries4 = new Steema.TeeChart.Styles.FastLine();
     this.label1          = new System.Windows.Forms.Label();
     this.numericUpDown1  = new System.Windows.Forms.NumericUpDown();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(466, 64);
     this.textBox1.Text = "Lines with dotted styles can draw widths bigger than 1. \r\n\r\nlineSeries1.LinePen.S" +
                          "tyle = System.Drawing.Drawing2D.DashStyle.Dot;\r\nlineSeries1.LinePen.Width = 3;";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(0, 64);
     this.panel1.Size     = new System.Drawing.Size(466, 33);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Bevel.ColorTwo = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.Direction   = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.tChart1.Series.Add(this.fastLineSeries1);
     this.tChart1.Series.Add(this.fastLineSeries2);
     this.tChart1.Series.Add(this.fastLineSeries3);
     this.tChart1.Series.Add(this.fastLineSeries4);
     this.tChart1.Size = new System.Drawing.Size(466, 189);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 97);
     this.chartContainer.Size     = new System.Drawing.Size(466, 189);
     //
     // fastLineSeries1
     //
     this.fastLineSeries1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.fastLineSeries1.ColorEach = false;
     //
     //
     //
     this.fastLineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.fastLineSeries1.LinePen.Style = System.Drawing.Drawing2D.DashStyle.DashDot;
     this.fastLineSeries1.LinePen.Width = 2;
     //
     //
     //
     //
     //
     //
     this.fastLineSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLineSeries1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLineSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLineSeries1.Marks.Callout.Distance    = 0;
     this.fastLineSeries1.Marks.Callout.Draw3D      = false;
     this.fastLineSeries1.Marks.Callout.Length      = 10;
     this.fastLineSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLineSeries1.Marks.Callout.Visible     = false;
     this.fastLineSeries1.Title      = "fastLineSeries1";
     this.fastLineSeries1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLineSeries1.XValues.DataMember = "X";
     this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLineSeries1.YValues.DataMember = "Y";
     //
     // fastLineSeries2
     //
     this.fastLineSeries2.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.fastLineSeries2.ColorEach = false;
     //
     //
     //
     this.fastLineSeries2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.fastLineSeries2.LinePen.Style = System.Drawing.Drawing2D.DashStyle.Dash;
     this.fastLineSeries2.LinePen.Width = 2;
     //
     //
     //
     //
     //
     //
     this.fastLineSeries2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLineSeries2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLineSeries2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLineSeries2.Marks.Callout.Distance    = 0;
     this.fastLineSeries2.Marks.Callout.Draw3D      = false;
     this.fastLineSeries2.Marks.Callout.Length      = 10;
     this.fastLineSeries2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLineSeries2.Marks.Callout.Visible     = false;
     this.fastLineSeries2.Title      = "fastLineSeries2";
     this.fastLineSeries2.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLineSeries2.XValues.DataMember = "X";
     this.fastLineSeries2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLineSeries2.YValues.DataMember = "Y";
     //
     // fastLineSeries3
     //
     this.fastLineSeries3.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     this.fastLineSeries3.ColorEach = false;
     //
     //
     //
     this.fastLineSeries3.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     this.fastLineSeries3.LinePen.Style = System.Drawing.Drawing2D.DashStyle.DashDotDot;
     this.fastLineSeries3.LinePen.Width = 2;
     //
     //
     //
     //
     //
     //
     this.fastLineSeries3.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLineSeries3.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLineSeries3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLineSeries3.Marks.Callout.Distance    = 0;
     this.fastLineSeries3.Marks.Callout.Draw3D      = false;
     this.fastLineSeries3.Marks.Callout.Length      = 10;
     this.fastLineSeries3.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLineSeries3.Marks.Callout.Visible     = false;
     this.fastLineSeries3.Title      = "fastLineSeries3";
     this.fastLineSeries3.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLineSeries3.XValues.DataMember = "X";
     this.fastLineSeries3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLineSeries3.YValues.DataMember = "Y";
     //
     // fastLineSeries4
     //
     this.fastLineSeries4.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
     this.fastLineSeries4.ColorEach = false;
     //
     //
     //
     this.fastLineSeries4.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
     this.fastLineSeries4.LinePen.Style = System.Drawing.Drawing2D.DashStyle.Dot;
     this.fastLineSeries4.LinePen.Width = 2;
     //
     //
     //
     //
     //
     //
     this.fastLineSeries4.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLineSeries4.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLineSeries4.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLineSeries4.Marks.Callout.Distance    = 0;
     this.fastLineSeries4.Marks.Callout.Draw3D      = false;
     this.fastLineSeries4.Marks.Callout.Length      = 10;
     this.fastLineSeries4.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLineSeries4.Marks.Callout.Visible     = false;
     this.fastLineSeries4.Title      = "fastLineSeries4";
     this.fastLineSeries4.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLineSeries4.XValues.DataMember = "X";
     this.fastLineSeries4.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLineSeries4.YValues.DataMember = "Y";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(13, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(57, 13);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Pen width:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(72, 8);
     this.numericUpDown1.Maximum  = new decimal(new int[] {
         50,
         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(47, 20);
     this.numericUpDown1.TabIndex  = 1;
     this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numericUpDown1.Value     = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.TextChanged  += new System.EventHandler(this.numericUpDown1_ValueChanged);
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // Canvas_DotPen
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(466, 286);
     this.Name = "Canvas_DotPen";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.chartContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(Function_Median));
     this.fastLine1       = new Steema.TeeChart.Styles.FastLine();
     this.line1           = new Steema.TeeChart.Styles.Line();
     this.medianFunction1 = new Steema.TeeChart.Functions.MedianFunction();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.ThemeIndex = 3;
     this.tChart1.Aspect.View3D     = false;
     this.tChart1.Aspect.ZOffset    = 0;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Bottom.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Bottom.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Depth.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Depth.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.DepthTop.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.DepthTop.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.DepthTop.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Left.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Left.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Right.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Right.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Top.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Top.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Header.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Header.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Header.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
     this.tChart1.Legend.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Legend.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Legend.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Legend.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Legend.Brush.Gradient.Visible     = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Legend.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Panel.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Panel.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Shadow.Brush.Color = System.Drawing.Color.Black;
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size = new System.Drawing.Size(440, 205);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
     this.tChart1.Walls.Back.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Back.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     //
     //
     //
     this.tChart1.Walls.Back.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Bottom.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Bottom.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Bottom.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Left.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Left.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Left.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Left.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Right.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Right.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Right.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Right.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Right.Pen.Visible = false;
     //
     // fastLine1
     //
     this.fastLine1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.fastLine1.ColorEach = false;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.fastLine1.LinePen.Width = 2;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.fastLine1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.fastLine1.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.fastLine1.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.fastLine1.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.fastLine1.Marks.Transparent      = true;
     this.fastLine1.Title      = "Source";
     this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // line1
     //
     //
     //
     //
     this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220)))));
     this.line1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220)))));
     this.line1.ColorEach   = false;
     this.line1.DataSource  = this.fastLine1;
     this.line1.Function    = this.medianFunction1;
     //
     //
     //
     this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.line1.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.line1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.line1.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.line1.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.line1.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.line1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.line1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.line1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.line1.Marks.Callout.Distance    = 0;
     this.line1.Marks.Callout.Draw3D      = false;
     this.line1.Marks.Callout.Length      = 10;
     this.line1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.line1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.line1.Marks.Transparent      = true;
     //
     //
     //
     this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "Median";
     this.line1.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Right;
     //
     //
     //
     this.line1.XValues.DataMember = "X";
     this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line1.YValues.DataMember = "Y";
     //
     // Median
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Median";
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.tChart1         = new Steema.TeeChart.TChart();
     this.pieSeries1      = new Steema.TeeChart.Styles.Pie();
     this.lineSeries1     = new Steema.TeeChart.Styles.Line();
     this.lineSeries2     = new Steema.TeeChart.Styles.Line();
     this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
     this.timer1          = new System.Timers.Timer();
     ((System.ComponentModel.ISupportInitialize)(this.timer1)).BeginInit();
     this.SuspendLayout();
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.Elevation         = 315;
     this.tChart1.Aspect.Orthogonal        = false;
     this.tChart1.Aspect.Perspective       = 0;
     this.tChart1.Aspect.Rotation          = 360;
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
     this.tChart1.BackColor = System.Drawing.Color.White;
     this.tChart1.Cursor    = System.Windows.Forms.Cursors.Default;
     this.tChart1.Dock      = System.Windows.Forms.DockStyle.Fill;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     this.tChart1.Header.Visible = false;
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 0);
     this.tChart1.Name           = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Bevel
     //
     this.tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
     //
     // 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.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(21)), ((System.Byte)(60)), ((System.Byte)(89)));
     //this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //this.tChart1.Panel.Gradient.Sigma = true;
     //this.tChart1.Panel.Gradient.SigmaFocus = 1F;
     //this.tChart1.Panel.Gradient.SigmaScale = 0.8F;
     //this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     this.tChart1.Panel.Gradient.UseMiddle = true;
     this.tChart1.Panel.Gradient.Visible   = true;
     this.tChart1.Series.Add(this.pieSeries1);
     this.tChart1.Series.Add(this.lineSeries1);
     this.tChart1.Series.Add(this.lineSeries2);
     this.tChart1.Series.Add(this.fastLineSeries1);
     this.tChart1.Size        = new System.Drawing.Size(393, 279);
     this.tChart1.TabIndex    = 0;
     this.tChart1.AfterDraw  += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_AfterDraw);
     this.tChart1.BeforeDraw += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_BeforeDraw);
     //
     // pieSeries1
     //
     //
     // pieSeries1.Brush
     //
     this.pieSeries1.Brush.Color     = System.Drawing.Color.Red;
     this.pieSeries1.CircleBackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.pieSeries1.ExplodeBiggest  = 30;
     this.pieSeries1.LabelMember     = "Labels";
     //
     // pieSeries1.Marks
     //
     //
     // pieSeries1.Marks.Symbol
     //
     //
     // pieSeries1.Marks.Symbol.Shadow
     //
     this.pieSeries1.Marks.Symbol.Shadow.Height  = 1;
     this.pieSeries1.Marks.Symbol.Shadow.Visible = true;
     this.pieSeries1.Marks.Symbol.Shadow.Width   = 1;
     //
     // pieSeries1.Pen
     //
     this.pieSeries1.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192)));
     //
     // pieSeries1.Shadow
     //
     this.pieSeries1.Shadow.Height = 20;
     this.pieSeries1.Shadow.Width  = 20;
     this.pieSeries1.Title         = "pie1";
     //
     // pieSeries1.XValues
     //
     this.pieSeries1.XValues.DataMember = "Angle";
     this.pieSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // pieSeries1.YValues
     //
     this.pieSeries1.YValues.DataMember = "Pie";
     //
     // lineSeries1
     //
     //
     // lineSeries1.Brush
     //
     this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(255)), ((System.Byte)(199)), ((System.Byte)(26)));
     //
     // lineSeries1.Gradient
     //
     this.lineSeries1.Brush.Gradient.Transparency = 25;
     //
     // lineSeries1.Gradient
     //
     this.lineSeries1.Gradient.Transparency = 25;
     //
     // lineSeries1.LinePen
     //
     this.lineSeries1.LinePen.Visible = false;
     //
     // lineSeries1.Marks
     //
     //
     // lineSeries1.Marks.Symbol
     //
     //
     // lineSeries1.Marks.Symbol.Shadow
     //
     this.lineSeries1.Marks.Symbol.Shadow.Height  = 1;
     this.lineSeries1.Marks.Symbol.Shadow.Visible = true;
     this.lineSeries1.Marks.Symbol.Shadow.Width   = 1;
     //
     // lineSeries1.Pointer
     //
     this.lineSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Title         = "line2";
     this.lineSeries1.Visible       = false;
     //
     // lineSeries1.XValues
     //
     this.lineSeries1.XValues.DataMember = "X";
     this.lineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries1.YValues
     //
     this.lineSeries1.YValues.DataMember = "Y";
     //
     // lineSeries2
     //
     //
     // lineSeries2.Brush
     //
     this.lineSeries2.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(106)), ((System.Byte)(106)), ((System.Byte)(255)));
     //
     // lineSeries2.Gradient
     //
     this.lineSeries2.Brush.Gradient.Transparency = 35;
     //
     // lineSeries2.Gradient
     //
     this.lineSeries2.Gradient.Transparency = 35;
     //
     // lineSeries2.LinePen
     //
     this.lineSeries2.LinePen.Visible = false;
     //
     // lineSeries2.Marks
     //
     //
     // lineSeries2.Marks.Symbol
     //
     //
     // lineSeries2.Marks.Symbol.Shadow
     //
     this.lineSeries2.Marks.Symbol.Shadow.Height  = 1;
     this.lineSeries2.Marks.Symbol.Shadow.Visible = true;
     this.lineSeries2.Marks.Symbol.Shadow.Width   = 1;
     //
     // lineSeries2.Pointer
     //
     this.lineSeries2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries2.Title         = "line3";
     this.lineSeries2.Visible       = false;
     //
     // lineSeries2.XValues
     //
     this.lineSeries2.XValues.DataMember = "X";
     this.lineSeries2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries2.YValues
     //
     this.lineSeries2.YValues.DataMember = "Y";
     //
     // fastLineSeries1
     //
     //
     // fastLineSeries1.LinePen
     //
     this.fastLineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(204)));
     //
     // fastLineSeries1.Marks
     //
     //
     // fastLineSeries1.Marks.Symbol
     //
     //
     // fastLineSeries1.Marks.Symbol.Shadow
     //
     this.fastLineSeries1.Marks.Symbol.Shadow.Height  = 1;
     this.fastLineSeries1.Marks.Symbol.Shadow.Visible = true;
     this.fastLineSeries1.Marks.Symbol.Shadow.Width   = 1;
     this.fastLineSeries1.Title   = "fast Line4";
     this.fastLineSeries1.Visible = false;
     //
     // fastLineSeries1.XValues
     //
     this.fastLineSeries1.XValues.DataMember = "X";
     this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // fastLineSeries1.YValues
     //
     this.fastLineSeries1.YValues.DataMember = "Y";
     //
     // timer1
     //
     this.timer1.SynchronizingObject = this;
     this.timer1.Elapsed            += new System.Timers.ElapsedEventHandler(this.timer1_Elapsed);
     //
     // WelcomeForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(393, 279);
     this.Controls.Add(this.tChart1);
     this.Name  = "WelcomeForm";
     this.Text  = "WelcomeForm";
     this.Load += new System.EventHandler(this.WelcomeForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.timer1)).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()
 {
     this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.label1          = new System.Windows.Forms.Label();
     this.numericUpDown1  = new System.Windows.Forms.NumericUpDown();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.numericUpDown2  = new System.Windows.Forms.NumericUpDown();
     this.gridBand1       = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor = System.Drawing.Color.AliceBlue;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(552, 72);
     this.textBox1.TabIndex  = 0;
     this.textBox1.Text      = "Axes can have Offsets (in pixels) for both Minimum and Maximum scales.\r\n\r\ntChart1" +
                               ".Axes.Left.MaximumOffset = 4 ;\r\ntChart1.Axes.Left.MinimumOffset = 4 ;";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.numericUpDown2);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Location = new System.Drawing.Point(0, 72);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(552, 40);
     this.panel1.TabIndex = 1;
     //
     // 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.Bottom
     //
     //
     // tChart1.Axes.Bottom.AxisPen
     //
     this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     this.tChart1.Axes.Bottom.AxisPen.Width = 1;
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.AxisPen
     //
     this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     this.tChart1.Axes.Left.AxisPen.Width = 1;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(128)));
     this.tChart1.Header.Font.Name        = "Verdana";
     //
     // tChart1.Header.Font.Shadow
     //
     //
     // tChart1.Header.Font.Shadow.Brush
     //
     this.tChart1.Header.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.tChart1.Header.Font.Shadow.Visible     = true;
     this.tChart1.Header.Lines = new string[] {
         "Axes Offsets"
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Left;
     //
     // tChart1.Legend.Brush
     //
     this.tChart1.Legend.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // tChart1.Legend.Gradient
     //
     this.tChart1.Legend.Brush.Gradient.Transparency = 70;
     //
     // tChart1.Legend.Gradient
     //
     this.tChart1.Legend.Gradient.Transparency = 70;
     this.tChart1.Legend.LegendStyle           = Steema.TeeChart.LegendStyles.Series;
     //
     // tChart1.Legend.Pen
     //
     this.tChart1.Legend.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     //
     // tChart1.Legend.Shadow
     //
     //
     // tChart1.Legend.Shadow.Brush
     //
     this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     this.tChart1.Legend.Shadow.Height      = 1;
     this.tChart1.Legend.Shadow.Width       = 1;
     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.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Brush.Gradient.Visible     = true;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     this.tChart1.Panel.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Gradient.Visible     = true;
     this.tChart1.Series.Add(this.fastLineSeries1);
     this.tChart1.Size     = new System.Drawing.Size(552, 253);
     this.tChart1.TabIndex = 2;
     this.tChart1.Tools.Add(this.gridBand1);
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     //
     // tChart1.Walls.Back.Pen
     //
     this.tChart1.Walls.Back.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128)));
     //
     // fastLineSeries1
     //
     //
     // fastLineSeries1.LinePen
     //
     this.fastLineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(165)), ((System.Byte)(255)));
     this.fastLineSeries1.Title         = "Offsets";
     //
     // fastLineSeries1.XValues
     //
     this.fastLineSeries1.XValues.DataMember = "X";
     this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // fastLineSeries1.YValues
     //
     this.fastLineSeries1.YValues.DataMember = "Y";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "Left",
         "Bottom"
     });
     this.comboBox1.Location              = new System.Drawing.Point(40, 8);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(120, 21);
     this.comboBox1.TabIndex              = 1;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(10, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(29, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Axis:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location  = new System.Drawing.Point(232, 8);
     this.numericUpDown1.Name      = "numericUpDown1";
     this.numericUpDown1.Size      = new System.Drawing.Size(56, 20);
     this.numericUpDown1.TabIndex  = 3;
     this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numericUpDown1.Value     = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown1.TextChanged  += new System.EventHandler(this.numericUpDown1_TextChanged);
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(168, 10);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 16);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "&Min offset:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Location  = new System.Drawing.Point(304, 10);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(59, 16);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Ma&x offset:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // numericUpDown2
     //
     this.numericUpDown2.Location  = new System.Drawing.Point(368, 8);
     this.numericUpDown2.Name      = "numericUpDown2";
     this.numericUpDown2.Size      = new System.Drawing.Size(56, 20);
     this.numericUpDown2.TabIndex  = 5;
     this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numericUpDown2.Value     = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown2.TextChanged  += new System.EventHandler(this.numericUpDown2_TextChanged);
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
     //
     // 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)(192)));
     //
     // Axes_Offsets
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(552, 365);
     this.Name  = "Axes_Offsets";
     this.Load += new System.EventHandler(this.Axes_Offsets_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     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.button1   = new System.Windows.Forms.Button();
            this.checkBox1 = new System.Windows.Forms.CheckBox();
            this.label1    = new System.Windows.Forms.Label();
            this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
            this.fastLine2 = new Steema.TeeChart.Styles.FastLine();
            this.label2    = new System.Windows.Forms.Label();
            this.checkBox2 = new System.Windows.Forms.CheckBox();
            this.textBox2  = new System.Windows.Forms.TextBox();
            this.textBox3  = new System.Windows.Forms.TextBox();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Name     = "textBox1";
            this.textBox1.Size     = new System.Drawing.Size(466, 63);
            this.textBox1.TabIndex = 0;
            this.textBox1.Text     = @"New Series ""Delete"" method to fast delete multiple points in a single call,
much faster than deleting multiple points using a loop.

New FastLine ""FastPen"" property to speed up drawing fastline series
in real-time mode.  ( Note: Supported only in Windows 2000 and XP )

For maximum speed set this property:
tChart1.Axes.FastCalc=true;";
            //
            // panel1
            //
            this.panel1.Controls.Add(this.textBox3);
            this.panel1.Controls.Add(this.textBox2);
            this.panel1.Controls.Add(this.checkBox2);
            this.panel1.Controls.Add(this.label2);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.checkBox1);
            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, 33);
            this.panel1.TabIndex = 1;
            //
            // 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.Bottom
            //
            //
            // tChart1.Axes.Bottom.Grid
            //
            this.tChart1.Axes.Bottom.Grid.ZPosition = 0;
            //
            // tChart1.Axes.Bottom.Labels
            //
            //
            // tChart1.Axes.Bottom.Labels.Font
            //
            //
            // tChart1.Axes.Bottom.Labels.Font.Shadow
            //
            this.tChart1.Axes.Bottom.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Bottom.Labels.Shadow
            //
            this.tChart1.Axes.Bottom.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.Bottom.Title
            //
            //
            // tChart1.Axes.Bottom.Title.Font
            //
            //
            // tChart1.Axes.Bottom.Title.Font.Shadow
            //
            this.tChart1.Axes.Bottom.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Bottom.Title.Shadow
            //
            this.tChart1.Axes.Bottom.Title.Shadow.Visible = false;
            //
            // tChart1.Axes.Depth
            //
            //
            // tChart1.Axes.Depth.Grid
            //
            this.tChart1.Axes.Depth.Grid.ZPosition = 0;
            //
            // tChart1.Axes.Depth.Labels
            //
            //
            // tChart1.Axes.Depth.Labels.Font
            //
            //
            // tChart1.Axes.Depth.Labels.Font.Shadow
            //
            this.tChart1.Axes.Depth.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Depth.Labels.Shadow
            //
            this.tChart1.Axes.Depth.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.Depth.Title
            //
            //
            // tChart1.Axes.Depth.Title.Font
            //
            //
            // tChart1.Axes.Depth.Title.Font.Shadow
            //
            this.tChart1.Axes.Depth.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Depth.Title.Shadow
            //
            this.tChart1.Axes.Depth.Title.Shadow.Visible = false;
            //
            // tChart1.Axes.DepthTop
            //
            //
            // tChart1.Axes.DepthTop.Grid
            //
            this.tChart1.Axes.DepthTop.Grid.ZPosition = 0;
            //
            // tChart1.Axes.DepthTop.Labels
            //
            //
            // tChart1.Axes.DepthTop.Labels.Font
            //
            //
            // tChart1.Axes.DepthTop.Labels.Font.Shadow
            //
            this.tChart1.Axes.DepthTop.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.DepthTop.Labels.Shadow
            //
            this.tChart1.Axes.DepthTop.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.DepthTop.Title
            //
            //
            // tChart1.Axes.DepthTop.Title.Font
            //
            //
            // tChart1.Axes.DepthTop.Title.Font.Shadow
            //
            this.tChart1.Axes.DepthTop.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.DepthTop.Title.Shadow
            //
            this.tChart1.Axes.DepthTop.Title.Shadow.Visible = false;
            //
            // tChart1.Axes.Left
            //
            //
            // tChart1.Axes.Left.Grid
            //
            this.tChart1.Axes.Left.Grid.ZPosition = 0;
            //
            // tChart1.Axes.Left.Labels
            //
            //
            // tChart1.Axes.Left.Labels.Font
            //
            //
            // tChart1.Axes.Left.Labels.Font.Shadow
            //
            this.tChart1.Axes.Left.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Left.Labels.Shadow
            //
            this.tChart1.Axes.Left.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.Left.Title
            //
            //
            // tChart1.Axes.Left.Title.Font
            //
            //
            // tChart1.Axes.Left.Title.Font.Shadow
            //
            this.tChart1.Axes.Left.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Left.Title.Shadow
            //
            this.tChart1.Axes.Left.Title.Shadow.Visible = false;
            //
            // tChart1.Axes.Right
            //
            //
            // tChart1.Axes.Right.Grid
            //
            this.tChart1.Axes.Right.Grid.ZPosition = 0;
            //
            // tChart1.Axes.Right.Labels
            //
            //
            // tChart1.Axes.Right.Labels.Font
            //
            //
            // tChart1.Axes.Right.Labels.Font.Shadow
            //
            this.tChart1.Axes.Right.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Right.Labels.Shadow
            //
            this.tChart1.Axes.Right.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.Right.Title
            //
            //
            // tChart1.Axes.Right.Title.Font
            //
            //
            // tChart1.Axes.Right.Title.Font.Shadow
            //
            this.tChart1.Axes.Right.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Right.Title.Shadow
            //
            this.tChart1.Axes.Right.Title.Shadow.Visible = false;
            //
            // tChart1.Axes.Top
            //
            //
            // tChart1.Axes.Top.Grid
            //
            this.tChart1.Axes.Top.Grid.ZPosition = 0;
            //
            // tChart1.Axes.Top.Labels
            //
            //
            // tChart1.Axes.Top.Labels.Font
            //
            //
            // tChart1.Axes.Top.Labels.Font.Shadow
            //
            this.tChart1.Axes.Top.Labels.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Top.Labels.Shadow
            //
            this.tChart1.Axes.Top.Labels.Shadow.Visible = false;
            //
            // tChart1.Axes.Top.Title
            //
            //
            // tChart1.Axes.Top.Title.Font
            //
            //
            // tChart1.Axes.Top.Title.Font.Shadow
            //
            this.tChart1.Axes.Top.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Axes.Top.Title.Shadow
            //
            this.tChart1.Axes.Top.Title.Shadow.Visible = false;
            //
            // tChart1.Footer
            //
            //
            // tChart1.Footer.Font
            //
            //
            // tChart1.Footer.Font.Shadow
            //
            this.tChart1.Footer.Font.Shadow.Visible = false;
            //
            // tChart1.Footer.Shadow
            //
            this.tChart1.Footer.Shadow.Visible = false;
            //
            // tChart1.Header
            //
            //
            // tChart1.Header.Font
            //
            //
            // tChart1.Header.Font.Brush
            //
            this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(128)));
            //
            // tChart1.Header.Font.Shadow
            //
            //
            // tChart1.Header.Font.Shadow.Brush
            //
            this.tChart1.Header.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
            this.tChart1.Header.Lines = new string[] {
                "Area series gradient & transparency"
            };
            //
            // tChart1.Header.Shadow
            //
            this.tChart1.Header.Shadow.Visible = false;
            //
            // tChart1.Legend
            //
            //
            // tChart1.Legend.Font
            //
            //
            // tChart1.Legend.Font.Shadow
            //
            this.tChart1.Legend.Font.Shadow.Visible = false;
            //
            // tChart1.Legend.Title
            //
            //
            // tChart1.Legend.Title.Font
            //
            this.tChart1.Legend.Title.Font.Bold = true;
            //
            // tChart1.Legend.Title.Font.Shadow
            //
            this.tChart1.Legend.Title.Font.Shadow.Visible = false;
            //
            // tChart1.Legend.Title.Pen
            //
            this.tChart1.Legend.Title.Pen.Visible = false;
            //
            // tChart1.Legend.Title.Shadow
            //
            this.tChart1.Legend.Title.Shadow.Visible = false;
            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)));
            //
            // tChart1.Panel.Gradient
            //
            this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
            this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
            this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
            this.tChart1.Panel.Brush.Gradient.UseMiddle   = true;
            this.tChart1.Panel.Brush.Gradient.Visible     = true;
            //
            // tChart1.Panel.Gradient
            //
            this.tChart1.Panel.Gradient.EndColor    = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
            this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
            this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
            this.tChart1.Panel.Gradient.UseMiddle   = true;
            this.tChart1.Panel.Gradient.Visible     = true;
            //
            // tChart1.Panel.Shadow
            //
            this.tChart1.Panel.Shadow.Visible = false;
            this.tChart1.Series.Add(this.fastLine1);
            this.tChart1.Series.Add(this.fastLine2);
            this.tChart1.Size = new System.Drawing.Size(466, 190);
            //
            // tChart1.SubFooter
            //
            //
            // tChart1.SubFooter.Font
            //
            //
            // tChart1.SubFooter.Font.Shadow
            //
            this.tChart1.SubFooter.Font.Shadow.Visible = false;
            //
            // tChart1.SubFooter.Shadow
            //
            this.tChart1.SubFooter.Shadow.Visible = false;
            //
            // tChart1.SubHeader
            //
            //
            // tChart1.SubHeader.Font
            //
            //
            // tChart1.SubHeader.Font.Shadow
            //
            this.tChart1.SubHeader.Font.Shadow.Visible = false;
            //
            // tChart1.SubHeader.Shadow
            //
            this.tChart1.SubHeader.Shadow.Visible = false;
            this.tChart1.TabIndex = 2;
            //
            // tChart1.Walls
            //
            //
            // tChart1.Walls.Back
            //
            this.tChart1.Walls.Back.AutoHide = false;
            //
            // tChart1.Walls.Back.Shadow
            //
            this.tChart1.Walls.Back.Shadow.Visible = false;
            //
            // tChart1.Walls.Bottom
            //
            this.tChart1.Walls.Bottom.AutoHide = false;
            //
            // tChart1.Walls.Bottom.Shadow
            //
            this.tChart1.Walls.Bottom.Shadow.Visible = false;
            //
            // tChart1.Walls.Left
            //
            this.tChart1.Walls.Left.AutoHide = false;
            //
            // tChart1.Walls.Left.Shadow
            //
            this.tChart1.Walls.Left.Shadow.Visible = false;
            //
            // tChart1.Walls.Right
            //
            this.tChart1.Walls.Right.AutoHide = false;
            //
            // tChart1.Walls.Right.Shadow
            //
            this.tChart1.Walls.Right.Shadow.Visible = false;
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(8, 5);
            this.button1.Name      = "button1";
            this.button1.Size      = new System.Drawing.Size(45, 23);
            this.button1.TabIndex  = 0;
            this.button1.Text      = "&Start !";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // 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(69, 9);
            this.checkBox1.Name            = "checkBox1";
            this.checkBox1.Size            = new System.Drawing.Size(99, 16);
            this.checkBox1.TabIndex        = 1;
            this.checkBox1.Text            = "&Draw All Points";
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Location  = new System.Drawing.Point(166, 10);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(70, 16);
            this.label1.TabIndex  = 2;
            this.label1.Text      = "&Total Points :";
            this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
            //
            // fastLine1
            //
            //
            // fastLine1.LinePen
            //
            this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(153)), ((System.Byte)(102)));
            //
            // fastLine1.Marks
            //
            //
            // fastLine1.Marks.Callout
            //
            this.fastLine1.Marks.Callout.Arrow         = this.fastLine1.Marks.Arrow;
            this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
            //
            // fastLine1.Marks.Callout.Brush
            //
            this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
            this.fastLine1.Marks.Callout.Distance    = 0;
            this.fastLine1.Marks.Callout.Draw3D      = false;
            this.fastLine1.Marks.Callout.Length      = 10;
            this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            //
            // fastLine1.Marks.Font
            //
            //
            // fastLine1.Marks.Font.Shadow
            //
            this.fastLine1.Marks.Font.Shadow.Visible = false;
            this.fastLine1.Title = "fastLine1";
            //
            // fastLine1.XValues
            //
            this.fastLine1.XValues.DataMember = "X";
            this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            // fastLine1.YValues
            //
            this.fastLine1.YValues.DataMember = "Y";
            //
            // fastLine2
            //
            //
            // fastLine2.LinePen
            //
            this.fastLine2.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(102)), ((System.Byte)(102)));
            //
            // fastLine2.Marks
            //
            //
            // fastLine2.Marks.Callout
            //
            this.fastLine2.Marks.Callout.Arrow         = this.fastLine2.Marks.Arrow;
            this.fastLine2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.fastLine2.Marks.Callout.ArrowHeadSize = 8;
            //
            // fastLine2.Marks.Callout.Brush
            //
            this.fastLine2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
            this.fastLine2.Marks.Callout.Distance    = 0;
            this.fastLine2.Marks.Callout.Draw3D      = false;
            this.fastLine2.Marks.Callout.Length      = 10;
            this.fastLine2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            //
            // fastLine2.Marks.Font
            //
            //
            // fastLine2.Marks.Font.Shadow
            //
            this.fastLine2.Marks.Font.Shadow.Visible = false;
            this.fastLine2.Title = "fastLine2";
            //
            // fastLine2.XValues
            //
            this.fastLine2.XValues.DataMember = "X";
            this.fastLine2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            // fastLine2.YValues
            //
            this.fastLine2.YValues.DataMember = "Y";
            //
            // label2
            //
            this.label2.AutoSize  = true;
            this.label2.Location  = new System.Drawing.Point(285, 10);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(39, 16);
            this.label2.TabIndex  = 3;
            this.label2.Text      = "&Scroll :";
            this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
            //
            // checkBox2
            //
            this.checkBox2.Checked         = true;
            this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox2.Location        = new System.Drawing.Point(384, 9);
            this.checkBox2.Name            = "checkBox2";
            this.checkBox2.Size            = new System.Drawing.Size(67, 16);
            this.checkBox2.TabIndex        = 4;
            this.checkBox2.Text            = "&Fast Pen";
            this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
            //
            // textBox2
            //
            this.textBox2.Location  = new System.Drawing.Point(234, 8);
            this.textBox2.Name      = "textBox2";
            this.textBox2.Size      = new System.Drawing.Size(46, 20);
            this.textBox2.TabIndex  = 5;
            this.textBox2.Text      = "10000";
            this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            //
            // textBox3
            //
            this.textBox3.Location  = new System.Drawing.Point(326, 8);
            this.textBox3.Name      = "textBox3";
            this.textBox3.Size      = new System.Drawing.Size(46, 20);
            this.textBox3.TabIndex  = 6;
            this.textBox3.Text      = "5000";
            this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            //
            // FastLine_Realtime
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(466, 286);
            this.Name    = "FastLine_Realtime";
            this.Closed += new System.EventHandler(this.FastLine_Realtime_Closed);
            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(FastLine_Nulls));
     this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.checkBox3 = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Size = new System.Drawing.Size(440, 55);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "Fastline series with null points and stairs"
     };
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Title.Pen.Visible = false;
     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.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(21)))), ((int)(((byte)(60)))), ((int)(((byte)(89)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Panel.Brush.Gradient.Sigma       = true;
     this.tChart1.Panel.Brush.Gradient.SigmaFocus  = 1F;
     this.tChart1.Panel.Brush.Gradient.SigmaScale  = 0.8F;
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Size = new System.Drawing.Size(440, 189);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(76)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Bottom.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Walls.Bottom.Size        = 3;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(178)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(224)))));
     this.tChart1.Walls.Left.Size        = 3;
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 128);
     this.chartContainer.Size     = new System.Drawing.Size(440, 189);
     //
     // fastLine1
     //
     this.fastLine1.ColorEach   = false;
     this.fastLine1.IgnoreNulls = false;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Stairs     = true;
     this.fastLine1.Title      = "fastLine1";
     this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // 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(16, 16);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(88, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Stairs mode";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Location        = new System.Drawing.Point(112, 16);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(104, 24);
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "Inverted stairs";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.Checked         = true;
     this.checkBox3.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox3.Location        = new System.Drawing.Point(240, 16);
     this.checkBox3.Name            = "checkBox3";
     this.checkBox3.Size            = new System.Drawing.Size(104, 24);
     this.checkBox3.TabIndex        = 2;
     this.checkBox3.Text            = "Ignore nulls";
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // FastLine_Nulls
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "FastLine_Nulls";
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(Function_CurveFitting));
     this.fastLine1      = new Steema.TeeChart.Styles.FastLine();
     this.fastLine2      = new Steema.TeeChart.Styles.FastLine();
     this.polyFitting1   = new Steema.TeeChart.Functions.PolyFitting();
     this.fastLine3      = new Steema.TeeChart.Styles.FastLine();
     this.polyFitting2   = new Steema.TeeChart.Functions.PolyFitting();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.label1         = new System.Windows.Forms.Label();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label2         = new System.Windows.Forms.Label();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.timer1         = new System.Windows.Forms.Timer(this.components);
     this.gridBand1      = new Steema.TeeChart.Tools.GridBand();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(464, 73);
     this.textBox1.Text = "Polynomial curvefitting function calculates the polynomial factors that best matc" +
                          "hes the source data. The degree of the polynomial is configurable (from 2 to 20)" +
                          ".";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.numericUpDown2);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Size = new System.Drawing.Size(464, 47);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "Polynomial fitting"
     };
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Series.Add(this.fastLine2);
     this.tChart1.Series.Add(this.fastLine3);
     this.tChart1.Size = new System.Drawing.Size(464, 213);
     this.tChart1.Tools.Add(this.gridBand1);
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 120);
     this.chartContainer.Size     = new System.Drawing.Size(464, 213);
     //
     // fastLine1
     //
     this.fastLine1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.fastLine1.ColorEach = false;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Marks.Callout.Visible     = false;
     this.fastLine1.Title      = "Data";
     this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // fastLine2
     //
     this.fastLine2.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.fastLine2.ColorEach  = false;
     this.fastLine2.DataSource = this.fastLine1;
     this.fastLine2.Function   = this.polyFitting1;
     //
     //
     //
     this.fastLine2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     //
     //
     //
     //
     //
     //
     this.fastLine2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine2.Marks.Callout.Distance    = 0;
     this.fastLine2.Marks.Callout.Draw3D      = false;
     this.fastLine2.Marks.Callout.Length      = 10;
     this.fastLine2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine2.Marks.Callout.Visible     = false;
     this.fastLine2.Title      = "Curve 1";
     this.fastLine2.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // polyFitting1
     //
     this.polyFitting1.PolyDegree = 3;
     //
     // fastLine3
     //
     this.fastLine3.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     this.fastLine3.ColorEach  = false;
     this.fastLine3.DataSource = this.fastLine1;
     this.fastLine3.Function   = this.polyFitting2;
     //
     //
     //
     this.fastLine3.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     //
     //
     //
     //
     //
     //
     this.fastLine3.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine3.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine3.Marks.Callout.Distance    = 0;
     this.fastLine3.Marks.Callout.Draw3D      = false;
     this.fastLine3.Marks.Callout.Length      = 10;
     this.fastLine3.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine3.Marks.Callout.Visible     = false;
     this.fastLine3.Title      = "Curve 2";
     this.fastLine3.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine3.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(72, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Animate";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(104, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Poly 1 degree:";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(184, 16);
     this.numericUpDown1.Maximum  = new decimal(new int[] {
         20,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(40, 20);
     this.numericUpDown1.TabIndex = 3;
     this.numericUpDown1.Value    = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(240, 16);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Poly 2 degree:";
     //
     // numericUpDown2
     //
     this.numericUpDown2.Location = new System.Drawing.Point(320, 16);
     this.numericUpDown2.Maximum  = new decimal(new int[] {
         20,
         0,
         0,
         0
     });
     this.numericUpDown2.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown2.Name     = "numericUpDown2";
     this.numericUpDown2.Size     = new System.Drawing.Size(40, 20);
     this.numericUpDown2.TabIndex = 5;
     this.numericUpDown2.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
     //
     // timer1
     //
     this.timer1.Interval = 10;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // gridBand1
     //
     this.gridBand1.Axis = this.tChart1.Axes.Left;
     //
     //
     //
     this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     //
     // Function_CurveFitting
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(464, 333);
     this.Name = "Function_CurveFitting";
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(Function_PVO));
     this.volume1      = new Steema.TeeChart.Styles.Volume();
     this.button1      = new System.Windows.Forms.Button();
     this.fastLine1    = new Steema.TeeChart.Styles.FastLine();
     this.pvoFunction1 = new Steema.TeeChart.Functions.PVOFunction();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = "PVO function (Percentage Volume Oscillator) is a financial indicator. Requires on" +
                          "e source series (of any type) and 2 period values.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MaximumOffset = 5;
     this.tChart1.Axes.Bottom.MinimumOffset = 5;
     //
     //
     //
     this.tChart1.Axes.Bottom.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Bottom.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Bottom.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Depth.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Depth.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.DepthTop.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.DepthTop.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.DepthTop.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Left.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Left.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Right.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Right.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.MinorTicks.Visible = false;
     //
     //
     //
     this.tChart1.Axes.Top.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.tChart1.Axes.Top.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Header.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Header.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Header.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Header.Lines            = new string[] {
         "Percentage Volume Oscillator function"
     };
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
     this.tChart1.Legend.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Legend.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Legend.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Legend.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Legend.Brush.Gradient.Visible     = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Legend.Pen.Visible = false;
     this.tChart1.Legend.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Panel.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Panel.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = false;
     this.tChart1.Series.Add(this.volume1);
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Size = new System.Drawing.Size(440, 205);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120)))));
     this.tChart1.Walls.Back.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Back.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
     //
     //
     //
     this.tChart1.Walls.Back.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Bottom.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Bottom.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Bottom.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Left.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Left.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Left.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Left.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Right.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tChart1.Walls.Right.Brush.Gradient.SigmaFocus  = 0F;
     this.tChart1.Walls.Right.Brush.Gradient.SigmaScale  = 0F;
     this.tChart1.Walls.Right.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.tChart1.Walls.Right.Pen.Visible = false;
     //
     // volume1
     //
     //
     //
     //
     this.volume1.Brush.Color   = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.volume1.ClickableLine = false;
     this.volume1.Color         = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.volume1.ColorEach     = false;
     //
     //
     //
     this.volume1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.volume1.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.volume1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.volume1.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.volume1.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.volume1.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.volume1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.volume1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.volume1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.volume1.Marks.Callout.Distance    = 0;
     this.volume1.Marks.Callout.Draw3D      = false;
     this.volume1.Marks.Callout.Length      = 10;
     this.volume1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.volume1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.volume1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.volume1.Marks.Transparent      = true;
     //
     //
     //
     //
     //
     //
     this.volume1.Pointer.Brush.Color = System.Drawing.Color.Red;
     this.volume1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.volume1.Title = "volume1";
     //
     //
     //
     this.volume1.XValues.DataMember = "X";
     this.volume1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.volume1.YValues.DataMember = "Y";
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(32, 8);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 0;
     this.button1.Text      = "Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // fastLine1
     //
     this.fastLine1.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220)))));
     this.fastLine1.ColorEach  = false;
     this.fastLine1.DataSource = this.volume1;
     this.fastLine1.Function   = this.pvoFunction1;
     //
     //
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.fastLine1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.fastLine1.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.fastLine1.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.fastLine1.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.fastLine1.Marks.Callout.Distance    = 0;
     this.fastLine1.Marks.Callout.Draw3D      = false;
     this.fastLine1.Marks.Callout.Length      = 10;
     this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.fastLine1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.fastLine1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.fastLine1.Marks.Transparent      = true;
     this.fastLine1.Title      = "fastLine1";
     this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     //
     //
     //
     this.fastLine1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // pvoFunction1
     //
     this.pvoFunction1.Period = 12;
     //
     // Function_PVO
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Function_PVO";
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
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()
 {
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.checkBox2     = new System.Windows.Forms.CheckBox();
     this.fastLine1     = new Steema.TeeChart.Styles.FastLine();
     this.line1         = new Steema.TeeChart.Styles.Line();
     this.modeFunction1 = new Steema.TeeChart.Functions.ModeFunction();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Text = "The Mode function calculates the value with highest count of duplicates inside \r\n" +
                          "the source series data.\r\nIncludes the option to ignore null source values.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox2);
     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.ThemeIndex        = 7;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Axes
     //
     //
     // tChart1.Axes.Bottom
     //
     //
     // tChart1.Axes.Bottom.AxisPen
     //
     this.tChart1.Axes.Bottom.AxisPen.Width = 1;
     //
     // tChart1.Axes.Bottom.Grid
     //
     this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.Gray;
     this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     // tChart1.Axes.Bottom.MinorTicks
     //
     this.tChart1.Axes.Bottom.MinorTicks.Visible = false;
     //
     // tChart1.Axes.Bottom.Ticks
     //
     this.tChart1.Axes.Bottom.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Bottom.Ticks.Length = 2;
     //
     // tChart1.Axes.Bottom.TicksInner
     //
     this.tChart1.Axes.Bottom.TicksInner.Visible = false;
     //
     // tChart1.Axes.Depth
     //
     //
     // tChart1.Axes.Depth.AxisPen
     //
     this.tChart1.Axes.Depth.AxisPen.Width = 1;
     //
     // tChart1.Axes.Depth.Grid
     //
     this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.Gray;
     this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     // tChart1.Axes.Depth.MinorTicks
     //
     this.tChart1.Axes.Depth.MinorTicks.Visible = false;
     //
     // tChart1.Axes.Depth.Ticks
     //
     this.tChart1.Axes.Depth.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Depth.Ticks.Length = 2;
     //
     // tChart1.Axes.Depth.TicksInner
     //
     this.tChart1.Axes.Depth.TicksInner.Visible = false;
     //
     // tChart1.Axes.Left
     //
     //
     // tChart1.Axes.Left.AxisPen
     //
     this.tChart1.Axes.Left.AxisPen.Width = 1;
     //
     // tChart1.Axes.Left.Grid
     //
     this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.Gray;
     this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     // tChart1.Axes.Left.MinorTicks
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     // tChart1.Axes.Left.Ticks
     //
     this.tChart1.Axes.Left.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Left.Ticks.Length = 2;
     //
     // tChart1.Axes.Left.TicksInner
     //
     this.tChart1.Axes.Left.TicksInner.Visible = false;
     //
     // tChart1.Axes.Right
     //
     //
     // tChart1.Axes.Right.AxisPen
     //
     this.tChart1.Axes.Right.AxisPen.Width = 1;
     //
     // tChart1.Axes.Right.Grid
     //
     this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.Gray;
     this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     // tChart1.Axes.Right.MinorTicks
     //
     this.tChart1.Axes.Right.MinorTicks.Visible = false;
     //
     // tChart1.Axes.Right.Ticks
     //
     this.tChart1.Axes.Right.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Right.Ticks.Length = 2;
     //
     // tChart1.Axes.Right.TicksInner
     //
     this.tChart1.Axes.Right.TicksInner.Visible = false;
     //
     // tChart1.Axes.Top
     //
     //
     // tChart1.Axes.Top.AxisPen
     //
     this.tChart1.Axes.Top.AxisPen.Width = 1;
     //
     // tChart1.Axes.Top.Grid
     //
     this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.Gray;
     this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     // tChart1.Axes.Top.MinorTicks
     //
     this.tChart1.Axes.Top.MinorTicks.Visible = false;
     //
     // tChart1.Axes.Top.Ticks
     //
     this.tChart1.Axes.Top.Ticks.Color  = System.Drawing.Color.Black;
     this.tChart1.Axes.Top.Ticks.Length = 2;
     //
     // tChart1.Axes.Top.TicksInner
     //
     this.tChart1.Axes.Top.TicksInner.Visible = false;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Brush
     //
     this.tChart1.Header.Brush.Color = System.Drawing.Color.White;
     //
     // tChart1.Header.Gradient
     //
     this.tChart1.Header.Brush.Gradient.EndColor    = System.Drawing.Color.Gray;
     this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.Empty;
     this.tChart1.Header.Brush.Gradient.StartColor  = System.Drawing.Color.White;
     this.tChart1.Header.Brush.Gradient.Visible     = true;
     //
     // tChart1.Header.Font
     //
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.Black;
     this.tChart1.Header.Font.Size        = 12;
     //
     // tChart1.Header.Gradient
     //
     this.tChart1.Header.Gradient.EndColor    = System.Drawing.Color.Gray;
     this.tChart1.Header.Gradient.MiddleColor = System.Drawing.Color.Empty;
     this.tChart1.Header.Gradient.StartColor  = System.Drawing.Color.White;
     this.tChart1.Header.Gradient.Visible     = true;
     this.tChart1.Header.Lines = new string[] {
         "TeeChart"
     };
     //
     // tChart1.Legend
     //
     //
     // tChart1.Legend.DividingLines
     //
     this.tChart1.Legend.DividingLines.Visible = true;
     //
     // tChart1.Legend.Font
     //
     this.tChart1.Legend.Font.Size = 10;
     //
     // tChart1.Legend.Shadow
     //
     //
     // tChart1.Legend.Shadow.Brush
     //
     this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.tChart1.Legend.Shadow.Height      = 0;
     this.tChart1.Legend.Shadow.Width       = 0;
     this.tChart1.Legend.Transparent        = true;
     this.tChart1.Name = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Bevel
     //
     this.tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.White;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.Yellow;
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.Empty;
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.White;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.EndColor    = System.Drawing.Color.Yellow;
     this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.Empty;
     this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.White;
     //
     // tChart1.Panel.Pen
     //
     this.tChart1.Panel.Pen.Visible = true;
     //
     // tChart1.Panel.Shadow
     //
     this.tChart1.Panel.Shadow.Height = 0;
     this.tChart1.Panel.Shadow.Width  = 0;
     this.tChart1.Series.Add(this.fastLine1);
     this.tChart1.Series.Add(this.line1);
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     this.tChart1.Walls.Back.ApplyDark = false;
     //
     // tChart1.Walls.Back.Brush
     //
     this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.White;
     this.tChart1.Walls.Back.Size        = 8;
     this.tChart1.Walls.Back.Transparent = false;
     //
     // tChart1.Walls.Bottom
     //
     this.tChart1.Walls.Bottom.ApplyDark = false;
     this.tChart1.Walls.Bottom.Size      = 8;
     //
     // tChart1.Walls.Left
     //
     this.tChart1.Walls.Left.ApplyDark = false;
     //
     // tChart1.Walls.Left.Brush
     //
     this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.White;
     this.tChart1.Walls.Left.Size        = 8;
     //
     // tChart1.Walls.Right
     //
     this.tChart1.Walls.Right.ApplyDark = false;
     //
     // tChart1.Walls.Right.Brush
     //
     this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.White;
     this.tChart1.Walls.Right.Size        = 8;
     //
     // 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(24, 8);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(184, 24);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "Include Null values in calculation";
     this.checkBox1.Click          += new System.EventHandler(this.checkBox1_Click);
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.Checked    = true;
     this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox2.Location   = new System.Drawing.Point(248, 9);
     this.checkBox2.Name       = "checkBox2";
     this.checkBox2.Size       = new System.Drawing.Size(192, 24);
     this.checkBox2.TabIndex   = 1;
     this.checkBox2.Text       = "Hide Null values in Source series";
     this.checkBox2.Click     += new System.EventHandler(this.checkBox2_Click);
     //
     // fastLine1
     //
     //
     // fastLine1.LinePen
     //
     this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     //
     // fastLine1.Marks
     //
     //
     // fastLine1.Marks.Arrow
     //
     this.fastLine1.Marks.Arrow.Color = System.Drawing.Color.Black;
     //
     // fastLine1.Marks.Brush
     //
     //
     // fastLine1.Marks.Gradient
     //
     this.fastLine1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.Silver;
     //
     // fastLine1.Marks.Font
     //
     this.fastLine1.Marks.Font.Size = 10;
     //
     // fastLine1.Marks.Gradient
     //
     this.fastLine1.Marks.Gradient.StartColor = System.Drawing.Color.Silver;
     //
     // fastLine1.Marks.Symbol
     //
     //
     // fastLine1.Marks.Symbol.Shadow
     //
     this.fastLine1.Marks.Symbol.Shadow.Height  = 1;
     this.fastLine1.Marks.Symbol.Shadow.Visible = true;
     this.fastLine1.Marks.Symbol.Shadow.Width   = 1;
     this.fastLine1.Marks.Transparent           = true;
     this.fastLine1.Title = "Source";
     //
     // fastLine1.XValues
     //
     this.fastLine1.XValues.DataMember = "X";
     this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // fastLine1.YValues
     //
     this.fastLine1.YValues.DataMember = "Y";
     //
     // line1
     //
     //
     // line1.Brush
     //
     this.line1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(49)), ((System.Byte)(83)), ((System.Byte)(196)));
     this.line1.DataSource  = this.fastLine1;
     this.line1.Function    = this.modeFunction1;
     //
     // line1.Marks
     //
     //
     // line1.Marks.Arrow
     //
     this.line1.Marks.Arrow.Color = System.Drawing.Color.Black;
     //
     // line1.Marks.Brush
     //
     //
     // line1.Marks.Gradient
     //
     this.line1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.Silver;
     //
     // line1.Marks.Font
     //
     this.line1.Marks.Font.Size = 10;
     //
     // line1.Marks.Gradient
     //
     this.line1.Marks.Gradient.StartColor = System.Drawing.Color.Silver;
     //
     // line1.Marks.Symbol
     //
     //
     // line1.Marks.Symbol.Shadow
     //
     this.line1.Marks.Symbol.Shadow.Height  = 1;
     this.line1.Marks.Symbol.Shadow.Visible = true;
     this.line1.Marks.Symbol.Shadow.Width   = 1;
     this.line1.Marks.Transparent           = true;
     //
     // line1.Pointer
     //
     this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "Mode";
     this.line1.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Right;
     //
     // line1.XValues
     //
     this.line1.XValues.DataMember = "X";
     this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // line1.YValues
     //
     this.line1.YValues.DataMember = "Y";
     //
     // Mode
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Mode";
     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()
 {
     this.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
     this.label1          = new System.Windows.Forms.Label();
     this.radioButton1    = new System.Windows.Forms.RadioButton();
     this.radioButton2    = new System.Windows.Forms.RadioButton();
     this.panel1.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(592, 73);
     this.textBox1.Text = "The Fast-Line series below is displaying 100.000 ! To speed up display, a new pro" +
                          "perty ( DrawAllPoints ) only draws line segments between points that are not pla" +
                          "ced at the same \"X\" pixel position.\r\n\r\nfastlineSeries1.DrawAllPoints = false ;";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(592, 31);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.View3D = false;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[] {
         "tChart1"
     };
     this.tChart1.Header.Visible = false;
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Visible = false;
     this.tChart1.Location       = new System.Drawing.Point(0, 104);
     this.tChart1.Name           = "tChart1";
     this.tChart1.Series.Add(this.fastLineSeries1);
     this.tChart1.Size = new System.Drawing.Size(592, 264);
     //
     // fastLineSeries1
     //
     this.fastLineSeries1.Cursor = System.Windows.Forms.Cursors.Cross;
     //
     // fastLineSeries1.LinePen
     //
     this.fastLineSeries1.LinePen.Color = System.Drawing.Color.Red;
     this.fastLineSeries1.Title         = "fastLineSeries1";
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.Location    = new System.Drawing.Point(18, 10);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(37, 16);
     this.label1.TabIndex    = 0;
     this.label1.Text        = "Draw :";
     this.label1.UseMnemonic = false;
     //
     // radioButton1
     //
     this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.radioButton1.Location        = new System.Drawing.Point(104, 6);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.TabIndex        = 1;
     this.radioButton1.Text            = "&All points";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.Checked         = true;
     this.radioButton2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.radioButton2.Location        = new System.Drawing.Point(192, 6);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(152, 24);
     this.radioButton2.TabIndex        = 2;
     this.radioButton2.TabStop         = true;
     this.radioButton2.Text            = "&Non-repeated X only";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // Fastline_DrawAll
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 368);
     this.Name = "Fastline_DrawAll";
     this.panel1.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.fastLineSeries1 = new Steema.TeeChart.Styles.FastLine();
            this.checkBox1       = new System.Windows.Forms.CheckBox();
            this.checkBox2       = new System.Windows.Forms.CheckBox();
            this.checkBox3       = new System.Windows.Forms.CheckBox();
            this.button1         = new System.Windows.Forms.Button();
            this.fastLineSeries2 = new Steema.TeeChart.Styles.FastLine();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(511, 64);
            this.textBox1.Text = @"The Fast-Line chart style is, at it's name implies, the fastest way to plot many points.  It simply draws a thin line connecting all points.
Some optimizations (like not drawing repeated values) are performed. It can be used in real-time applications to plot new added points.";
            //
            // panel1
            //
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.checkBox3);
            this.panel1.Controls.Add(this.checkBox2);
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Location = new System.Drawing.Point(0, 64);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(511, 40);
            //
            // tChart1
            //
            //
            // tChart1.Aspect
            //
            this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
            this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.tChart1.BackColor = System.Drawing.Color.Transparent;
            //
            // tChart1.Header
            //
            this.tChart1.Header.Lines = new string[] {
                "tChart1"
            };
            this.tChart1.Location = new System.Drawing.Point(0, 104);
            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.fastLineSeries1);
            this.tChart1.Series.Add(this.fastLineSeries2);
            this.tChart1.Size = new System.Drawing.Size(511, 208);
            //
            // tChart1.Walls
            //
            //
            // tChart1.Walls.Back
            //
            //
            // tChart1.Walls.Back.Brush
            //
            this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
            //
            // tChart1.Walls.Bottom
            //
            //
            // tChart1.Walls.Bottom.Brush
            //
            this.tChart1.Walls.Bottom.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(178)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
            //
            // tChart1.Walls.Bottom.Gradient
            //
            this.tChart1.Walls.Bottom.Brush.Gradient.Transparency = 30;
            //
            // tChart1.Walls.Bottom.Gradient
            //
            this.tChart1.Walls.Bottom.Gradient.Transparency = 30;
            //
            // tChart1.Walls.Left
            //
            //
            // tChart1.Walls.Left.Brush
            //
            this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(178)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(224)));
            //
            // tChart1.Walls.Left.Gradient
            //
            this.tChart1.Walls.Left.Brush.Gradient.Transparency = 30;
            //
            // tChart1.Walls.Left.Gradient
            //
            this.tChart1.Walls.Left.Gradient.Transparency = 30;
            //
            // fastLineSeries1
            //
            this.fastLineSeries1.Cursor = System.Windows.Forms.Cursors.Cross;
            //
            // fastLineSeries1.LinePen
            //
            this.fastLineSeries1.LinePen.Color = System.Drawing.Color.Red;
            //
            // fastLineSeries1.Marks
            //
            //
            // fastLineSeries1.Marks.Symbol
            //
            //
            // fastLineSeries1.Marks.Symbol.Shadow
            //
            this.fastLineSeries1.Marks.Symbol.Shadow.Height  = 1;
            this.fastLineSeries1.Marks.Symbol.Shadow.Visible = true;
            this.fastLineSeries1.Marks.Symbol.Shadow.Width   = 1;
            this.fastLineSeries1.Title = "fastLine2";
            //
            // fastLineSeries1.XValues
            //
            this.fastLineSeries1.XValues.DataMember = "X";
            this.fastLineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            // fastLineSeries1.YValues
            //
            this.fastLineSeries1.YValues.DataMember = "Y";
            //
            // checkBox1
            //
            this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox1.Location        = new System.Drawing.Point(14, 8);
            this.checkBox1.Name            = "checkBox1";
            this.checkBox1.Size            = new System.Drawing.Size(73, 22);
            this.checkBox1.TabIndex        = 0;
            this.checkBox1.Text            = "&Buffered";
            this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
            //
            // checkBox2
            //
            this.checkBox2.Checked         = true;
            this.checkBox2.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.checkBox2.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox2.Location        = new System.Drawing.Point(95, 8);
            this.checkBox2.Name            = "checkBox2";
            this.checkBox2.Size            = new System.Drawing.Size(89, 22);
            this.checkBox2.TabIndex        = 1;
            this.checkBox2.Text            = "&Draw Axes";
            this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
            //
            // checkBox3
            //
            this.checkBox3.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.checkBox3.Location        = new System.Drawing.Point(182, 8);
            this.checkBox3.Name            = "checkBox3";
            this.checkBox3.Size            = new System.Drawing.Size(81, 22);
            this.checkBox3.TabIndex        = 2;
            this.checkBox3.Text            = "&Clip points";
            this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
            //
            // button1
            //
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location  = new System.Drawing.Point(292, 8);
            this.button1.Name      = "button1";
            this.button1.TabIndex  = 3;
            this.button1.Text      = "&Test speed";
            this.button1.Click    += new System.EventHandler(this.button1_Click);
            //
            // fastLineSeries2
            //
            this.fastLineSeries2.Cursor = System.Windows.Forms.Cursors.Cross;
            //
            // fastLineSeries2.LinePen
            //
            this.fastLineSeries2.LinePen.Color = System.Drawing.Color.Green;
            //
            // fastLineSeries2.Marks
            //
            //
            // fastLineSeries2.Marks.Symbol
            //
            //
            // fastLineSeries2.Marks.Symbol.Shadow
            //
            this.fastLineSeries2.Marks.Symbol.Shadow.Height  = 1;
            this.fastLineSeries2.Marks.Symbol.Shadow.Visible = true;
            this.fastLineSeries2.Marks.Symbol.Shadow.Width   = 1;
            this.fastLineSeries2.Title = "fastLine2";
            //
            // fastLineSeries2.XValues
            //
            this.fastLineSeries2.XValues.DataMember = "X";
            this.fastLineSeries2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            // fastLineSeries2.YValues
            //
            this.fastLineSeries2.YValues.DataMember = "Y";
            //
            // SeriesType_Fastline
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(511, 312);
            this.Name = "SeriesType_Fastline";
            this.panel1.ResumeLayout(false);
            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(FastLine_TreatNulls));
            this.fastLine1    = new Steema.TeeChart.Styles.FastLine();
            this.groupBox1    = new System.Windows.Forms.GroupBox();
            this.radioButton3 = new System.Windows.Forms.RadioButton();
            this.radioButton2 = new System.Windows.Forms.RadioButton();
            this.radioButton1 = new System.Windows.Forms.RadioButton();
            this.panel1.SuspendLayout();
            this.chartContainer.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Text = resources.GetString("textBox1.Text");
            //
            // panel1
            //
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Size = new System.Drawing.Size(440, 64);
            //
            // tChart1
            //
            //
            //
            //
            this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
            this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
            this.tChart1.Aspect.View3D            = false;
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Header.Lines = new string[] {
                "FastLine : null points support"
            };
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            this.tChart1.Panel.Brush.Gradient.EndColor             = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(21)))), ((int)(((byte)(60)))), ((int)(((byte)(89)))));
            this.tChart1.Panel.Brush.Gradient.ExtendedColorPalette = null;
            this.tChart1.Panel.Brush.Gradient.MiddleColor          = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.tChart1.Panel.Brush.Gradient.Sigma      = true;
            this.tChart1.Panel.Brush.Gradient.SigmaFocus = 1F;
            this.tChart1.Panel.Brush.Gradient.SigmaScale = 0.8F;
            this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.tChart1.Panel.Brush.Gradient.UseMiddle  = true;
            this.tChart1.Panel.Brush.Gradient.Visible    = true;
            this.tChart1.Series.Add(this.fastLine1);
            this.tChart1.Size = new System.Drawing.Size(440, 180);
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            //
            // chartContainer
            //
            this.chartContainer.Location = new System.Drawing.Point(0, 137);
            this.chartContainer.Size     = new System.Drawing.Size(440, 180);
            //
            // fastLine1
            //
            this.fastLine1.ColorEach        = false;
            this.fastLine1.DefaultNullValue = 0;
            //
            //
            //
            this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(224)))), ((int)(((byte)(77)))), ((int)(((byte)(44)))));
            //
            //
            //
            //
            //
            //
            this.fastLine1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
            this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
            //
            //
            //
            this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
            this.fastLine1.Marks.Callout.Distance    = 0;
            this.fastLine1.Marks.Callout.Draw3D      = false;
            this.fastLine1.Marks.Callout.Length      = 10;
            this.fastLine1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
            //
            //
            //
            this.fastLine1.Title      = "fastLine1";
            this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
            //
            //
            //
            this.fastLine1.XValues.DataMember = "X";
            this.fastLine1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
            //
            //
            //
            this.fastLine1.YValues.DataMember = "Y";
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.radioButton3);
            this.groupBox1.Controls.Add(this.radioButton2);
            this.groupBox1.Controls.Add(this.radioButton1);
            this.groupBox1.Location = new System.Drawing.Point(12, 6);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(223, 48);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "Treat nulls";
            //
            // radioButton3
            //
            this.radioButton3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.radioButton3.Location  = new System.Drawing.Point(151, 19);
            this.radioButton3.Name      = "radioButton3";
            this.radioButton3.Size      = new System.Drawing.Size(54, 17);
            this.radioButton3.TabIndex  = 2;
            this.radioButton3.Text      = "Ignore";
#if VS2005
            this.radioButton3.UseVisualStyleBackColor = true;
            this.radioButton3.AutoSize = true;
#endif
            this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
            //
            // radioButton2
            //
            this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.radioButton2.Location  = new System.Drawing.Point(88, 19);
            this.radioButton2.Name      = "radioButton2";
            this.radioButton2.Size      = new System.Drawing.Size(45, 17);
            this.radioButton2.TabIndex  = 1;
            this.radioButton2.Text      = "Skip";
#if VS2005
            this.radioButton2.UseVisualStyleBackColor = true;
            this.radioButton2.AutoSize = true;
#endif
            this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
            //
            // radioButton1
            //
#if VS2005
            this.radioButton1.AutoSize = true;
            this.radioButton1.UseVisualStyleBackColor = true;
#endif
            this.radioButton1.Checked         = true;
            this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
            this.radioButton1.Location        = new System.Drawing.Point(6, 19);
            this.radioButton1.Name            = "radioButton1";
            this.radioButton1.Size            = new System.Drawing.Size(75, 17);
            this.radioButton1.TabIndex        = 0;
            this.radioButton1.TabStop         = true;
            this.radioButton1.Text            = "Don\'t paint";
            this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
            //
            // FastLine_TreatNulls
            //
            this.ClientSize = new System.Drawing.Size(440, 317);
            this.Name       = "FastLine_TreatNulls";
            this.panel1.ResumeLayout(false);
            this.chartContainer.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }