Exemple #1
0
        private void AddFieldNameToAxisTitle(Steema.TeeChart.Axis Axis, string FieldName)
        {
            // Add the specified fieldname to the specified axis.
            Axis.Visible = true;
            if (Axis.Title.Text.Length > 0 && Axis.Title.Text[0] == '[' && FieldName != "")
            {
                string   St         = Axis.Title.Text;
                string   Title      = StringManip.SplitOffBracketedValue(ref St, '[', ']');
                string[] FieldNames = Title.Split(",".ToCharArray());

                if (FieldName != "seriesname")
                {
                    bool Found = false;
                    foreach (string F in FieldNames)
                    {
                        if (F.Trim().ToLower() == FieldName.ToLower())
                        {
                            Found = true;
                        }
                    }
                    if (!Found)
                    {
                        if (Title != "")
                        {
                            Title = Title + ", ";
                        }
                        Title           = Title + FieldName;
                        Axis.Title.Text = "[" + Title + "]";
                    }
                }
            }
        }
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (comboBox1.SelectedIndex)
            {
            case 0: axis = bubble1.GetVertAxis; break;

            case 1: axis = bubble1.GetHorizAxis; break;
            }
            numericUpDown1_ValueChanged(sender, e);
        }
Exemple #3
0
        private void InitAxis()
        {
            tChart1.Axes.Custom.RemoveAll();
            tChart1.Panel.MarginLeft      = 3;
            tChart1.Axes.Left.Title.Text  = "";
            tChart1.Axes.Right.Title.Text = "";


            flow  = AddCustomAxis("flow - cfs", 0, 30);
            stage = AddCustomAxis("stage - feet", 35, 60);
            shift = AddCustomAxis("shift - feet", 76, 100);
        }
Exemple #4
0
        public Axis_MultiScroll()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();


            tChart1.Series.Add(fastLineSeries1);
            tChart1.Series.Add(fastLineSeries2);
            tChart1.Series.Add(candleSeries1);
            tChart1.Series.Add(volumeSeries1);

            foreach (TeeChart.Styles.Series s in this.tChart1.Series)
            {
                s.FillSampleValues(100);
            }

            // change the Left axis properties
            Steema.TeeChart.Axis axis = this.tChart1.Axes.Left;

            axis.AxisPen.Color = Color.Red;
            axis.StartPosition = 0;
            axis.EndPosition   = 32;

            // create custom axes. This can be done at design-time
            Green = new TeeChart.Axis(tChart1.Chart);
            this.tChart1.Axes.Custom.Add(Green);
            Green.AxisPen.Color = Color.Green;
            Green.StartPosition = 34;
            Green.EndPosition   = 65;

            Blue = new TeeChart.Axis(tChart1.Chart);
            this.tChart1.Axes.Custom.Add(Blue);
            Blue.AxisPen.Color = Color.Blue;
            Blue.StartPosition = 67;
            Blue.EndPosition   = 100;

            // associate series
            this.fastLineSeries1.VertAxis     = Steema.TeeChart.Styles.VerticalAxis.Left;
            this.fastLineSeries2.VertAxis     = Steema.TeeChart.Styles.VerticalAxis.Left;
            this.candleSeries1.CustomVertAxis = Green;
            this.volumeSeries1.CustomVertAxis = Blue;

            tChart1.Tools.Add(gridBand1);
            tChart1.Tools.Add(gridBand2);

            gridBand1.Axis = tChart1.Axes.Left;
            gridBand2.Axis = Blue;
        }
Exemple #5
0
        private Steema.TeeChart.Axis AddCustomAxis(string name, int start, int end)
        {
            var a = new Steema.TeeChart.Axis();

            tChart1.Axes.Custom.Add(a);


            //stageAxis.RelativePosition = -10;
            //stageAxis.StartEndPositionUnits = Steema.TeeChart.PositionUnits.Percent;
            a.StartPosition = start;
            a.EndPosition   = end;
            a.Grid.Visible  = true;
            a.Title.Angle   = 90;
            a.Title.Text    = name;
            return(a);
        }
        /// <summary>
        /// Generates specific logarithmic labels for axis.
        /// </summary>
        /// <param name="g">Graphics3D object</param>
        /// <param name="ax">Axis</param>
        /// <param name="majorlabels">array of logarithmic axis labels</param>
        /// <param name="minorticks">array of minor ticks</param>
        /// <param name="start">left/lower bound for minor tick</param>
        /// <param name="end">right/upper bound for minor tick</param>
        private void GenerateLogLabels(Steema.TeeChart.Drawing.Graphics3D g, Steema.TeeChart.Axis ax, double [] majorlabels, double [] minorticks, int start, int end)
        {
            ax.Labels.Items.Clear();
            int    mindecade = GetDecade(ax.Minimum);
            int    maxdecade = GetDecade(ax.Maximum);
            double currval;
            int    tickypos;

            start -= ax.MinorTicks.Length;
            end   += ax.MinorTicks.Length;

            g.Pen.Style = ax.MinorGrid.Style;
            g.Pen.Color = ax.MinorGrid.Color;

            for (int i = mindecade; i <= maxdecade; i++)
            {
                for (int j = 0; j < majorlabels.Length; j++)
                {
                    currval = majorlabels[j] * Math.Pow(10, i);
                    if (currval >= ax.Minimum && currval <= ax.Maximum)
                    {
                        ax.Labels.Items.Add(currval);
                    }
                }
                for (int k = 0; k < minorticks.Length; k++)
                {
                    currval = minorticks[k] * Math.Pow(10, i);
                    if (currval >= ax.Minimum && currval <= ax.Maximum)
                    {
                        tickypos = ax.CalcPosValue(currval);
                        if (ax.Horizontal)
                        {
                            g.Line(tickypos, start, tickypos, end);
                        }
                        else
                        {
                            g.Line(start, tickypos, end, tickypos);
                        }
                    }
                }
            }
        }
        private Steema.TeeChart.Axis TheAxis()
        {
            Steema.TeeChart.Axis result = null;
            switch (itemIndex)
            {
            case "rbLeft":
                result = tChart1.Axes.Left;
                break;

            case "rbRight":
                result = tChart1.Axes.Right;
                break;

            case "rbTop":
                result = tChart1.Axes.Top;
                break;

            case "rbBottom":
                result = tChart1.Axes.Bottom;
                break;
            }
            return(result);
        }
 private void Bottom_GetAxisDrawLabel(object sender, Steema.TeeChart.GetAxisDrawLabelEventArgs e)
 {
     Steema.TeeChart.Axis bottom = sender as Steema.TeeChart.Axis;
     bottom.Labels.Font.Bold = false;
     if (this.checkBox1.Checked)
     {
         if (e.X == bottom.CalcPosValue(bottom.Minimum))
         {
             bottom.Chart.Graphics3D.TextAlign = System.Drawing.StringAlignment.Near;
             bottom.Labels.Font.Bold           = true;
         }
         else
         if (e.X == bottom.CalcPosValue(bottom.Maximum))
         {
             bottom.Chart.Graphics3D.TextAlign = System.Drawing.StringAlignment.Far;
             bottom.Labels.Font.Bold           = true;
         }
         else
         {
             bottom.Labels.Font.Bold = false;
         }
     }
 }
Exemple #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_CCI));
     this.candle1        = new Steema.TeeChart.Styles.Candle();
     this.axis1          = new Steema.TeeChart.Axis(this.components);
     this.label1         = new System.Windows.Forms.Label();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label2         = new System.Windows.Forms.Label();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.cciFunction1   = new Steema.TeeChart.Functions.CCIFunction();
     this.line1          = new Steema.TeeChart.Styles.Line();
     this.axis2          = new Steema.TeeChart.Axis(this.components);
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = "CCI function (Commodity Channel Index), is a financial indicator. \r\nIt is used to" +
                          " identify cyclical turns in commodities.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MaximumOffset = 5;
     this.tChart1.Axes.Bottom.MinimumOffset = 5;
     this.tChart1.Axes.Custom.Add(this.axis1);
     this.tChart1.Axes.Custom.Add(this.axis2);
     //
     //
     //
     this.tChart1.Axes.Left.Visible = false;
     this.tChart1.Cursor            = System.Windows.Forms.Cursors.Default;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "CCI Function"
     };
     //
     //
     //
     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.Direction   = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.MarginLeft = 8;
     this.tChart1.Series.Add(this.candle1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size = new System.Drawing.Size(440, 205);
     //
     // candle1
     //
     //
     //
     //
     this.candle1.Brush.Color    = System.Drawing.Color.Red;
     this.candle1.CloseValues    = this.candle1.YValues;
     this.candle1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.candle1.ColorEach      = false;
     this.candle1.CustomVertAxis = this.axis1;
     this.candle1.DateValues     = this.candle1.XValues;
     //
     //
     //
     this.candle1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     this.candle1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.candle1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.candle1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.candle1.Marks.Callout.Distance    = 0;
     this.candle1.Marks.Callout.Draw3D      = false;
     this.candle1.Marks.Callout.Length      = 10;
     this.candle1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.candle1.Pointer.Brush.Color = System.Drawing.Color.Red;
     this.candle1.Pointer.Draw3D      = false;
     this.candle1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Title    = "candle1";
     this.candle1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // axis1
     //
     this.axis1.EndPosition   = 49;
     this.axis1.Horizontal    = false;
     this.axis1.MaximumOffset = 5;
     this.axis1.MinimumOffset = 5;
     this.axis1.OtherSide     = false;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(128, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Moving average period:";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location      = new System.Drawing.Point(128, 8);
     this.numericUpDown1.Name          = "numericUpDown1";
     this.numericUpDown1.Size          = new System.Drawing.Size(96, 20);
     this.numericUpDown1.TabIndex      = 1;
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(240, 10);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 23);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Constant:";
     //
     // textBox2
     //
     this.textBox2.Location     = new System.Drawing.Point(296, 8);
     this.textBox2.Name         = "textBox2";
     this.textBox2.Size         = new System.Drawing.Size(100, 20);
     this.textBox2.TabIndex     = 3;
     this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
     //
     // cciFunction1
     //
     this.cciFunction1.Period = 20;
     //
     // 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.CustomVertAxis = this.axis2;
     this.line1.DataSource     = this.candle1;
     this.line1.Function       = this.cciFunction1;
     //
     //
     //
     this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     //
     //
     //
     //
     //
     //
     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.Pointer.Brush.Color = System.Drawing.Color.Green;
     this.line1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title    = "line1";
     this.line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.line1.XValues.DateTime = true;
     this.line1.XValues.Order    = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // axis2
     //
     this.axis2.Horizontal    = false;
     this.axis2.OtherSide     = false;
     this.axis2.StartPosition = 51;
     //
     // Function_CCI
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Function_CCI";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.chartContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RSI_Function));
     this.comboBox1      = new System.Windows.Forms.ComboBox();
     this.label1         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.candle1        = new Steema.TeeChart.Styles.Candle();
     this.axis1          = new Steema.TeeChart.Axis(this.components);
     this.rsiFunction1   = new Steema.TeeChart.Functions.RSIFunction();
     this.line1          = new Steema.TeeChart.Styles.Line();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox1);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.Labels.Angle          = 90;
     this.tChart1.Axes.Bottom.Labels.DateTimeFormat = "dd/MM/yyyy";
     this.tChart1.Axes.Bottom.MaximumOffset         = 5;
     this.tChart1.Axes.Bottom.MinimumOffset         = 5;
     this.tChart1.Axes.Custom.Add(this.axis1);
     //
     //
     //
     this.tChart1.Axes.Left.EndPosition   = 58;
     this.tChart1.Axes.Left.MaximumOffset = 5;
     this.tChart1.Axes.Left.MinimumOffset = 5;
     //
     //
     //
     this.tChart1.Axes.Left.Title.Caption = "Stock Sample";
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.Title.Font.Brush.Color = System.Drawing.Color.Red;
     this.tChart1.Axes.Left.Title.Font.Size        = 9;
     this.tChart1.Axes.Left.Title.Font.SizeFloat   = 9F;
     this.tChart1.Axes.Left.Title.Lines            = new string[] {
         "Stock Sample"
     };
     this.tChart1.Cursor = System.Windows.Forms.Cursors.Default;
     //
     //
     //
     this.tChart1.Header.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.Direction   = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.MarginRight = 12;
     this.tChart1.Series.Add(this.candle1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size         = new System.Drawing.Size(440, 205);
     this.tChart1.AllowScroll += tChart1_AllowScroll;
     //
     // comboBox1
     //
     this.comboBox1.Items.AddRange(new object[] {
         "Open and Close",
         "Close only"
     });
     this.comboBox1.Location              = new System.Drawing.Point(84, 10);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex              = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     this.comboBox1.Click                += new System.EventHandler(this.comboBox1_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 14);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(74, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Calc. Method:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(256, 14);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(40, 15);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Period:";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(298, 12);
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(51, 20);
     this.numericUpDown1.TabIndex = 3;
     this.numericUpDown1.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // candle1
     //
     //
     //
     //
     this.candle1.Brush.Color = System.Drawing.Color.White;
     this.candle1.CloseValues = this.candle1.YValues;
     this.candle1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90)))));
     this.candle1.ColorEach   = false;
     this.candle1.DateValues  = this.candle1.XValues;
     //
     //
     //
     this.candle1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     this.candle1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.candle1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.candle1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.candle1.Marks.Callout.Distance    = 0;
     this.candle1.Marks.Callout.Draw3D      = false;
     this.candle1.Marks.Callout.Length      = 10;
     this.candle1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Marks.Callout.Visible     = false;
     //
     //
     //
     this.candle1.Pointer.Draw3D = false;
     this.candle1.Pointer.Style  = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Title          = "candle1";
     //
     //
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // axis1
     //
     this.axis1.Horizontal    = false;
     this.axis1.OtherSide     = true;
     this.axis1.StartPosition = 60;
     //
     //
     //
     this.axis1.Title.Angle   = 90;
     this.axis1.Title.Caption = "R.S.I";
     //
     //
     //
     //
     //
     //
     this.axis1.Title.Font.Brush.Color = System.Drawing.Color.Green;
     this.axis1.Title.Font.Size        = 9;
     this.axis1.Title.Font.SizeFloat   = 9F;
     this.axis1.Title.Lines            = new string[] {
         "R.S.I"
     };
     this.axis1.ZPosition = 0;
     //
     // rsiFunction1
     //
     this.rsiFunction1.Period = 1;
     //
     // 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.CustomVertAxis = this.axis1;
     this.line1.DataSource     = this.candle1;
     this.line1.Function       = this.rsiFunction1;
     //
     //
     //
     this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     //
     //
     //
     //
     //
     //
     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.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "line1";
     this.line1.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.line1.XValues.DateTime = true;
     this.line1.XValues.Order    = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line1.YValues.DataMember = "Close";
     //
     // RSI_Function
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name  = "RSI_Function";
     this.Load += new System.EventHandler(this.RSIFunction_Load);
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_ADX));
     this.label1       = new System.Windows.Forms.Label();
     this.UDPeriod     = new System.Windows.Forms.NumericUpDown();
     this.candle1      = new Steema.TeeChart.Styles.Candle();
     this.axis1        = new Steema.TeeChart.Axis(this.components);
     this.adxFunction1 = new Steema.TeeChart.Functions.ADXFunction();
     this.line1        = new Steema.TeeChart.Styles.Line();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.UDPeriod)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.UDPeriod);
     this.panel1.Controls.Add(this.label1);
     //
     // 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.Color   = System.Drawing.Color.Black;
     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.Custom.Add(this.axis1);
     //
     //
     //
     //
     //
     //
     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.Color   = System.Drawing.Color.Black;
     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.EndPosition   = 55;
     //
     //
     //
     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.MaximumOffset = 5;
     this.tChart1.Axes.Left.MinimumOffset = 5;
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Color   = System.Drawing.Color.Black;
     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.Color   = System.Drawing.Color.Black;
     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.Color   = System.Drawing.Color.Black;
     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.Cursor = System.Windows.Forms.Cursors.Default;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     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.Visible          = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     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.Panel.Shadow.Brush.Color = System.Drawing.Color.Black;
     this.tChart1.Series.Add(this.candle1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Series.Add(this.adxFunction1.DMUp);
     this.tChart1.Series.Add(this.adxFunction1.DMDown);
     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;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(48, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "&Period:";
     //
     // UDPeriod
     //
     this.UDPeriod.Location      = new System.Drawing.Point(63, 10);
     this.UDPeriod.Name          = "UDPeriod";
     this.UDPeriod.Size          = new System.Drawing.Size(79, 20);
     this.UDPeriod.TabIndex      = 1;
     this.UDPeriod.ValueChanged += new System.EventHandler(this.UDPeriod_ValueChanged);
     //
     // candle1
     //
     //
     //
     //
     this.candle1.Brush.Color = System.Drawing.Color.White;
     this.candle1.CloseValues = this.candle1.YValues;
     this.candle1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.candle1.ColorEach   = false;
     this.candle1.DateValues  = this.candle1.XValues;
     //
     //
     //
     this.candle1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.candle1.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.candle1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.candle1.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.candle1.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.candle1.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.candle1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.candle1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.candle1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.candle1.Marks.Callout.Distance    = 0;
     this.candle1.Marks.Callout.Draw3D      = false;
     this.candle1.Marks.Callout.Length      = 10;
     this.candle1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.candle1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.candle1.Marks.Transparent      = true;
     //
     //
     //
     this.candle1.Pointer.Draw3D = false;
     this.candle1.Pointer.Style  = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Title          = "candle1";
     //
     //
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // axis1
     //
     //
     //
     //
     this.axis1.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.axis1.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     this.axis1.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.axis1.Horizontal = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis1.MinorTicks.Color   = System.Drawing.Color.Black;
     this.axis1.MinorTicks.Visible = false;
     this.axis1.OtherSide          = false;
     this.axis1.StartPosition      = 61;
     //
     //
     //
     this.axis1.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130)))));
     //
     //
     //
     this.axis1.TicksInner.Visible = true;
     //
     // adxFunction1
     //
     //
     //
     //
     this.adxFunction1.DMDown.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
     this.adxFunction1.DMDown.ColorEach      = false;
     this.adxFunction1.DMDown.CustomVertAxis = this.axis1;
     //
     //
     //
     this.adxFunction1.DMDown.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.adxFunction1.DMDown.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.adxFunction1.DMDown.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.adxFunction1.DMDown.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.adxFunction1.DMDown.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.adxFunction1.DMDown.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.adxFunction1.DMDown.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.adxFunction1.DMDown.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.adxFunction1.DMDown.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.adxFunction1.DMDown.Marks.Callout.Distance    = 0;
     this.adxFunction1.DMDown.Marks.Callout.Draw3D      = false;
     this.adxFunction1.DMDown.Marks.Callout.Length      = 10;
     this.adxFunction1.DMDown.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.adxFunction1.DMDown.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.adxFunction1.DMDown.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.adxFunction1.DMDown.Marks.Transparent      = true;
     this.adxFunction1.DMDown.ShowInLegend           = false;
     this.adxFunction1.DMDown.Title      = "DMDown";
     this.adxFunction1.DMDown.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     this.adxFunction1.DMDown.VertAxis   = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.adxFunction1.DMDown.XValues.DataMember = "X";
     this.adxFunction1.DMDown.XValues.DateTime   = true;
     this.adxFunction1.DMDown.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.adxFunction1.DMDown.YValues.DataMember = "Y";
     //
     //
     //
     this.adxFunction1.DMUp.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     this.adxFunction1.DMUp.ColorEach      = false;
     this.adxFunction1.DMUp.CustomVertAxis = this.axis1;
     //
     //
     //
     this.adxFunction1.DMUp.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.adxFunction1.DMUp.Marks.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
     this.adxFunction1.DMUp.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.adxFunction1.DMUp.Marks.Brush.Gradient.SigmaFocus  = 0F;
     this.adxFunction1.DMUp.Marks.Brush.Gradient.SigmaScale  = 0F;
     this.adxFunction1.DMUp.Marks.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     //
     //
     //
     this.adxFunction1.DMUp.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.adxFunction1.DMUp.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.adxFunction1.DMUp.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.adxFunction1.DMUp.Marks.Callout.Distance    = 0;
     this.adxFunction1.DMUp.Marks.Callout.Draw3D      = false;
     this.adxFunction1.DMUp.Marks.Callout.Length      = 10;
     this.adxFunction1.DMUp.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.adxFunction1.DMUp.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.adxFunction1.DMUp.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.adxFunction1.DMUp.Marks.Transparent      = true;
     this.adxFunction1.DMUp.ShowInLegend           = false;
     this.adxFunction1.DMUp.Title      = "DMUp";
     this.adxFunction1.DMUp.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore;
     this.adxFunction1.DMUp.VertAxis   = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.adxFunction1.DMUp.XValues.DataMember = "X";
     this.adxFunction1.DMUp.XValues.DateTime   = true;
     this.adxFunction1.DMUp.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.adxFunction1.DMUp.YValues.DataMember = "Y";
     this.adxFunction1.Period = 14;
     //
     // line1
     //
     //
     //
     //
     this.line1.Brush.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.line1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.line1.ColorEach      = false;
     this.line1.CustomVertAxis = this.axis1;
     this.line1.DataSource     = this.candle1;
     this.line1.Function       = this.adxFunction1;
     //
     //
     //
     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         = "line1";
     this.line1.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.line1.XValues.DateTime = true;
     this.line1.XValues.Order    = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line1.YValues.DataMember = "Close";
     //
     // Function_ADX
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Function_ADX";
     this.panel1.ResumeLayout(false);
     this.chartContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.UDPeriod)).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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_OBV));
     this.candle1      = new Steema.TeeChart.Styles.Candle();
     this.axis1        = new Steema.TeeChart.Axis(this.components);
     this.volume1      = new Steema.TeeChart.Styles.Volume();
     this.axis2        = new Steema.TeeChart.Axis(this.components);
     this.obvFunction1 = new Steema.TeeChart.Functions.OBVFunction();
     this.line1        = new Steema.TeeChart.Styles.Line();
     this.axis3        = new Steema.TeeChart.Axis(this.components);
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Text = resources.GetString("textBox1.Text");
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MaximumOffset = 5;
     this.tChart1.Axes.Bottom.MinimumOffset = 5;
     this.tChart1.Axes.Custom.Add(this.axis1);
     this.tChart1.Axes.Custom.Add(this.axis2);
     this.tChart1.Axes.Custom.Add(this.axis3);
     this.tChart1.Cursor = System.Windows.Forms.Cursors.Default;
     //
     //
     //
     this.tChart1.Header.Lines = new string[0];
     //
     //
     //
     //
     //
     //
     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.Direction   = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.tChart1.Panel.Brush.Gradient.EndColor    = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.tChart1.Panel.MarginLeft = 8;
     this.tChart1.Series.Add(this.candle1);
     this.tChart1.Series.Add(this.volume1);
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size = new System.Drawing.Size(440, 205);
     //
     // candle1
     //
     //
     //
     //
     this.candle1.Brush.Color    = System.Drawing.Color.White;
     this.candle1.CloseValues    = this.candle1.YValues;
     this.candle1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.candle1.ColorEach      = false;
     this.candle1.CustomVertAxis = this.axis1;
     this.candle1.DateValues     = this.candle1.XValues;
     //
     //
     //
     this.candle1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     this.candle1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.candle1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.candle1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.candle1.Marks.Callout.Distance    = 0;
     this.candle1.Marks.Callout.Draw3D      = false;
     this.candle1.Marks.Callout.Length      = 10;
     this.candle1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.candle1.Pointer.Brush.Color = System.Drawing.Color.Red;
     this.candle1.Pointer.Draw3D      = false;
     this.candle1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Title    = "Candle";
     this.candle1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // axis1
     //
     this.axis1.EndPosition   = 37;
     this.axis1.Horizontal    = false;
     this.axis1.MaximumOffset = 5;
     this.axis1.MinimumOffset = 5;
     this.axis1.OtherSide     = false;
     //
     // volume1
     //
     //
     //
     //
     //this.volume1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.volume1.ClickableLine  = false;
     this.volume1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.volume1.ColorEach      = false;
     this.volume1.CustomVertAxis = this.axis2;
     //
     //
     //
     this.volume1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     //
     //
     //
     //
     //
     //
     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.Pointer.Brush.Color = System.Drawing.Color.Green;
     this.volume1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.volume1.Title    = "Volume";
     this.volume1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.volume1.XValues.DataMember = "X";
     this.volume1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.volume1.YValues.DataMember = "Y";
     //
     // axis2
     //
     this.axis2.EndPosition   = 66;
     this.axis2.Horizontal    = false;
     this.axis2.OtherSide     = false;
     this.axis2.StartPosition = 40;
     //
     // obvFunction1
     //
     this.obvFunction1.Period = 1;
     this.obvFunction1.Volume = this.volume1;
     //
     // line1
     //
     //
     //
     //
     this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     //this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20)))));
     this.line1.ColorEach      = false;
     this.line1.CustomVertAxis = this.axis3;
     this.line1.DataSource     = this.candle1;
     this.line1.Function       = this.obvFunction1;
     //
     //
     //
     this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(46)))), ((int)(((byte)(12)))));
     //
     //
     //
     //
     //
     //
     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.Pointer.Brush.Color = System.Drawing.Color.Yellow;
     this.line1.Pointer.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title    = "OBV Function";
     this.line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.line1.XValues.DateTime = true;
     this.line1.XValues.Order    = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // axis3
     //
     this.axis3.Horizontal    = false;
     this.axis3.OtherSide     = false;
     this.axis3.StartPosition = 68;
     //
     // Function_OBV
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "Function_OBV";
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 public Axis_GridDrawEvery()
 {
     InitializeComponent();
     bubble1.FillSampleValues(6);
     axis = bubble1.GetVertAxis;
 }
Exemple #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tool_Cursor));
     this.lineSeries1 = new Steema.TeeChart.Styles.Line();
     this.lineSeries2 = new Steema.TeeChart.Styles.Line();
     this.axis1       = new Steema.TeeChart.Axis(this.components);
     this.label1      = new System.Windows.Forms.Label();
     this.label2      = new System.Windows.Forms.Label();
     this.checkBox1   = new System.Windows.Forms.CheckBox();
     this.checkBox2   = new System.Windows.Forms.CheckBox();
     this.button1     = new System.Windows.Forms.Button();
     this.cursorTool1 = new Steema.TeeChart.Tools.CursorTool();
     this.cursorTool2 = new Steema.TeeChart.Tools.CursorTool();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Size = new System.Drawing.Size(406, 56);
     this.textBox1.Text = "Cursor Tool is used to display vertical and / or horizontal lines on top of chart" +
                          "s. Cursors can be dragged by mouse or by code at runtime. They notify position c" +
                          "hanges with the OnChange event.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(0, 56);
     this.panel1.Size     = new System.Drawing.Size(406, 52);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     this.tChart1.Axes.Custom.Add(this.axis1);
     //
     //
     //
     this.tChart1.Axes.Left.EndPosition = 50;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.Labels.Font.Size      = 7;
     this.tChart1.Axes.Left.Labels.Font.SizeFloat = 7F;
     this.tChart1.Axes.Left.LogarithmicBase       = 2;
     //
     //
     //
     this.tChart1.Header.Lines = new string[] {
         "Cursor tool example"
     };
     this.tChart1.Header.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tChart1.Series.Add(this.lineSeries1);
     this.tChart1.Series.Add(this.lineSeries2);
     this.tChart1.Size = new System.Drawing.Size(406, 155);
     this.tChart1.Tools.Add(this.cursorTool1);
     this.tChart1.Tools.Add(this.cursorTool2);
     this.tChart1.AfterDraw += new Steema.TeeChart.PaintChartEventHandler(this.tChart1_AfterDraw);
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 108);
     this.chartContainer.Size     = new System.Drawing.Size(406, 155);
     //
     // lineSeries1
     //
     //
     //
     //
     this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.lineSeries1.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163)))));
     this.lineSeries1.ColorEach   = false;
     //
     //
     //
     this.lineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98)))));
     //
     //
     //
     //
     //
     //
     this.lineSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries1.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.lineSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries1.Marks.Callout.Distance    = 0;
     this.lineSeries1.Marks.Callout.Draw3D      = false;
     this.lineSeries1.Marks.Callout.Length      = 10;
     this.lineSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Marks.Callout.Visible     = false;
     //
     //
     //
     this.lineSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Title         = "line1";
     //
     //
     //
     this.lineSeries1.XValues.DataMember = "X";
     this.lineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.lineSeries1.YValues.DataMember = "Y";
     //
     // lineSeries2
     //
     //
     //
     //
     this.lineSeries2.Brush.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.lineSeries2.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53)))));
     this.lineSeries2.ColorEach      = false;
     this.lineSeries2.CustomVertAxis = this.axis1;
     //
     //
     //
     this.lineSeries2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32)))));
     //
     //
     //
     //
     //
     //
     this.lineSeries2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.lineSeries2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries2.Marks.Callout.Distance    = 0;
     this.lineSeries2.Marks.Callout.Draw3D      = false;
     this.lineSeries2.Marks.Callout.Length      = 10;
     this.lineSeries2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries2.Marks.Callout.Visible     = false;
     //
     //
     //
     this.lineSeries2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries2.Title         = "line2";
     this.lineSeries2.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     //
     //
     this.lineSeries2.XValues.DataMember = "X";
     this.lineSeries2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.lineSeries2.YValues.DataMember = "Y";
     //
     // axis1
     //
     this.axis1.Horizontal = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis1.Labels.Font.Size      = 7;
     this.axis1.Labels.Font.SizeFloat = 7F;
     this.axis1.OtherSide             = false;
     this.axis1.StartPosition         = 50;
     //
     // label1
     //
     this.label1.AutoSize    = true;
     this.label1.Location    = new System.Drawing.Point(5, 7);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(0, 13);
     this.label1.TabIndex    = 0;
     this.label1.UseMnemonic = false;
     //
     // label2
     //
     this.label2.AutoSize    = true;
     this.label2.Location    = new System.Drawing.Point(5, 26);
     this.label2.Name        = "label2";
     this.label2.Size        = new System.Drawing.Size(0, 13);
     this.label2.TabIndex    = 1;
     this.label2.UseMnemonic = false;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(107, 12);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(53, 23);
     this.checkBox1.TabIndex        = 2;
     this.checkBox1.Text            = "&Snap";
     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(167, 12);
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(72, 23);
     this.checkBox2.TabIndex        = 3;
     this.checkBox2.Text            = "&Active";
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(247, 12);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 4;
     this.button1.Text      = "&Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // cursorTool1
     //
     this.cursorTool1.Series  = this.lineSeries1;
     this.cursorTool1.Style   = Steema.TeeChart.Tools.CursorToolStyles.Vertical;
     this.cursorTool1.Change += new Steema.TeeChart.Tools.CursorChangeEventHandler(this.cursorTool1_Change);
     //
     // cursorTool2
     //
     this.cursorTool2.FollowMouse = true;
     this.cursorTool2.Series      = this.lineSeries2;
     this.cursorTool2.Change     += new Steema.TeeChart.Tools.CursorChangeEventHandler(this.cursorTool2_Change);
     //
     // Tool_Cursor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(406, 263);
     this.Name = "Tool_Cursor";
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.chartContainer.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components     = new System.ComponentModel.Container();
     this.candle1        = new Steema.TeeChart.Styles.Candle();
     this.axis1          = new Steema.TeeChart.Axis(this.tChart1.Chart);
     this.line1          = new Steema.TeeChart.Styles.Line();
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.label1         = new System.Windows.Forms.Label();
     this.checkBox2      = new System.Windows.Forms.CheckBox();
     this.checkBox3      = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Text = "The MACD function (Moving Average Convergence Divergence) ,\r\nused in financial ch" +
                          "arts. ";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Name = "panel1";
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     this.tChart1.Aspect.View3D            = false;
     //
     // tChart1.Axes
     //
     this.tChart1.Axes.Custom.Add(this.axis1);
     //
     // tChart1.Axes.Left
     //
     this.tChart1.Axes.Left.EndPosition = 48;
     //
     // tChart1.Axes.Left.Title
     //
     this.tChart1.Axes.Left.Title.Caption = "Candle";
     //
     // tChart1.Axes.Left.Title.Font
     //
     //
     // tChart1.Axes.Left.Title.Font.Brush
     //
     this.tChart1.Axes.Left.Title.Font.Brush.Color = System.Drawing.Color.Navy;
     //
     // tChart1.Axes.Left.Title.Font.Shadow
     //
     //
     // tChart1.Axes.Left.Title.Font.Shadow.Brush
     //
     this.tChart1.Axes.Left.Title.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.tChart1.Axes.Left.Title.Font.Shadow.Height      = 0;
     this.tChart1.Axes.Left.Title.Font.Shadow.Width       = 0;
     this.tChart1.Axes.Left.Title.Lines = new string[] {
         "Candle"
     };
     this.tChart1.Cursor = System.Windows.Forms.Cursors.Default;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[] {
         "TeeChart"
     };
     this.tChart1.Header.Visible = false;
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
     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.candle1);
     this.tChart1.Series.Add(this.line1);
     //
     // candle1
     //
     //
     // candle1.Brush
     //
     this.candle1.Brush.Color    = System.Drawing.Color.Red;
     this.candle1.CloseValues    = this.candle1.YValues;
     this.candle1.DateValues     = this.candle1.XValues;
     this.candle1.DownCloseColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0)));
     //
     // candle1.Marks
     //
     //
     // candle1.Marks.Symbol
     //
     //
     // candle1.Marks.Symbol.Shadow
     //
     this.candle1.Marks.Symbol.Shadow.Height  = 1;
     this.candle1.Marks.Symbol.Shadow.Visible = true;
     this.candle1.Marks.Symbol.Shadow.Width   = 1;
     //
     // candle1.Pointer
     //
     this.candle1.Pointer.Draw3D = false;
     this.candle1.Pointer.Style  = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.candle1.Style          = Steema.TeeChart.Styles.CandleStyles.CandleBar;
     this.candle1.Title          = "Source";
     this.candle1.UpCloseColor   = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(255)));
     //
     // candle1.XValues
     //
     this.candle1.XValues.DataMember = "Date";
     this.candle1.XValues.DateTime   = true;
     this.candle1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // candle1.YValues
     //
     this.candle1.YValues.DataMember = "Close";
     //
     // axis1
     //
     this.axis1.Horizontal    = false;
     this.axis1.OtherSide     = false;
     this.axis1.StartPosition = 52;
     //
     // axis1.Title
     //
     this.axis1.Title.Angle   = 90;
     this.axis1.Title.Caption = "MACD";
     //
     // axis1.Title.Font
     //
     //
     // axis1.Title.Font.Brush
     //
     this.axis1.Title.Font.Brush.Color = System.Drawing.Color.Green;
     this.axis1.Title.Lines            = new string[] {
         "MACD"
     };
     //
     // line1
     //
     //
     // line1.Brush
     //
     this.line1.Brush.Color    = System.Drawing.Color.Green;
     this.line1.CustomVertAxis = this.axis1;
     this.line1.DataSource     = this.candle1;
     //
     // line1.Marks
     //
     //
     // 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;
     //
     // line1.Pointer
     //
     this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "MACD";
     this.line1.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     // line1.XValues
     //
     this.line1.XValues.DateTime = true;
     this.line1.XValues.Order    = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // line1.YValues
     //
     this.line1.YValues.DataMember = "Close";
     //
     // checkBox1
     //
     this.checkBox1.Checked    = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location   = new System.Drawing.Point(8, 8);
     this.checkBox1.Name       = "checkBox1";
     this.checkBox1.Size       = new System.Drawing.Size(88, 24);
     this.checkBox1.TabIndex   = 0;
     this.checkBox1.Text       = "Show MACD";
     this.checkBox1.Click     += new System.EventHandler(this.checkBox1_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.numericUpDown3);
     this.groupBox1.Controls.Add(this.numericUpDown2);
     this.groupBox1.Controls.Add(this.numericUpDown1);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(94, 1);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(189, 37);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Period";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(124, 16);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(14, 12);
     this.label3.TabIndex = 4;
     this.label3.Text     = "3:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(62, 16);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(14, 12);
     this.label2.TabIndex = 3;
     this.label2.Text     = "2:";
     //
     // numericUpDown3
     //
     this.numericUpDown3.Location      = new System.Drawing.Point(138, 13);
     this.numericUpDown3.Name          = "numericUpDown3";
     this.numericUpDown3.Size          = new System.Drawing.Size(44, 20);
     this.numericUpDown3.TabIndex      = 2;
     this.numericUpDown3.ValueChanged += new System.EventHandler(this.numericUpDown3_ValueChanged);
     //
     // numericUpDown2
     //
     this.numericUpDown2.Location      = new System.Drawing.Point(77, 13);
     this.numericUpDown2.Name          = "numericUpDown2";
     this.numericUpDown2.Size          = new System.Drawing.Size(44, 20);
     this.numericUpDown2.TabIndex      = 1;
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location      = new System.Drawing.Point(15, 13);
     this.numericUpDown1.Name          = "numericUpDown1";
     this.numericUpDown1.Size          = new System.Drawing.Size(44, 20);
     this.numericUpDown1.TabIndex      = 0;
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(3, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(14, 12);
     this.label1.TabIndex = 2;
     this.label1.Text     = "1:";
     this.label1.Click   += new System.EventHandler(this.label1_Click);
     //
     // checkBox2
     //
     this.checkBox2.Checked    = true;
     this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.Location   = new System.Drawing.Point(293, 4);
     this.checkBox2.Name       = "checkBox2";
     this.checkBox2.Size       = new System.Drawing.Size(136, 16);
     this.checkBox2.TabIndex   = 2;
     this.checkBox2.Text       = "Show line MACD &Exp.";
     this.checkBox2.Click     += new System.EventHandler(this.checkBox2_Click);
     //
     // checkBox3
     //
     this.checkBox3.Checked    = true;
     this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox3.Location   = new System.Drawing.Point(293, 22);
     this.checkBox3.Name       = "checkBox3";
     this.checkBox3.Size       = new System.Drawing.Size(136, 16);
     this.checkBox3.TabIndex   = 3;
     this.checkBox3.Text       = "Show &Histogram";
     this.checkBox3.Click     += new System.EventHandler(this.checkBox3_Click);
     //
     // MACDFunction
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 317);
     this.Name = "MACDFunction";
     this.panel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Axis_Custom));
     this.axis1     = new Steema.TeeChart.Axis(this.components);
     this.axis2     = new Steema.TeeChart.Axis(this.components);
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.button1   = new System.Windows.Forms.Button();
     this.axis3     = new Steema.TeeChart.Axis(this.components);
     this.axis4     = new Steema.TeeChart.Axis(this.components);
     this.line1     = new Steema.TeeChart.Styles.Line();
     this.line2     = new Steema.TeeChart.Styles.Line();
     this.line3     = new Steema.TeeChart.Styles.Line();
     this.panel1.SuspendLayout();
     this.chartContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor    = System.Drawing.Color.AliceBlue;
     this.textBox1.Size         = new System.Drawing.Size(472, 62);
     this.textBox1.Text         = resources.GetString("textBox1.Text");
     this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 62);
     this.panel1.Size     = new System.Drawing.Size(472, 34);
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // tChart1
     //
     //
     //
     //
     this.tChart1.Aspect.View3D  = false;
     this.tChart1.Aspect.ZOffset = 0;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.EndPosition = 50;
     //
     //
     //
     this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Bottom.TicksInner.Visible = true;
     this.tChart1.Axes.Custom.Add(this.axis1);
     this.tChart1.Axes.Custom.Add(this.axis2);
     this.tChart1.Axes.Custom.Add(this.axis3);
     this.tChart1.Axes.Custom.Add(this.axis4);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Depth.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.DepthTop.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.EndPosition = 50;
     //
     //
     //
     this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.LogarithmicBase = 2;
     //
     //
     //
     this.tChart1.Axes.Left.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Left.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Right.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.MinorTicks.Visible = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Axes.Top.TicksInner.Visible = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Bold = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Header.Font.Size      = 11;
     this.tChart1.Header.Font.SizeFloat = 11F;
     this.tChart1.Header.Lines          = new string[] {
         "Axis grid zoning"
     };
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Brush.Gradient.SigmaFocus = 0F;
     this.tChart1.Legend.Brush.Gradient.SigmaScale = 0F;
     this.tChart1.Legend.Brush.Gradient.Visible    = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Legend.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     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)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     //
     //
     //
     this.tChart1.Panel.Brush.Gradient.SigmaFocus = 0F;
     this.tChart1.Panel.Brush.Gradient.SigmaScale = 0F;
     this.tChart1.Panel.Brush.Gradient.UseMiddle  = false;
     //
     //
     //
     //
     //
     //
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Series.Add(this.line2);
     this.tChart1.Series.Add(this.line3);
     this.tChart1.Size = new System.Drawing.Size(472, 221);
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Back.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaFocus = 0F;
     this.tChart1.Walls.Bottom.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Left.Brush.Gradient.SigmaFocus = 0F;
     this.tChart1.Walls.Left.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.tChart1.Walls.Right.Brush.Gradient.SigmaFocus = 0F;
     this.tChart1.Walls.Right.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     this.tChart1.Walls.Right.Pen.Visible = false;
     //
     // chartContainer
     //
     this.chartContainer.Location = new System.Drawing.Point(0, 96);
     this.chartContainer.Size     = new System.Drawing.Size(472, 221);
     //
     // axis1
     //
     //
     //
     //
     //
     //
     //
     this.axis1.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.axis1.Horizontal = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis1.LogarithmicBase = 2;
     //
     //
     //
     this.axis1.MinorTicks.Visible = false;
     this.axis1.OtherSide          = false;
     this.axis1.StartPosition      = 62;
     //
     //
     //
     //
     //
     //
     this.axis1.TicksInner.Visible = true;
     //
     // axis2
     //
     //
     //
     //
     //
     //
     //
     this.axis2.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.axis2.Horizontal = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis2.LogarithmicBase = 2;
     //
     //
     //
     this.axis2.MinorTicks.Visible = false;
     this.axis2.OtherSide          = false;
     this.axis2.RelativePosition   = 50;
     //
     //
     //
     //
     //
     //
     this.axis2.TicksInner.Visible = true;
     //
     // 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(13, 4);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(123, 23);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Show custom axes";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(184, 5);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(75, 23);
     this.button1.TabIndex  = 1;
     this.button1.Text      = "&Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // axis3
     //
     //
     //
     //
     //
     //
     //
     this.axis3.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.axis3.Horizontal = true;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis3.LogarithmicBase = 2;
     //
     //
     //
     this.axis3.MinorTicks.Visible = false;
     this.axis3.OtherSide          = false;
     this.axis3.StartPosition      = 55;
     //
     //
     //
     //
     //
     //
     this.axis3.TicksInner.Visible = true;
     //
     // axis4
     //
     //
     //
     //
     //
     //
     //
     this.axis4.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.axis4.Horizontal = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.axis4.LogarithmicBase = 2;
     //
     //
     //
     this.axis4.MinorTicks.Visible = false;
     this.axis4.OtherSide          = true;
     this.axis4.StartPosition      = 62;
     //
     //
     //
     //
     //
     //
     this.axis4.TicksInner.Visible = true;
     this.axis4.ZPosition          = 0;
     //
     // line1
     //
     //
     //
     //
     this.line1.ColorEach = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.line1.Marks.Brush.Gradient.SigmaFocus = 0F;
     this.line1.Marks.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     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.Transparent = true;
     //
     //
     //
     this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "line1";
     //
     //
     //
     this.line1.XValues.DataMember = "X";
     this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line1.YValues.DataMember = "Y";
     //
     // line2
     //
     //
     //
     //
     this.line2.ColorEach = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.line2.Marks.Brush.Gradient.SigmaFocus = 0F;
     this.line2.Marks.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     this.line2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.line2.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.line2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.line2.Marks.Callout.Distance    = 0;
     this.line2.Marks.Callout.Draw3D      = false;
     this.line2.Marks.Callout.Length      = 10;
     this.line2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line2.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.line2.Marks.Transparent = true;
     //
     //
     //
     this.line2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line2.Title         = "line2";
     //
     //
     //
     this.line2.XValues.DataMember = "X";
     this.line2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line2.YValues.DataMember = "Y";
     //
     // line3
     //
     //
     //
     //
     this.line3.ColorEach = false;
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     //
     this.line3.Marks.Brush.Gradient.SigmaFocus = 0F;
     this.line3.Marks.Brush.Gradient.SigmaScale = 0F;
     //
     //
     //
     this.line3.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.line3.Marks.Callout.ArrowHeadSize = 8;
     //
     //
     //
     this.line3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.line3.Marks.Callout.Distance    = 0;
     this.line3.Marks.Callout.Draw3D      = false;
     this.line3.Marks.Callout.Length      = 10;
     this.line3.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line3.Marks.Callout.Visible     = false;
     //
     //
     //
     //
     //
     //
     this.line3.Marks.Transparent = true;
     //
     //
     //
     this.line3.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line3.Title         = "line3";
     //
     //
     //
     this.line3.XValues.DataMember = "X";
     this.line3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     //
     //
     this.line3.YValues.DataMember = "Y";
     //
     // Axis_Custom
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(472, 317);
     this.Name = "Axis_Custom";
     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();
     this.axis1       = new Steema.TeeChart.Axis(this.tChart1.Chart);
     this.axis2       = new Steema.TeeChart.Axis(this.tChart1.Chart);
     this.axis3       = new Steema.TeeChart.Axis(this.tChart1.Chart);
     this.lineSeries1 = new Steema.TeeChart.Styles.Line();
     this.lineSeries2 = new Steema.TeeChart.Styles.Line();
     this.lineSeries3 = new Steema.TeeChart.Styles.Line();
     this.lineSeries4 = new Steema.TeeChart.Styles.Line();
     this.checkBox1   = new System.Windows.Forms.CheckBox();
     this.label1      = new System.Windows.Forms.Label();
     this.hScrollBar1 = new System.Windows.Forms.HScrollBar();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor = System.Drawing.Color.AliceBlue;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(504, 68);
     this.textBox1.Text      = "When using multiple axes and doing zoom or scroll, series points can display outs" +
                               "ide the axes \"zones\" or limits.\r\nYou can prevent this with a small code at Serie" +
                               "s events: BeforeDrawValues and AfterDrawValues.";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Controls.Add(this.hScrollBar1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(504, 36);
     //
     // 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.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;
     this.tChart1.Axes.Custom.Add(this.axis1);
     this.tChart1.Axes.Custom.Add(this.axis2);
     this.tChart1.Axes.Custom.Add(this.axis3);
     //
     // tChart1.Axes.Depth
     //
     //
     // 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.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.AxisPen
     //
     this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.tChart1.Axes.Left.EndPosition   = 25;
     //
     // 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;
     this.tChart1.Axes.Left.LogarithmicBase       = 2;
     //
     // 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.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.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)));
     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.Lines = new string[] {
         "Opaque Zone"
     };
     //
     // tChart1.Header.Shadow
     //
     this.tChart1.Header.Shadow.Visible = false;
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.Alignment   = Steema.TeeChart.LegendAlignments.Bottom;
     this.tChart1.Legend.BorderRound = 8;
     //
     // tChart1.Legend.Font
     //
     //
     // tChart1.Legend.Font.Shadow
     //
     this.tChart1.Legend.Font.Shadow.Visible = false;
     //
     // tChart1.Legend.Shadow
     //
     this.tChart1.Legend.Shadow.Visible = false;
     this.tChart1.Legend.ShapeStyle     = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
     //
     // tChart1.Legend.Symbol
     //
     this.tChart1.Legend.Symbol.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, 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)));
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(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.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     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.lineSeries1);
     this.tChart1.Series.Add(this.lineSeries2);
     this.tChart1.Series.Add(this.lineSeries3);
     this.tChart1.Series.Add(this.lineSeries4);
     this.tChart1.Size = new System.Drawing.Size(504, 301);
     //
     // 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;
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     //
     // tChart1.Walls.Back.Brush
     //
     this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // tChart1.Walls.Back.Gradient
     //
     this.tChart1.Walls.Back.Brush.Gradient.Transparency = 50;
     //
     // tChart1.Walls.Back.Gradient
     //
     this.tChart1.Walls.Back.Gradient.Transparency = 50;
     //
     // tChart1.Walls.Back.Pen
     //
     this.tChart1.Walls.Back.Pen.Visible = false;
     //
     // tChart1.Walls.Back.Shadow
     //
     this.tChart1.Walls.Back.Shadow.Visible = false;
     this.tChart1.Walls.Back.Transparent    = false;
     //
     // tChart1.Walls.Bottom
     //
     //
     // tChart1.Walls.Bottom.Shadow
     //
     this.tChart1.Walls.Bottom.Shadow.Visible = false;
     //
     // tChart1.Walls.Left
     //
     //
     // tChart1.Walls.Left.Shadow
     //
     this.tChart1.Walls.Left.Shadow.Visible = false;
     //
     // tChart1.Walls.Right
     //
     //
     // tChart1.Walls.Right.Shadow
     //
     this.tChart1.Walls.Right.Shadow.Visible = false;
     this.tChart1.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.tChart1_MouseDown);
     this.tChart1.MouseUp    += new System.Windows.Forms.MouseEventHandler(this.tChart1_MouseUp);
     this.tChart1.Zoomed     += new System.EventHandler(this.tChart1_Zoomed);
     this.tChart1.UndoneZoom += new System.EventHandler(this.tChart1_UndoneZoom);
     //
     // axis1
     //
     //
     // axis1.AxisPen
     //
     this.axis1.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(192)), ((System.Byte)(0)));
     this.axis1.EndPosition   = 50;
     this.axis1.Horizontal    = false;
     //
     // axis1.Labels
     //
     //
     // axis1.Labels.Font
     //
     //
     // axis1.Labels.Font.Shadow
     //
     this.axis1.Labels.Font.Shadow.Visible = false;
     //
     // axis1.Labels.Shadow
     //
     this.axis1.Labels.Shadow.Visible = false;
     this.axis1.OtherSide             = false;
     this.axis1.StartPosition         = 25;
     //
     // axis1.Title
     //
     //
     // axis1.Title.Font
     //
     //
     // axis1.Title.Font.Shadow
     //
     this.axis1.Title.Font.Shadow.Visible = false;
     //
     // axis1.Title.Shadow
     //
     this.axis1.Title.Shadow.Visible = false;
     //
     // axis2
     //
     //
     // axis2.AxisPen
     //
     this.axis2.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0)));
     this.axis2.EndPosition   = 75;
     this.axis2.Horizontal    = false;
     //
     // axis2.Labels
     //
     //
     // axis2.Labels.Font
     //
     //
     // axis2.Labels.Font.Shadow
     //
     this.axis2.Labels.Font.Shadow.Visible = false;
     //
     // axis2.Labels.Shadow
     //
     this.axis2.Labels.Shadow.Visible = false;
     this.axis2.OtherSide             = false;
     this.axis2.StartPosition         = 50;
     //
     // axis2.Title
     //
     //
     // axis2.Title.Font
     //
     //
     // axis2.Title.Font.Shadow
     //
     this.axis2.Title.Font.Shadow.Visible = false;
     //
     // axis2.Title.Shadow
     //
     this.axis2.Title.Shadow.Visible = false;
     //
     // axis3
     //
     //
     // axis3.AxisPen
     //
     this.axis3.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(255)));
     this.axis3.Horizontal    = false;
     //
     // axis3.Labels
     //
     //
     // axis3.Labels.Font
     //
     //
     // axis3.Labels.Font.Shadow
     //
     this.axis3.Labels.Font.Shadow.Visible = false;
     //
     // axis3.Labels.Shadow
     //
     this.axis3.Labels.Shadow.Visible = false;
     this.axis3.OtherSide             = false;
     this.axis3.StartPosition         = 75;
     //
     // axis3.Title
     //
     //
     // axis3.Title.Font
     //
     //
     // axis3.Title.Font.Shadow
     //
     this.axis3.Title.Font.Shadow.Visible = false;
     //
     // axis3.Title.Shadow
     //
     this.axis3.Title.Shadow.Visible = false;
     //
     // lineSeries1
     //
     //
     // lineSeries1.Brush
     //
     this.lineSeries1.Brush.Color = System.Drawing.Color.Red;
     this.lineSeries1.Cursor      = System.Windows.Forms.Cursors.Cross;
     //
     // lineSeries1.Marks
     //
     //
     // lineSeries1.Marks.Callout
     //
     this.lineSeries1.Marks.Callout.Arrow         = this.lineSeries1.Marks.Arrow;
     this.lineSeries1.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries1.Marks.Callout.ArrowHeadSize = 8;
     //
     // lineSeries1.Marks.Callout.Brush
     //
     this.lineSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries1.Marks.Callout.Distance    = 0;
     this.lineSeries1.Marks.Callout.Draw3D      = false;
     this.lineSeries1.Marks.Callout.Length      = 10;
     this.lineSeries1.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // lineSeries1.Marks.Font
     //
     //
     // lineSeries1.Marks.Font.Shadow
     //
     this.lineSeries1.Marks.Font.Shadow.Visible = false;
     //
     // lineSeries1.Pointer
     //
     this.lineSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries1.Title         = "lineSeries1";
     //
     // lineSeries1.XValues
     //
     this.lineSeries1.XValues.DataMember = "X";
     this.lineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries1.YValues
     //
     this.lineSeries1.YValues.DataMember = "Y";
     this.lineSeries1.BeforeDrawValues  += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_BeforeDrawValues);
     this.lineSeries1.AfterDrawValues   += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_AfterDrawValues);
     //
     // lineSeries2
     //
     //
     // lineSeries2.Brush
     //
     this.lineSeries2.Brush.Color = System.Drawing.Color.Green;
     this.lineSeries2.Cursor      = System.Windows.Forms.Cursors.Cross;
     //
     // lineSeries2.Marks
     //
     //
     // lineSeries2.Marks.Callout
     //
     this.lineSeries2.Marks.Callout.Arrow         = this.lineSeries2.Marks.Arrow;
     this.lineSeries2.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries2.Marks.Callout.ArrowHeadSize = 8;
     //
     // lineSeries2.Marks.Callout.Brush
     //
     this.lineSeries2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries2.Marks.Callout.Distance    = 0;
     this.lineSeries2.Marks.Callout.Draw3D      = false;
     this.lineSeries2.Marks.Callout.Length      = 10;
     this.lineSeries2.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // lineSeries2.Marks.Font
     //
     //
     // lineSeries2.Marks.Font.Shadow
     //
     this.lineSeries2.Marks.Font.Shadow.Visible = false;
     //
     // lineSeries2.Pointer
     //
     this.lineSeries2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries2.Title         = "lineSeries2";
     //
     // lineSeries2.XValues
     //
     this.lineSeries2.XValues.DataMember = "X";
     this.lineSeries2.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries2.YValues
     //
     this.lineSeries2.YValues.DataMember = "Y";
     this.lineSeries2.BeforeDrawValues  += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_BeforeDrawValues);
     this.lineSeries2.AfterDrawValues   += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_AfterDrawValues);
     //
     // lineSeries3
     //
     //
     // lineSeries3.Brush
     //
     this.lineSeries3.Brush.Color = System.Drawing.Color.Yellow;
     this.lineSeries3.Cursor      = System.Windows.Forms.Cursors.Cross;
     //
     // lineSeries3.Marks
     //
     //
     // lineSeries3.Marks.Callout
     //
     this.lineSeries3.Marks.Callout.Arrow         = this.lineSeries3.Marks.Arrow;
     this.lineSeries3.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries3.Marks.Callout.ArrowHeadSize = 8;
     //
     // lineSeries3.Marks.Callout.Brush
     //
     this.lineSeries3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries3.Marks.Callout.Distance    = 0;
     this.lineSeries3.Marks.Callout.Draw3D      = false;
     this.lineSeries3.Marks.Callout.Length      = 10;
     this.lineSeries3.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // lineSeries3.Marks.Font
     //
     //
     // lineSeries3.Marks.Font.Shadow
     //
     this.lineSeries3.Marks.Font.Shadow.Visible = false;
     //
     // lineSeries3.Pointer
     //
     this.lineSeries3.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries3.Title         = "lineSeries3";
     //
     // lineSeries3.XValues
     //
     this.lineSeries3.XValues.DataMember = "X";
     this.lineSeries3.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries3.YValues
     //
     this.lineSeries3.YValues.DataMember = "Y";
     this.lineSeries3.BeforeDrawValues  += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_BeforeDrawValues);
     this.lineSeries3.AfterDrawValues   += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_AfterDrawValues);
     //
     // lineSeries4
     //
     //
     // lineSeries4.Brush
     //
     this.lineSeries4.Brush.Color = System.Drawing.Color.Blue;
     this.lineSeries4.Cursor      = System.Windows.Forms.Cursors.Cross;
     //
     // lineSeries4.Marks
     //
     //
     // lineSeries4.Marks.Callout
     //
     this.lineSeries4.Marks.Callout.Arrow         = this.lineSeries4.Marks.Arrow;
     this.lineSeries4.Marks.Callout.ArrowHead     = Steema.TeeChart.Styles.ArrowHeadStyles.None;
     this.lineSeries4.Marks.Callout.ArrowHeadSize = 8;
     //
     // lineSeries4.Marks.Callout.Brush
     //
     this.lineSeries4.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
     this.lineSeries4.Marks.Callout.Distance    = 0;
     this.lineSeries4.Marks.Callout.Draw3D      = false;
     this.lineSeries4.Marks.Callout.Length      = 10;
     this.lineSeries4.Marks.Callout.Style       = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     //
     // lineSeries4.Marks.Font
     //
     //
     // lineSeries4.Marks.Font.Shadow
     //
     this.lineSeries4.Marks.Font.Shadow.Visible = false;
     //
     // lineSeries4.Pointer
     //
     this.lineSeries4.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.lineSeries4.Title         = "lineSeries4";
     //
     // lineSeries4.XValues
     //
     this.lineSeries4.XValues.DataMember = "X";
     this.lineSeries4.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries4.YValues
     //
     this.lineSeries4.YValues.DataMember = "Y";
     this.lineSeries4.BeforeDrawValues  += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_BeforeDrawValues);
     this.lineSeries4.AfterDrawValues   += new Steema.TeeChart.PaintChartEventHandler(this.lineSeries1_AfterDrawValues);
     //
     // 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, 8);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(112, 20);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Opaque zones";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(128, 12);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(36, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "&Scroll:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // hScrollBar1
     //
     this.hScrollBar1.Location = new System.Drawing.Point(168, 8);
     this.hScrollBar1.Name     = "hScrollBar1";
     this.hScrollBar1.Size     = new System.Drawing.Size(123, 18);
     this.hScrollBar1.TabIndex = 2;
     this.hScrollBar1.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll);
     //
     // Axis_OpaqueZone
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(504, 405);
     this.Name = "Axis_OpaqueZone";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void HighLightAxis(Steema.TeeChart.Axis Axis)
 {
     Axis.Labels.Font.Bold = TheAxis() == Axis;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.lineSeries1       = new Steema.TeeChart.Styles.Line();
     this.momentumDivision1 = new Steema.TeeChart.Functions.MomentumDivision();
     this.lineSeries2       = new Steema.TeeChart.Styles.Line();
     this.axis1             = new Steema.TeeChart.Axis(this.tChart1.Chart);
     this.label1            = new System.Windows.Forms.Label();
     this.numericUpDown1    = new System.Windows.Forms.NumericUpDown();
     this.checkBox1         = new System.Windows.Forms.CheckBox();
     this.colorLine1        = new Steema.TeeChart.Tools.ColorLine();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(425, 64);
     this.textBox1.Text = "The Momentum Division function calculates the ratio of a point value compared to " +
                          "the previous N point value.\r\n\r\nThe formula is :   Momentum = 100 * Value / Previ" +
                          "ousValue";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(0, 64);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(425, 37);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     //
     // tChart1.Axes
     //
     this.tChart1.Axes.Custom.Add(this.axis1);
     //
     // tChart1.Axes.Left
     //
     this.tChart1.Axes.Left.EndPosition     = 80;
     this.tChart1.Axes.Left.LogarithmicBase = 2;
     //
     // tChart1.Header
     //
     this.tChart1.Header.Lines = new string[] {
         "Momentum Div. function"
     };
     this.tChart1.Location = new System.Drawing.Point(0, 101);
     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.lineSeries1);
     this.tChart1.Series.Add(this.lineSeries2);
     this.tChart1.Size = new System.Drawing.Size(425, 169);
     this.tChart1.Tools.Add(this.colorLine1);
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Bottom
     //
     //
     // tChart1.Walls.Bottom.Pen
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     this.tChart1.Walls.Bottom.Size        = 5;
     //
     // tChart1.Walls.Left
     //
     //
     // tChart1.Walls.Left.Pen
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     this.tChart1.Walls.Left.Size        = 5;
     //
     // lineSeries1
     //
     //
     // lineSeries1.Brush
     //
     //this.lineSeries1.Brush.Color = System.Drawing.Color.Red;
     //
     // 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         = "Source";
     //
     // lineSeries1.XValues
     //
     this.lineSeries1.XValues.DataMember = "X";
     this.lineSeries1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // lineSeries1.YValues
     //
     this.lineSeries1.YValues.DataMember = "Y";
     //
     // momentumDivision1
     //
     this.momentumDivision1.Period = 1;
     //
     // lineSeries2
     //
     //
     // lineSeries2.Brush
     //
     //this.lineSeries2.Brush.Color = System.Drawing.Color.Green;
     this.lineSeries2.CustomVertAxis = this.axis1;
     this.lineSeries2.DataSource     = this.lineSeries1;
     this.lineSeries2.Function       = this.momentumDivision1;
     //
     // 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         = "lineSeries2";
     this.lineSeries2.VertAxis      = Steema.TeeChart.Styles.VerticalAxis.Custom;
     //
     // lineSeries2.XValues
     //
     this.lineSeries2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // axis1
     //
     this.axis1.Horizontal       = false;
     this.axis1.LogarithmicBase  = 2;
     this.axis1.OtherSide        = false;
     this.axis1.StartPosition    = 90;
     this.axis1.TickOnLabelsOnly = false;
     //
     // axis1.Title
     //
     this.axis1.Title.Angle   = 90;
     this.axis1.Title.Caption = "Mom. div.";
     this.axis1.Title.Lines   = new string[] {
         "Mom. div."
     };
     //
     // 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(40, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Period:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location  = new System.Drawing.Point(64, 8);
     this.numericUpDown1.Name      = "numericUpDown1";
     this.numericUpDown1.Size      = new System.Drawing.Size(48, 20);
     this.numericUpDown1.TabIndex  = 1;
     this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.numericUpDown1.Value     = new System.Decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numericUpDown1.TextChanged  += new System.EventHandler(this.numericUpDown1_TextChanged);
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(160, 8);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(117, 20);
     this.checkBox1.TabIndex        = 2;
     this.checkBox1.Text            = "&Show momentum";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // colorLine1
     //
     this.colorLine1.Axis = this.tChart1.Axes.Left;
     //
     // Function_MomentumDiv
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(425, 270);
     this.Name = "Function_MomentumDiv";
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #20
0
        /// <summary>
        /// �Զ���������ᣬ�������û�����ϡ�����һ�ַ�ʽʵ��
        /// </summary>
        private void extraaxis()
        {
            Steema.TeeChart.Styles.Line extraline = new Steema.TeeChart.Styles.Line();
            Steema.TeeChart.Axis extrax = new Steema.TeeChart.Axis();
            extraline.CustomVertAxis = extrax;
            extrax.StartPosition = 0;
            extrax.EndPosition = 100;
            extrax.Title.Text = "test1";
            extrax.AxisPen.Color = Color.Black;
            extrax.PositionUnits = Steema.TeeChart.PositionUnits.Percent;
            extrax.RelativePosition = 20;

            tChart1.Series.Add(extraline);
        }