public MedianStdFunctionsChart(ChartView BaseChart) { medianFunction = new Steema.TeeChart.Functions.MedianFunction(); line = new Line(); theMedianLine = new Line(); var = new Variables.Variables(); for (int i = 0; i < var.GetValorStdMedian1.Length; i++) { line.Add(i, var.GetValorStdMedian1[i]); } BaseChart.Chart.Series.Add(line); BaseChart.Chart.Series.Add(theMedianLine); theMedianLine.Function = medianFunction; theMedianLine.DataSource = new object[] { line }; line.SeriesColor = var.GetPaletteBasic[0]; theMedianLine.SeriesColor = var.GetPaletteBasic[2]; line.Title = "Data"; line.Marks.Visible = false; line.LinePen.Width = 4; theMedianLine.Title = "Median"; theMedianLine.LinePen.Width = 6; theMedianLine.Pointer.Visible = true; theMedianLine.Marks.Visible = true; theMedianLine.Marks.DrawEvery = 2; BaseChart.Chart.Axes.Left.SetMinMax(BaseChart.Chart.Axes.Left.MinYValue, BaseChart.Chart.Axes.Left.MaxYValue + 2); BaseChart.Chart.Axes.Bottom.SetMinMax(BaseChart.Chart.Axes.Bottom.MinXValue, BaseChart.Chart.Axes.Bottom.MaxXValue); BaseChart.Chart.Axes.Left.Increment = 10; BaseChart.Chart.Axes.Bottom.Labels.Visible = false; BaseChart.Chart.Axes.Left.Grid.Visible = false; BaseChart.Chart.Axes.Left.AxisPen.Visible = true; BaseChart.Chart.Header.Visible = false; Themes.AplicarMarksTheme1(BaseChart); BaseChart.Chart.Series[0].Marks.Font.Size = 14; BaseChart.Chart.Series[1].Marks.Font.Size = 14; BaseChart.Chart.Series[0].Marks.TextAlign = TextAlignment.Center; BaseChart.Chart.Series[0].Marks.AutoSize = true; BaseChart.Chart.Series[0].Marks.Color = Xamarin.Forms.Color.Transparent; BaseChart.Chart.Series[1].Marks.TailStyle = MarksTail.None; BaseChart.Chart.Panel.MarginLeft = 5; ImplementiOSMarks(BaseChart.Chart); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tool_SeriesStat)); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.checkBox4 = new System.Windows.Forms.CheckBox(); this.checkBox5 = new System.Windows.Forms.CheckBox(); this.checkBox6 = new System.Windows.Forms.CheckBox(); this.line1 = new Steema.TeeChart.Styles.Line(); this.line2 = new Steema.TeeChart.Styles.Line(); this.average1 = new Steema.TeeChart.Functions.Average(); this.button1 = new System.Windows.Forms.Button(); this.seriesStats1 = new Steema.TeeChart.Tools.SeriesStats(); this.trendFunction1 = new Steema.TeeChart.Functions.TrendFunction(); this.line3 = new Steema.TeeChart.Styles.Line(); this.low1 = new Steema.TeeChart.Functions.Low(); this.line4 = new Steema.TeeChart.Styles.Line(); this.high1 = new Steema.TeeChart.Functions.High(); this.line5 = new Steema.TeeChart.Styles.Line(); this.line6 = new Steema.TeeChart.Styles.Line(); this.medianFunction1 = new Steema.TeeChart.Functions.MedianFunction(); this.correlationFunction1 = new Steema.TeeChart.Functions.CorrelationFunction(); this.line7 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "Use the SeriesStats tool to return and show typical data of interest about a data" + " Series."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox6); this.panel1.Controls.Add(this.checkBox5); this.panel1.Controls.Add(this.checkBox4); this.panel1.Controls.Add(this.checkBox3); this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Size = new System.Drawing.Size(440, 71); // // tChart1 // // // // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; this.tChart1.Cursor = System.Windows.Forms.Cursors.Default; // // // // // // this.tChart1.Legend.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); // // // // // // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(233)))), ((int)(((byte)(216))))); // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Panel.Brush.Gradient.Sigma = true; this.tChart1.Panel.Brush.Gradient.SigmaFocus = 1F; this.tChart1.Panel.Brush.Gradient.SigmaScale = 0.8F; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.tChart1.Series.Add(this.line1); this.tChart1.Series.Add(this.line2); this.tChart1.Series.Add(this.line3); this.tChart1.Series.Add(this.line4); this.tChart1.Series.Add(this.line5); this.tChart1.Series.Add(this.line6); this.tChart1.Series.Add(this.line7); this.tChart1.Size = new System.Drawing.Size(440, 173); this.tChart1.Tools.Add(this.seriesStats1); // // // // // // // // // this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); // // // this.tChart1.Walls.Back.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.tChart1.Walls.Back.Brush.Gradient.Visible = false; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 144); this.chartContainer.Size = new System.Drawing.Size(440, 173); // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(12, 19); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(63, 17); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Average"; #if VS2005 this.checkBox1.AutoSize = true; this.checkBox1.UseVisualStyleBackColor = true; #endif this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // checkBox2 // this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox2.Location = new System.Drawing.Point(12, 42); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(51, 17); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "Trend"; #if VS2005 this.checkBox2.AutoSize = true; this.checkBox2.UseVisualStyleBackColor = true; #endif this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // checkBox3 // this.checkBox3.Checked = true; this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox3.Location = new System.Drawing.Point(81, 19); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(43, 17); this.checkBox3.TabIndex = 2; this.checkBox3.Text = "Low"; #if VS2005 this.checkBox3.AutoSize = true; this.checkBox3.UseVisualStyleBackColor = true; #endif this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged); // // checkBox4 // this.checkBox4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox4.Location = new System.Drawing.Point(81, 42); this.checkBox4.Name = "checkBox4"; this.checkBox4.Size = new System.Drawing.Size(45, 17); this.checkBox4.TabIndex = 3; this.checkBox4.Text = "High"; #if VS2005 this.checkBox4.AutoSize = true; this.checkBox4.UseVisualStyleBackColor = true; #endif this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged); // // checkBox5 // this.checkBox5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox5.Location = new System.Drawing.Point(130, 19); this.checkBox5.Name = "checkBox5"; this.checkBox5.Size = new System.Drawing.Size(58, 17); this.checkBox5.TabIndex = 4; this.checkBox5.Text = "Median"; #if VS2005 this.checkBox5.AutoSize = true; this.checkBox5.UseVisualStyleBackColor = true; #endif this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged); // // checkBox6 // this.checkBox6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox6.Location = new System.Drawing.Point(130, 42); this.checkBox6.Name = "checkBox6"; this.checkBox6.Size = new System.Drawing.Size(73, 17); this.checkBox6.TabIndex = 5; this.checkBox6.Text = "Correlation"; #if VS2005 this.checkBox6.AutoSize = true; this.checkBox6.UseVisualStyleBackColor = true; #endif this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBox6_CheckedChanged); // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.line1.ColorEach = false; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); // // // // // // 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 = "Source"; // // // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.line1.YValues.DataMember = "Y"; // // line2 // // // // this.line2.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.line2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.line2.ColorEach = false; this.line2.DataSource = this.line1; this.line2.Function = this.average1; // // // this.line2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(0))))); // // // // // // 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.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line2.Title = "Average"; // // // this.line2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(267, 19); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 6; this.button1.Text = "Edit tool"; #if VS2005 this.button1.UseVisualStyleBackColor = true; #endif this.button1.Click += new System.EventHandler(this.button1_Click); // // seriesStats1 // this.seriesStats1.Series = this.line1; // // line3 // // // // this.line3.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.line3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.line3.ColorEach = false; this.line3.DataSource = this.line1; this.line3.Function = this.trendFunction1; // // // this.line3.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(153))))); // // // // // // 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.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line3.Title = "Trend"; this.line3.Visible = false; // // // this.line3.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line4 // // // // this.line4.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.line4.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.line4.ColorEach = false; this.line4.DataSource = this.line1; this.line4.Function = this.low1; // // // this.line4.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153))))); // // // // // // this.line4.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.line4.Marks.Callout.ArrowHeadSize = 8; // // // this.line4.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.line4.Marks.Callout.Distance = 0; this.line4.Marks.Callout.Draw3D = false; this.line4.Marks.Callout.Length = 10; this.line4.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line4.Marks.Callout.Visible = false; // // // this.line4.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line4.Title = "Low"; // // // this.line4.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line5 // // // // this.line5.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.line5.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.line5.ColorEach = false; this.line5.DataSource = this.line1; this.line5.Function = this.high1; // // // this.line5.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))); // // // // // // this.line5.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.line5.Marks.Callout.ArrowHeadSize = 8; // // // this.line5.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.line5.Marks.Callout.Distance = 0; this.line5.Marks.Callout.Draw3D = false; this.line5.Marks.Callout.Length = 10; this.line5.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line5.Marks.Callout.Visible = false; // // // this.line5.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line5.Title = "High"; this.line5.Visible = false; // // // this.line5.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line6 // // // // this.line6.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.line6.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.line6.ColorEach = false; this.line6.DataSource = this.line1; this.line6.Function = this.medianFunction1; // // // this.line6.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(153))))); // // // // // // this.line6.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.line6.Marks.Callout.ArrowHeadSize = 8; // // // this.line6.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.line6.Marks.Callout.Distance = 0; this.line6.Marks.Callout.Draw3D = false; this.line6.Marks.Callout.Length = 10; this.line6.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line6.Marks.Callout.Visible = false; // // // this.line6.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line6.Title = "Median"; this.line6.Visible = false; // // // this.line6.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line7 // // // // this.line7.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.line7.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.line7.ColorEach = false; this.line7.DataSource = this.line1; this.line7.Function = this.correlationFunction1; // // // this.line7.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))); // // // // // // this.line7.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.line7.Marks.Callout.ArrowHeadSize = 8; // // // this.line7.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.line7.Marks.Callout.Distance = 0; this.line7.Marks.Callout.Draw3D = false; this.line7.Marks.Callout.Length = 10; this.line7.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line7.Marks.Callout.Visible = false; // // // this.line7.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line7.Title = "Correlation"; this.line7.Visible = false; // // // this.line7.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // Tool_SeriesStat // this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Tool_SeriesStat"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.chartContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_Median)); this.fastLine1 = new Steema.TeeChart.Styles.FastLine(); this.line1 = new Steema.TeeChart.Styles.Line(); this.medianFunction1 = new Steema.TeeChart.Functions.MedianFunction(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = resources.GetString("textBox1.Text"); // // tChart1 // // // // this.tChart1.Aspect.ThemeIndex = 3; this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Bottom.MinorTicks.Visible = false; // // // this.tChart1.Axes.Bottom.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Depth.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Depth.MinorTicks.Visible = false; // // // this.tChart1.Axes.Depth.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.DepthTop.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.DepthTop.MinorTicks.Visible = false; // // // this.tChart1.Axes.DepthTop.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Left.MinorTicks.Visible = false; // // // this.tChart1.Axes.Left.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Left.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Right.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Right.MinorTicks.Visible = false; // // // this.tChart1.Axes.Right.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Right.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Top.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Top.MinorTicks.Visible = false; // // // this.tChart1.Axes.Top.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Top.TicksInner.Visible = true; // // // // // // // // // this.tChart1.Header.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Header.Brush.Gradient.SigmaScale = 0F; this.tChart1.Header.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // // // // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // // // // // // // this.tChart1.Legend.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); this.tChart1.Legend.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Legend.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Legend.Brush.Gradient.SigmaScale = 0F; this.tChart1.Legend.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tChart1.Legend.Brush.Gradient.Visible = true; // // // // // // this.tChart1.Legend.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.tChart1.Legend.Pen.Visible = false; // // // // // // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Panel.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Panel.Brush.Gradient.SigmaScale = 0F; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tChart1.Panel.Brush.Gradient.UseMiddle = false; // // // // // // this.tChart1.Panel.Shadow.Brush.Color = System.Drawing.Color.Black; this.tChart1.Series.Add(this.fastLine1); this.tChart1.Series.Add(this.line1); this.tChart1.Size = new System.Drawing.Size(440, 205); // // // // // // // // // // // // this.tChart1.Walls.Back.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); this.tChart1.Walls.Back.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Walls.Back.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); // // // this.tChart1.Walls.Back.Pen.Visible = false; // // // // // // // // // this.tChart1.Walls.Bottom.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Walls.Bottom.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Walls.Bottom.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Walls.Bottom.Brush.Gradient.SigmaScale = 0F; this.tChart1.Walls.Bottom.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.tChart1.Walls.Bottom.Pen.Visible = false; // // // // // // // // // this.tChart1.Walls.Left.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Walls.Left.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Walls.Left.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Walls.Left.Brush.Gradient.SigmaScale = 0F; this.tChart1.Walls.Left.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.tChart1.Walls.Left.Pen.Visible = false; // // // // // // this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); // // // this.tChart1.Walls.Right.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Walls.Right.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Walls.Right.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Walls.Right.Brush.Gradient.SigmaScale = 0F; this.tChart1.Walls.Right.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.tChart1.Walls.Right.Pen.Visible = false; // // fastLine1 // this.fastLine1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90))))); this.fastLine1.ColorEach = false; // // // this.fastLine1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90))))); this.fastLine1.LinePen.Width = 2; // // // // // // // // // this.fastLine1.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.fastLine1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.fastLine1.Marks.Brush.Gradient.SigmaFocus = 0F; this.fastLine1.Marks.Brush.Gradient.SigmaScale = 0F; this.fastLine1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.fastLine1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.fastLine1.Marks.Callout.ArrowHeadSize = 8; // // // this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.fastLine1.Marks.Callout.Distance = 0; this.fastLine1.Marks.Callout.Draw3D = false; this.fastLine1.Marks.Callout.Length = 10; this.fastLine1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.fastLine1.Marks.Callout.Visible = false; // // // // // // this.fastLine1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.fastLine1.Marks.Transparent = true; this.fastLine1.Title = "Source"; this.fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.Ignore; // // // this.fastLine1.XValues.DataMember = "X"; this.fastLine1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.fastLine1.YValues.DataMember = "Y"; // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220))))); this.line1.ColorEach = false; this.line1.DataSource = this.fastLine1; this.line1.Function = this.medianFunction1; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); // // // // // // // // // this.line1.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.line1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.line1.Marks.Brush.Gradient.SigmaFocus = 0F; this.line1.Marks.Brush.Gradient.SigmaScale = 0F; this.line1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.line1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.line1.Marks.Callout.ArrowHeadSize = 8; // // // this.line1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.line1.Marks.Callout.Distance = 0; this.line1.Marks.Callout.Draw3D = false; this.line1.Marks.Callout.Length = 10; this.line1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line1.Marks.Callout.Visible = false; // // // // // // this.line1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.line1.Marks.Transparent = true; // // // this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line1.Title = "Median"; this.line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right; // // // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.line1.YValues.DataMember = "Y"; // // Median // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Median"; this.chartContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }