/**Initial all the series.*/ public override void initSeries() { base.initSeries(); ft = new TChartFastLine(); //ft.LinePen.Style = DashStyle.Solid; //ft.Title = String.Concat("[" + index + ",Ft]"); ft.Visible = true; ft.ShowInLegend = false; ft.Color = Color.Black; tchart.Series.Add(ft); goodPoints = new TChartPoints(); goodPoints.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; goodPoints.Color = Color.Green; goodPoints.Title = String.Concat("Good Points"); goodPoints.Visible = false; goodPoints.ShowInLegend = true; tchart.Series.Add(goodPoints); badPoints = new TChartPoints(); badPoints.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; badPoints.Color = Color.Red; badPoints.Title = String.Concat("Bad Points"); badPoints.Visible = true; badPoints.ShowInLegend = true; tchart.Series.Add(badPoints); updataCountShow(); tchart.Axes.Left.SetMinMax(AscanMeasureMap.MinSingleGateValue * 1.5, AscanMeasureMap.MaxSingleGateValue * 1.5); maxAllowFt.Add(0, AscanMeasureMap.MaxSingleGateValue); minAllowFt.Add(0, AscanMeasureMap.MinSingleGateValue); }
private void InitializeChart() { //tChart1.Dock = DockStyle.Fill; tChart1.Aspect.View3D = false; tChart1.Zoomed += tChart1_Zoomed; Steema.TeeChart.Styles.Points points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart); Random y = new Random(); for (int i = 0; i < 10000; i++) { points1.Add(DateTime.Now.AddHours(i), y.Next()); } points1.XValues.DateTime = true; points1.Pointer.HorizSize = 1; points1.Pointer.VertSize = 1; Steema.TeeChart.Functions.DownSampling downSampling1 = new Steema.TeeChart.Functions.DownSampling(tChart1.Chart); downSampling1.Method = Steema.TeeChart.Functions.DownSamplingMethod.Average; downSampling1.Tolerance = 100; downSampling1.DisplayedPointCount = Convert.ToInt32(downSampling1.Tolerance * 4); Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart); line1.Function = downSampling1; line1.DataSource = points1; line1.Marks.Visible = true; line1.Marks.Style = MarksStyles.PointIndex; UpdateTitle(); }
private void buttonClusterAnalysis_Click(object sender, EventArgs e) { var seriesItems = textBoxMultiple.Text.Split(','); var nSeries = seriesItems.Length; if (nSeries < 2 || !dataQueried) { var result = MessageBox.Show("Query data for at least 2 series", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } // Build new series pairs var sNew = new Steema.TeeChart.Styles.Points(); sNew.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Sphere; sNew.Pointer.Color = System.Drawing.Color.Red; sNew.Legend.Visible = false; // Populate series pairs var nYears = this.yearSelector1.SelectedYears.Length; var selYears = this.yearSelector1.SelectedYears; clusterSeriesList = new SeriesList(); for (int i = 0; i < selYears.Length; i++) { var s1 = this.timeSeriesGraph1.tChart1.Series[0 + i]; var s2 = this.timeSeriesGraph1.tChart1.Series[nYears + i]; if (i == 0) { sNew.Add(s1.YValues.Value, s2.YValues.Value, false); // Add s1 and s2 to SeriesList var s = GetTimeSeriesFromTChartSeries(s1); clusterSeriesList.Add(s); s = GetTimeSeriesFromTChartSeries(s2); clusterSeriesList.Add(s); } else { sNew.Add(s1.YValues.Value, s2.YValues.Value, true); // Append s1 and s2 to SeriesList var s = GetTimeSeriesFromTChartSeries(s1); clusterSeriesList[0].Add(s); s = GetTimeSeriesFromTChartSeries(s2); clusterSeriesList[1].Add(s); } } // Rebuild chart this.timeSeriesGraph1.tChart1.Series.RemoveAllSeries(); this.timeSeriesGraph1.tChart1.Series.Add(sNew); this.timeSeriesGraph1.tChart1.Axes.Left.Title.Text = ""; this.timeSeriesGraph1.tChart1.Axes.Left.Automatic = true; this.timeSeriesGraph1.tChart1.Axes.Bottom.Title.Text = ""; this.timeSeriesGraph1.tChart1.Axes.Bottom.Automatic = true; this.timeSeriesGraph1.tChart1.Axes.Bottom.Increment = 0;//.Automatic = true; this.timeSeriesGraph1.tChart1.Axes.Right.Visible = false; }
protected override void button1_Click(object sender, System.EventArgs e) { tChart1.Series.RemoveAllSeries(); Steema.TeeChart.Styles.Points points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart); points1.Title = "Points Series"; xmlSource1.Series = points1; xmlSource1.SeriesNode = "Points Series"; xmlSource1.Load(textBox2.Lines); tChart1.Refresh(); }
private void InitializeChart() { CreateArrays(); tChart1.Aspect.View3D = false; tChart1.Zoom.Direction = ZoomDirections.Horizontal; tChart1.Series.Add(points = new Steema.TeeChart.Styles.Points()); tChart1.Series.Add(fastLine = new Steema.TeeChart.Styles.FastLine()); downSampling = new Steema.TeeChart.Functions.DownSampling(tChart1.Chart); points.Add(xValues, yValues); points.Active = false; downSampling.DisplayedPointCount = 1000; downSampling.Method = Steema.TeeChart.Functions.DownSamplingMethod.MinMaxFirstLastNull; fastLine.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint; fastLine.DataSource = points; fastLine.Function = downSampling; }
/**Add the points to the TChartLine and TChartpoints. * We use this function when we get the points from file. */ public void addPointsToLine(TChartFastLine ft, TChartPoints goodPoints, TChartPoints badPoints) { for (int i = 0; i < resultPoints.Count; i++) { if (resultPoints[i].IsUsed) { ft.Add(i, resultPoints[i].YValue); if (resultPoints[i].IsGood) { goodPoints.Add(i, resultPoints[i].YValue); } else { badPoints.Add(i, resultPoints[i].YValue); } } } }
/// <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_Rectangle)); this.points1 = new Steema.TeeChart.Styles.Points(); this.bEditRectangleTool = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "Rectangle Tool defines a fully configurable shape with text which can be dragged " + "and resized at runtime.\r\n\r\nClick on the \'Rectangle\' to drag and resize it."; // // panel1 // this.panel1.Controls.Add(this.bEditRectangleTool); // // tChart1 // // // // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Bottom.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Depth.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.DepthTop.TicksInner.Visible = true; // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Axes.Left.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Right.TicksInner.Visible = true; // // // // // // 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)(255))))); this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Header.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.UseMiddle = true; this.tChart1.Header.Lines = new string[] { "Rectangle Tool" }; // // // // // // // // // this.tChart1.Legend.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Legend.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Legend.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Legend.Brush.Gradient.UseMiddle = true; // // // // // // // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(21)))), ((int)(((byte)(60)))), ((int)(((byte)(89))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Panel.Brush.Gradient.Sigma = true; this.tChart1.Panel.Brush.Gradient.SigmaFocus = 1F; this.tChart1.Panel.Brush.Gradient.SigmaScale = 0.8F; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Series.Add(this.points1); this.tChart1.Size = new System.Drawing.Size(440, 205); // // // // // // // // // // // // this.tChart1.Walls.Back.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Walls.Back.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Walls.Back.Brush.Gradient.UseMiddle = true; // // // // // // // // // this.tChart1.Walls.Bottom.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Walls.Bottom.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Walls.Bottom.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Walls.Bottom.Brush.Gradient.UseMiddle = true; // // // // // // // // // this.tChart1.Walls.Left.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Walls.Left.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Walls.Left.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Walls.Left.Brush.Gradient.UseMiddle = true; // // // // // // // // // this.tChart1.Walls.Right.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Walls.Right.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Walls.Right.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.tChart1.Walls.Right.Brush.Gradient.UseMiddle = true; // // points1 // this.points1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.points1.ColorEach = false; // // // // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Marks.Callout.Visible = false; // // // this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "point1"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // bEditRectangleTool // this.bEditRectangleTool.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.bEditRectangleTool.Location = new System.Drawing.Point(12, 6); this.bEditRectangleTool.Name = "bEditRectangleTool"; this.bEditRectangleTool.Size = new System.Drawing.Size(134, 23); this.bEditRectangleTool.TabIndex = 0; this.bEditRectangleTool.Text = "Edit RectangleTool..."; #if VS2005 this.bEditRectangleTool.UseVisualStyleBackColor = true; #endif this.bEditRectangleTool.Click += new System.EventHandler(this.bEditRectangleTool_Click); // // Tool_Rectangle // #if VS2005 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; #endif this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Tool_Rectangle"; this.Text = "Tool_Rectangle"; 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.buttonPen1 = new Steema.TeeChart.ButtonPen(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.points1 = new Steema.TeeChart.Styles.Points(); this.annotation1 = new Steema.TeeChart.Tools.Annotation(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(360, 73); this.textBox1.Text = "Annotations include a Callout object.\r\n\r\nThis object is used to draw a line from " + "the annotation to any position in the chart."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.buttonPen1); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(360, 39); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.Chart3DPercent = 25; this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.ZoomText = false; this.tChart1.Cursor = System.Windows.Forms.Cursors.Default; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "Annotation callout" }; this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.tChart1.Panel.Brush.Gradient.Visible = true; // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.tChart1.Panel.Gradient.Visible = true; this.tChart1.Series.Add(this.points1); this.tChart1.Size = new System.Drawing.Size(360, 189); this.tChart1.Tools.Add(this.annotation1); // // tChart1.Walls // // // tChart1.Walls.Back // // // tChart1.Walls.Back.Brush // this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192))); // // 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.Brush // this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128))); // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // tChart1.Walls.Right // // // tChart1.Walls.Right.Brush // this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.tChart1.ClickSeries += this.tChart1_ClickSeries; this.tChart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.tChart1_MouseMove); // // buttonPen1 // this.buttonPen1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonPen1.Location = new System.Drawing.Point(116, 8); this.buttonPen1.Name = "buttonPen1"; this.buttonPen1.Size = new System.Drawing.Size(64, 24); this.buttonPen1.TabIndex = 2; this.buttonPen1.Text = "Border..."; // // 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(196, 12); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(92, 16); this.checkBox1.TabIndex = 3; this.checkBox1.Text = "Follow mouse"; 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(32, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(64, 24); this.button1.TabIndex = 1; this.button1.Text = "Edit..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // points1 // this.points1.ColorEach = true; // // points1.Marks // // // points1.Marks.Symbol // // // points1.Marks.Symbol.Shadow // this.points1.Marks.Symbol.Shadow.Height = 1; this.points1.Marks.Symbol.Shadow.Visible = true; this.points1.Marks.Symbol.Shadow.Width = 1; // // points1.Pointer // // // points1.Pointer.Brush // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(204))); this.points1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "points1"; // // points1.XValues // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // points1.YValues // this.points1.YValues.DataMember = "Y"; // // annotation1 // this.annotation1.Cursor = System.Windows.Forms.Cursors.Default; this.annotation1.Left = 180; // // annotation1.Shape // this.annotation1.Shape.Bottom = 42; this.annotation1.Shape.CustomPosition = true; this.annotation1.Shape.Left = 180; this.annotation1.Shape.Lines = new string[] { " Move the mouse ! " }; // // annotation1.Shape.Pen // this.annotation1.Shape.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(255))); this.annotation1.Shape.Right = 279; // // annotation1.Shape.Shadow // this.annotation1.Shape.Shadow.Visible = true; this.annotation1.Shape.Top = 25; this.annotation1.Text = " Move the mouse ! "; this.annotation1.Top = 25; // // AnnotationCallout // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(360, 301); this.Name = "AnnotationCallout"; this.Load += new System.EventHandler(this.AnnotationCallout_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Template_Chart)); this.textBox1 = new System.Windows.Forms.TextBox(); this.panel1 = new System.Windows.Forms.Panel(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.tChart2 = new Steema.TeeChart.TChart(); this.tChart1 = new Steema.TeeChart.TChart(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox1.Dock = System.Windows.Forms.DockStyle.Top; this.textBox1.Location = new System.Drawing.Point(0, 0); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(439, 62); this.textBox1.TabIndex = 2; this.textBox1.Text = resources.GetString("textBox1.Text"); // // panel1 // this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 62); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(439, 42); this.panel1.TabIndex = 3; // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(153, 7); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(143, 23); this.button2.TabIndex = 1; this.button2.Text = "&Run Example"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(16, 7); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(100, 23); this.button1.TabIndex = 0; this.button1.Text = "&Edit Template..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel2 // this.panel2.Controls.Add(this.splitter1); this.panel2.Controls.Add(this.tChart2); this.panel2.Controls.Add(this.tChart1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 104); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(439, 168); this.panel2.TabIndex = 4; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(142, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(5, 168); this.splitter1.TabIndex = 2; this.splitter1.TabStop = false; // // tChart2 // // // // this.tChart2.Aspect.ZOffset = 0; this.tChart2.Dock = System.Windows.Forms.DockStyle.Fill; // // // this.tChart2.Header.Lines = new string[] { "tChart2" }; this.tChart2.Location = new System.Drawing.Point(142, 0); this.tChart2.Name = "tChart2"; this.tChart2.Size = new System.Drawing.Size(297, 168); this.tChart2.TabIndex = 1; // // // // // // // // // this.tChart2.Walls.Bottom.Pen.Visible = false; this.tChart2.Walls.Bottom.Size = 5; // // // // // // this.tChart2.Walls.Left.Pen.Visible = false; this.tChart2.Walls.Left.Size = 5; // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; this.tChart1.Dock = System.Windows.Forms.DockStyle.Left; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; // // // this.tChart1.Legend.Visible = false; this.tChart1.Location = new System.Drawing.Point(0, 0); this.tChart1.Name = "tChart1"; this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(142, 168); this.tChart1.TabIndex = 0; // // // // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.Red; this.pointSeries1.ColorEach = false; // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // Export_Template // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(439, 272); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Controls.Add(this.textBox1); this.Name = "Export_Template"; this.Text = "Template"; this.panel1.ResumeLayout(false); this.panel2.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.points1 = new Steema.TeeChart.Styles.Points(); this.cbFormat = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.BackColor = System.Drawing.Color.AliceBlue; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(440, 40); this.textBox1.TabIndex = 0; this.textBox1.Text = "Axes labels can be formatted using date-time string format specifiers."; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cbFormat); this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Name = "panel1"; this.panel1.TabIndex = 1; // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.View3D = false; // // tChart1.Axes // // // tChart1.Axes.Bottom // // // tChart1.Axes.Bottom.AxisPen // this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); this.tChart1.Axes.Bottom.AxisPen.Width = 1; // // tChart1.Axes.Bottom.Grid // this.tChart1.Axes.Bottom.Grid.Visible = false; // // tChart1.Axes.Bottom.Labels // this.tChart1.Axes.Bottom.Labels.Angle = 90; // // tChart1.Axes.Left // // // tChart1.Axes.Left.AxisPen // this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); this.tChart1.Axes.Left.AxisPen.Width = 1; // // tChart1.Axes.Left.Grid // this.tChart1.Axes.Left.Grid.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.Font.Shadow.Visible = true; this.tChart1.Header.Lines = new string[] { "Formatted Axis Labels" }; // // tChart1.Legend // // // tChart1.Legend.Pen // this.tChart1.Legend.Pen.Visible = false; // // tChart1.Legend.Shadow // // // tChart1.Legend.Shadow.Brush // this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); this.tChart1.Location = new System.Drawing.Point(0, 79); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.UseMiddle = true; this.tChart1.Panel.Brush.Gradient.Visible = true; // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210))); this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.UseMiddle = true; this.tChart1.Panel.Gradient.Visible = true; this.tChart1.Series.Add(this.points1); this.tChart1.Size = new System.Drawing.Size(440, 238); this.tChart1.TabIndex = 2; // // tChart1.Walls // // // tChart1.Walls.Back // // // tChart1.Walls.Back.Brush // this.tChart1.Walls.Back.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192))); // // tChart1.Walls.Back.Gradient // this.tChart1.Walls.Back.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Back.Gradient // this.tChart1.Walls.Back.Gradient.Transparency = 70; // // tChart1.Walls.Back.Pen // this.tChart1.Walls.Back.Pen.Visible = false; this.tChart1.Walls.Back.Transparent = false; // // 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; // // points1 // // // points1.LinePen // this.points1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(153)), ((System.Byte)(77)), ((System.Byte)(77))); // // points1.Pointer // // // points1.Pointer.Brush // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(128))); // // points1.Pointer.Pen // this.points1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(153)), ((System.Byte)(77)), ((System.Byte)(77))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "points1"; // // points1.XValues // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // points1.YValues // this.points1.YValues.DataMember = "Y"; // // cbFormat // this.cbFormat.Location = new System.Drawing.Point(64, 8); this.cbFormat.Name = "cbFormat"; this.cbFormat.Size = new System.Drawing.Size(136, 21); this.cbFormat.TabIndex = 1; this.cbFormat.TextChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged); this.cbFormat.SelectedIndexChanged += new System.EventHandler(this.cbFormat_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(17, 12); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(43, 16); this.label2.TabIndex = 0; this.label2.Text = "&Format:"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // Axis_Millisecond // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Axis_Millisecond"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Legend_Series)); this.label1 = new System.Windows.Forms.Label(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.barSeries1 = new Steema.TeeChart.Styles.Bar(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = resources.GetString("textBox1.Text"); // // panel1 // this.panel1.Controls.Add(this.radioButton2); this.panel1.Controls.Add(this.radioButton1); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Size = new System.Drawing.Size(466, 33); // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 32; this.tChart1.Axes.Bottom.MinimumOffset = 32; // // // this.tChart1.Axes.Left.MaximumOffset = 37; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; // // // // // // this.tChart1.Legend.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.Lowered; this.tChart1.Legend.LegendStyle = Steema.TeeChart.LegendStyles.Values; // // // // // // 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.barSeries1); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 190); // // // // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 96); this.chartContainer.Size = new System.Drawing.Size(466, 190); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(20, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 13); this.label1.TabIndex = 0; this.label1.Text = "Use Series :"; this.label1.UseMnemonic = false; // // radioButton1 // this.radioButton1.Checked = true; this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton1.Location = new System.Drawing.Point(113, 9); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(55, 21); this.radioButton1.TabIndex = 1; this.radioButton1.TabStop = true; this.radioButton1.Text = "&Bar"; this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // radioButton2 // this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton2.Location = new System.Drawing.Point(173, 9); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(107, 21); this.radioButton2.TabIndex = 2; this.radioButton2.Text = "&Point"; this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // barSeries1 // // // // this.barSeries1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.barSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.barSeries1.ColorEach = false; // // // // // // this.barSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.barSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.barSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.barSeries1.Marks.Callout.Distance = 0; this.barSeries1.Marks.Callout.Draw3D = false; this.barSeries1.Marks.Callout.Length = 20; this.barSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.barSeries1.Marks.Callout.Visible = false; // // // this.barSeries1.Marks.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); // // // this.barSeries1.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); this.barSeries1.Title = "barSeries1"; // // // this.barSeries1.XValues.DataMember = "X"; this.barSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.barSeries1.YValues.DataMember = "Bar"; // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.pointSeries1.ColorEach = false; // // // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(77)))), ((int)(((byte)(0))))); // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); // // // this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(77)))), ((int)(((byte)(0))))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // Legend_Series // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Legend_Series"; 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(Legend_FontColor)); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.lineSeries1 = new Steema.TeeChart.Styles.Line(); this.lineSeries2 = new Steema.TeeChart.Styles.Line(); this.lineSeries3 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Legend.FontSeriesColor property displays each Legend item using the Series Color." + " Applies to both single and multiple series in the same chart.\r\n\r\nExample: tChar" + "t1.Legend.FontSeriesColor = true ;"; // // panel1 // this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Size = new System.Drawing.Size(466, 34); // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Header.Visible = false; // // // // // // // // // this.tChart1.Legend.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(192)))), ((int)(((byte)(93))))); this.tChart1.Legend.Font.Italic = true; // // // this.tChart1.Legend.Font.Shadow.Visible = true; this.tChart1.Legend.Font.Size = 10; this.tChart1.Legend.Font.SizeFloat = 10F; this.tChart1.Legend.FontSeriesColor = true; // // // // // // 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.pointSeries1); this.tChart1.Series.Add(this.lineSeries1); this.tChart1.Series.Add(this.lineSeries2); this.tChart1.Series.Add(this.lineSeries3); this.tChart1.Size = new System.Drawing.Size(466, 189); this.tChart1.Tools.Add(this.gridBand1); // // // // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 97); this.chartContainer.Size = new System.Drawing.Size(466, 189); // // 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, 6); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(180, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&Legend font series color"; 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(220, 6); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(100, 21); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "&Multiple series"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); // // // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.pointSeries1.ColorEach = true; // // // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.pointSeries1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; // // // this.pointSeries1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); // // // this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // lineSeries1 // // // // this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.lineSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.lineSeries1.ColorEach = false; // // // this.lineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); // // // // // // 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 = "lineSeries1"; this.lineSeries1.Visible = false; // // // 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)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20))))); this.lineSeries2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20))))); this.lineSeries2.ColorEach = false; // // // this.lineSeries2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(46)))), ((int)(((byte)(12))))); // // // // // // 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 = "lineSeries2"; this.lineSeries2.Visible = false; // // // this.lineSeries2.XValues.DataMember = "X"; this.lineSeries2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.lineSeries2.YValues.DataMember = "Y"; // // lineSeries3 // // // // this.lineSeries3.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168))))); this.lineSeries3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168))))); this.lineSeries3.ColorEach = false; // // // this.lineSeries3.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(91)))), ((int)(((byte)(101))))); // // // // // // this.lineSeries3.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.lineSeries3.Marks.Callout.ArrowHeadSize = 8; // // // 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; this.lineSeries3.Marks.Callout.Visible = false; // // // this.lineSeries3.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.lineSeries3.Title = "lineSeries3"; this.lineSeries3.Visible = false; // // // this.lineSeries3.XValues.DataMember = "X"; this.lineSeries3.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.lineSeries3.YValues.DataMember = "Y"; // // Legend_FontColor // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Legend_FontColor"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_Correlation)); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.points1 = new Steema.TeeChart.Styles.Points(); this.correlationFunction1 = new Steema.TeeChart.Functions.CorrelationFunction(); this.line1 = new Steema.TeeChart.Styles.Line(); this.trendFunction1 = new Steema.TeeChart.Functions.TrendFunction(); this.line2 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(440, 56); this.textBox1.Text = "Correlation function calculates a coefficient value from -1 to 1 that indicates h" + "ow well source X and Y values follow the same trend."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 56); this.panel1.Size = new System.Drawing.Size(440, 40); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Bottom.MinorTicks.Visible = false; // // // this.tChart1.Axes.Bottom.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Depth.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Depth.MinorTicks.Visible = false; // // // this.tChart1.Axes.Depth.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.DepthTop.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.DepthTop.MinorTicks.Visible = false; // // // this.tChart1.Axes.DepthTop.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // 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.BackColor = System.Drawing.Color.Transparent; // // // // // // // // // this.tChart1.Header.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Header.Brush.Gradient.SigmaScale = 0F; this.tChart1.Header.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // // // // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Header.Lines = new string[] { "Correlation function example" }; // // // // // // // // // 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.Bevel.ColorTwo = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); // // // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Panel.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Panel.Brush.Gradient.SigmaScale = 0F; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tChart1.Panel.Brush.Gradient.UseMiddle = false; this.tChart1.Series.Add(this.points1); this.tChart1.Series.Add(this.line1); this.tChart1.Series.Add(this.line2); this.tChart1.Size = new System.Drawing.Size(440, 221); // // // // // // // // // // // // 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; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 96); this.chartContainer.Size = new System.Drawing.Size(440, 221); // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(16, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(104, 24); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Show trend"; 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(160, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 23); this.button1.TabIndex = 1; this.button1.Text = "New random values"; this.button1.Click += new System.EventHandler(this.button1_Click); // // points1 // this.points1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(155)))), ((int)(((byte)(254))))); this.points1.ColorEach = false; // // // // // // // // // this.points1.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.points1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.points1.Marks.Brush.Gradient.SigmaFocus = 0F; this.points1.Marks.Brush.Gradient.SigmaScale = 0F; this.points1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Marks.Callout.Visible = false; // // // // // // this.points1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.points1.Marks.Transparent = true; // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(155)))), ((int)(((byte)(254))))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Diamond; this.points1.Title = "Data"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(209)))), ((int)(((byte)(36))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(209)))), ((int)(((byte)(36))))); this.line1.ColorEach = false; this.line1.DataSource = this.points1; this.line1.Function = this.correlationFunction1; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); this.line1.LinePen.Style = System.Drawing.Drawing2D.DashStyle.Dot; this.line1.LinePen.Width = 2; // // // // // // // // // 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 = "Correlation"; this.line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right; // // // this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // line2 // // // // this.line2.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(188)))), ((int)(((byte)(13))))); this.line2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(188)))), ((int)(((byte)(13))))); this.line2.ColorEach = false; this.line2.DataSource = this.points1; this.line2.Function = this.trendFunction1; // // // this.line2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); this.line2.LinePen.Width = 2; // // // // // // // // // this.line2.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.line2.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.line2.Marks.Brush.Gradient.SigmaFocus = 0F; this.line2.Marks.Brush.Gradient.SigmaScale = 0F; this.line2.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // 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.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.line2.Marks.Transparent = true; // // // this.line2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line2.Title = "Trend"; this.line2.Visible = false; // // // this.line2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // Function_Correlation // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Function_Correlation"; 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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Tools_Image)); this.contourSeries1 = new Steema.TeeChart.Styles.Contour(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.chartImage1 = new Steema.TeeChart.Tools.ChartImage(); this.label1 = new System.Windows.Forms.Label(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.button1 = new System.Windows.Forms.Button(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = @"The Image tool draws a picture (bitmap, jpeg, etc) behind chart Series. This can be used for GIS (Geographical) systems, using contours over images, or any other application using images as backgrounds. The image does zoom and scroll, following the associated series and axes."; // // panel1 // this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 41); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.View3D = false; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Header.Visible = false; this.tChart1.Location = new System.Drawing.Point(0, 104); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.contourSeries1); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 182); this.tChart1.Tools.Add(this.chartImage1); // // tChart1.Legend // this.tChart1.Legend.Symbol.Visible = false; // // contourSeries1 // // // contourSeries1.Brush // this.contourSeries1.Brush.Color = System.Drawing.Color.Red; this.contourSeries1.ColorEach = true; // // contourSeries1.Marks // // // contourSeries1.Marks.Symbol // // // contourSeries1.Marks.Symbol.Shadow // this.contourSeries1.Marks.Symbol.Shadow.Height = 1; this.contourSeries1.Marks.Symbol.Shadow.Visible = true; this.contourSeries1.Marks.Symbol.Shadow.Width = 1; this.contourSeries1.NumXValues = 25; this.contourSeries1.NumZValues = 25; this.contourSeries1.PaletteMin = 0; this.contourSeries1.PaletteStep = 0; this.contourSeries1.Title = "contour1"; // // contourSeries1.XValues // this.contourSeries1.XValues.DataMember = "X"; this.contourSeries1.YPosition = 0.20290816683830415; // // contourSeries1.YValues // this.contourSeries1.YValues.DataMember = "Y"; // // contourSeries1.ZValues // this.contourSeries1.ZValues.DataMember = "Z"; // // pointSeries1 // this.pointSeries1.ColorEach = true; // // pointSeries1.Marks // // // pointSeries1.Marks.Symbol // // // pointSeries1.Marks.Symbol.Shadow // this.pointSeries1.Marks.Symbol.Shadow.Height = 1; this.pointSeries1.Marks.Symbol.Shadow.Visible = true; this.pointSeries1.Marks.Symbol.Shadow.Width = 1; // // pointSeries1.Pointer // // // pointSeries1.Pointer.Brush // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Green; this.pointSeries1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "point1"; // // pointSeries1.XValues // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries1.YValues // this.pointSeries1.YValues.DataMember = "Y"; // // chartImage1 // this.chartImage1.Image = ((System.Drawing.Image)(resources.GetObject("chartImage1.Image"))); this.chartImage1.Series = this.contourSeries1; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(15, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(36, 16); this.label1.TabIndex = 0; this.label1.Text = "&Zoom:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(60, 9); this.hScrollBar1.Maximum = 200; this.hScrollBar1.Minimum = 50; this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(113, 17); this.hScrollBar1.TabIndex = 1; this.hScrollBar1.Value = 100; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(193, 7); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(95, 23); this.button1.TabIndex = 2; this.button1.Text = "&Edit tool..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(312, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(87, 21); this.checkBox1.TabIndex = 3; this.checkBox1.Text = "&Active"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // Tool_Image // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Tool_Image"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lineSeries1 = new Steema.TeeChart.Styles.Line(); this.barSeries1 = new Steema.TeeChart.Styles.Bar(); this.areaSeries1 = new Steema.TeeChart.Styles.Area(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Legend can show CheckBoxes, one for each active Series in the Chart. Clicking the" + " CheckBox shows / hides the Series.\r\n\r\nExample: tChart1.Legend.CheckBoxes = true" + " ;"; // // panel1 // this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 33); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // // tChart1.Axes // // // tChart1.Axes.Bottom // // // tChart1.Axes.Bottom.Grid // this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.Gray; // // tChart1.Axes.Bottom.Ticks // this.tChart1.Axes.Bottom.Ticks.Length = 2; // // tChart1.Axes.Depth // // // tChart1.Axes.Depth.Grid // this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.Gray; // // tChart1.Axes.Depth.Ticks // this.tChart1.Axes.Depth.Ticks.Length = 2; // // tChart1.Axes.Left // // // tChart1.Axes.Left.Grid // this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192))); // // tChart1.Axes.Left.Ticks // this.tChart1.Axes.Left.Ticks.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); this.tChart1.Axes.Left.Ticks.Length = 2; this.tChart1.Axes.Left.Ticks.Style = System.Drawing.Drawing2D.DashStyle.Dot; // // tChart1.Axes.Right // // // tChart1.Axes.Right.Grid // this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.Gray; // // tChart1.Axes.Right.Ticks // this.tChart1.Axes.Right.Ticks.Length = 2; // // tChart1.Axes.Top // // // tChart1.Axes.Top.Grid // this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.Gray; // // tChart1.Axes.Top.Ticks // this.tChart1.Axes.Top.Ticks.Length = 2; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "tChart1" }; // // tChart1.Legend // this.tChart1.Legend.CheckBoxes = true; // // tChart1.Legend.Pen // this.tChart1.Legend.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); // // tChart1.Legend.Shadow // // // tChart1.Legend.Shadow.Brush // this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(181)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0))); this.tChart1.Location = new System.Drawing.Point(0, 96); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Panel.Gradient // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.Yellow; this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.Empty; this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.White; // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.EndColor = System.Drawing.Color.Yellow; this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.Empty; this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.White; // // tChart1.Panel.Shadow // this.tChart1.Panel.Shadow.Height = 0; this.tChart1.Panel.Shadow.Width = 0; this.tChart1.Series.Add(this.barSeries1); this.tChart1.Series.Add(this.areaSeries1); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Series.Add(this.lineSeries1); this.tChart1.Size = new System.Drawing.Size(466, 190); // // tChart1.Walls // // // tChart1.Walls.Back // // // tChart1.Walls.Back.Pen // this.tChart1.Walls.Back.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); // // 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; // // tChart1.Walls.Right // // // tChart1.Walls.Right.Brush // this.tChart1.Walls.Right.Brush.Color = System.Drawing.Color.Silver; // // lineSeries1 // // // lineSeries1.Brush // this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(204))); // // lineSeries1.LinePen // this.lineSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(153)), ((System.Byte)(153)), ((System.Byte)(122))); // // 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 = "lineSeries1"; // // lineSeries1.XValues // this.lineSeries1.XValues.DataMember = "X"; this.lineSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // lineSeries1.YValues // this.lineSeries1.YValues.DataMember = "Y"; // // barSeries1 // // // barSeries1.Brush // this.barSeries1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(153)), ((System.Byte)(153))); // // barSeries1.Gradient // this.barSeries1.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(153)), ((System.Byte)(153))); // // barSeries1.Gradient // this.barSeries1.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(153)), ((System.Byte)(153))); // // barSeries1.Marks // // // barSeries1.Marks.Symbol // // // barSeries1.Marks.Symbol.Shadow // this.barSeries1.Marks.Symbol.Shadow.Height = 1; this.barSeries1.Marks.Symbol.Shadow.Visible = true; this.barSeries1.Marks.Symbol.Shadow.Width = 1; // // barSeries1.Pen // this.barSeries1.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(153)), ((System.Byte)(92)), ((System.Byte)(92))); this.barSeries1.Title = "barSeries1"; // // barSeries1.XValues // this.barSeries1.XValues.DataMember = "X"; this.barSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // barSeries1.YValues // this.barSeries1.YValues.DataMember = "Bar"; // // areaSeries1 // // // areaSeries1.AreaBrush // this.areaSeries1.AreaBrush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(102)), ((System.Byte)(51)), ((System.Byte)(153))); // // areaSeries1.AreaLines // this.areaSeries1.AreaLines.Color = System.Drawing.Color.FromArgb(((System.Byte)(61)), ((System.Byte)(31)), ((System.Byte)(92))); // // areaSeries1.Brush // this.areaSeries1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(102)), ((System.Byte)(51)), ((System.Byte)(153))); // // areaSeries1.LinePen // this.areaSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(61)), ((System.Byte)(31)), ((System.Byte)(92))); // // areaSeries1.Marks // // // areaSeries1.Marks.Symbol // // // areaSeries1.Marks.Symbol.Shadow // this.areaSeries1.Marks.Symbol.Shadow.Height = 1; this.areaSeries1.Marks.Symbol.Shadow.Visible = true; this.areaSeries1.Marks.Symbol.Shadow.Width = 1; // // areaSeries1.Pointer // this.areaSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.areaSeries1.Title = "areaSeries1"; // // areaSeries1.XValues // this.areaSeries1.XValues.DataMember = "X"; this.areaSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // areaSeries1.YValues // this.areaSeries1.YValues.DataMember = "Y"; // // pointSeries1 // // // pointSeries1.LinePen // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(122)), ((System.Byte)(153)), ((System.Byte)(153))); // // pointSeries1.Marks // // // pointSeries1.Marks.Symbol // // // pointSeries1.Marks.Symbol.Shadow // this.pointSeries1.Marks.Symbol.Shadow.Height = 1; this.pointSeries1.Marks.Symbol.Shadow.Visible = true; this.pointSeries1.Marks.Symbol.Shadow.Width = 1; // // pointSeries1.Pointer // // // pointSeries1.Pointer.Brush // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(204)), ((System.Byte)(255)), ((System.Byte)(255))); // // pointSeries1.Pointer.Pen // this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(122)), ((System.Byte)(153)), ((System.Byte)(153))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // pointSeries1.XValues // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries1.YValues // this.pointSeries1.YValues.DataMember = "Y"; // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(13, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(160, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&Legend check boxes"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // Legend_CheckBox // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Legend_CheckBox"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tool_DragMarks)); this.lineSeries1 = new Steema.TeeChart.Styles.Line(); this.dragMarks1 = new Steema.TeeChart.Tools.DragMarks(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(432, 40); this.textBox1.Text = "The DragMarks tool is used to allow the user at run-time to move series Marks. \r\n" + "Try moving a point mark using the mouse."; // // panel1 // this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Size = new System.Drawing.Size(432, 41); // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Left.MaximumOffset = 10; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; // // // // // // 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.pointSeries1); this.tChart1.Size = new System.Drawing.Size(432, 212); this.tChart1.Tools.Add(this.dragMarks1); // // // // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 81); this.chartContainer.Size = new System.Drawing.Size(432, 212); // // lineSeries1 // // // // this.lineSeries1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.lineSeries1.ClickableLine = false; this.lineSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.lineSeries1.ColorEach = false; this.lineSeries1.ColorEachLine = 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.Marks.Visible = true; // // // this.lineSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.lineSeries1.Title = "lineSeries1"; // // // this.lineSeries1.XValues.DataMember = "X"; this.lineSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.lineSeries1.YValues.DataMember = "Y"; // // dragMarks1 // this.dragMarks1.Series = this.lineSeries1; // // 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(60, 18); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&Active"; 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(133, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 1; this.button1.Text = "&Reset"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(220, 6); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 2; this.button2.Text = "&Edit..."; this.button2.Click += new System.EventHandler(this.button2_Click); // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.pointSeries1.ColorEach = false; // // // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; this.pointSeries1.Marks.Visible = true; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); // // // this.pointSeries1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // Tool_DragMarks // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(432, 293); this.Name = "Tool_DragMarks"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tool_CursorProg)); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.cursorTool1 = new Steema.TeeChart.Tools.CursorTool(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 32); this.textBox1.Text = "The Cursor tool allows changing its X and Y positions programatically."; // // panel1 // this.panel1.Controls.Add(this.button4); this.panel1.Controls.Add(this.button3); this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 32); this.panel1.Size = new System.Drawing.Size(466, 41); // // 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.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; 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.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 213); this.tChart1.Tools.Add(this.cursorTool1); // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 73); this.chartContainer.Size = new System.Drawing.Size(466, 213); // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.pointSeries1.ColorEach = false; // // // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(153))))); // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); // // // this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(153))))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // cursorTool1 // this.cursorTool1.Series = this.pointSeries1; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(16, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "< &Left"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(104, 8); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 1; this.button2.Text = "&Right >"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Location = new System.Drawing.Point(187, 8); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 2; this.button3.Text = "^ &Up"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button4.Location = new System.Drawing.Point(272, 8); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); this.button4.TabIndex = 3; this.button4.Text = "v &Down"; this.button4.Click += new System.EventHandler(this.button4_Click); // // Tool_CursorProg // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Tool_CursorProg"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_Variance)); this.button1 = new System.Windows.Forms.Button(); this.points1 = new Steema.TeeChart.Styles.Points(); this.varianceFunction1 = new Steema.TeeChart.Functions.VarianceFunction(); this.line1 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(440, 56); this.textBox1.Text = "The Variance function returns how spread out a distribution is. The Standard Devi" + "ation function is the square root of the variance."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 56); this.panel1.Size = new System.Drawing.Size(440, 48); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Bottom.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Bottom.MinorTicks.Visible = false; // // // this.tChart1.Axes.Bottom.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Bottom.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Depth.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Depth.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // // this.tChart1.Axes.Depth.MinorTicks.Visible = false; // // // this.tChart1.Axes.Depth.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Depth.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.DepthTop.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.DepthTop.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // // this.tChart1.Axes.DepthTop.MinorTicks.Visible = false; // // // this.tChart1.Axes.DepthTop.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.DepthTop.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Left.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // 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.BackColor = System.Drawing.Color.Transparent; // // // // // // // // // this.tChart1.Header.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Header.Brush.Gradient.SigmaScale = 0F; this.tChart1.Header.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // // // // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Header.Lines = new string[] { "Variance function example" }; // // // this.tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom; // // // // // // 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.Series.Add(this.points1); this.tChart1.Series.Add(this.line1); this.tChart1.Size = new System.Drawing.Size(440, 213); // // // // // // // // // // // // 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; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 104); this.chartContainer.Size = new System.Drawing.Size(440, 213); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(32, 16); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 23); this.button1.TabIndex = 0; this.button1.Text = "New random values"; this.button1.Click += new System.EventHandler(this.button1_Click); // // points1 // this.points1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(155)))), ((int)(((byte)(254))))); this.points1.ColorEach = false; // // // // // // // // // this.points1.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.points1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.points1.Marks.Brush.Gradient.SigmaFocus = 0F; this.points1.Marks.Brush.Gradient.SigmaScale = 0F; this.points1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Marks.Callout.Visible = false; // // // // // // this.points1.Marks.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.points1.Marks.Transparent = true; // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(155)))), ((int)(((byte)(254))))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "Data"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(209)))), ((int)(((byte)(36))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(209)))), ((int)(((byte)(36))))); this.line1.ColorEach = false; this.line1.DataSource = this.points1; this.line1.Function = this.varianceFunction1; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); // // // // // // // // // 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 = "Variance"; this.line1.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right; // // // this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // Function_Variance // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Function_Variance"; 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.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.points1 = new Steema.TeeChart.Styles.Points(); this.legendScrollBar1 = new Steema.TeeChart.Tools.LegendScrollBar(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Text = "Legend scrollbar tool displays a scroll-bar inside the legend bounds.\r\n\r\nThe scro" + "llbar is not a Windows control, thus it allows more customization\r\nof colors, et" + "c."; // // panel1 // this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.button1); this.panel1.Name = "panel1"; // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.View3D = false; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "tChart1" }; 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.points1); this.tChart1.Tools.Add(this.legendScrollBar1); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(16, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(144, 23); this.button1.TabIndex = 0; this.button1.Text = "Edit Legend ScrollBar..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.Location = new System.Drawing.Point(182, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(106, 16); this.label1.TabIndex = 1; this.label1.Text = "Legend First Value:"; // // label2 // this.label2.Location = new System.Drawing.Point(288, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(48, 16); this.label2.TabIndex = 2; // // points1 // this.points1.ColorEach = true; // // points1.Marks // // // points1.Marks.Symbol // // // points1.Marks.Symbol.Shadow // this.points1.Marks.Symbol.Shadow.Height = 1; this.points1.Marks.Symbol.Shadow.Visible = true; this.points1.Marks.Symbol.Shadow.Width = 1; // // points1.Pointer // // // points1.Pointer.Brush // this.points1.Pointer.Brush.Color = System.Drawing.Color.Red; this.points1.Pointer.Brush.ForegroundColor = System.Drawing.Color.Empty; this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "points1"; // // points1.XValues // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // points1.YValues // this.points1.YValues.DataMember = "Y"; // // legendScrollBar1 // // // legendScrollBar1.ArrowBrush // this.legendScrollBar1.ArrowBrush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(128))); // // legendScrollBar1.Bevel // this.legendScrollBar1.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.Raised; this.legendScrollBar1.DrawStyle = Steema.TeeChart.Tools.ScrollBarDrawStyle.Always; this.legendScrollBar1.Horizontal = false; // // legendScrollBar1.Pen // this.legendScrollBar1.Pen.Color = System.Drawing.SystemColors.WindowFrame; this.legendScrollBar1.Position = 0; this.legendScrollBar1.Size = 18; // // legendScrollBar1.ThumbBrush // this.legendScrollBar1.ThumbBrush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(128))); this.legendScrollBar1.Scrolled += new Steema.TeeChart.Tools.ScrollBarScrolledHandler(this.legendScrollBar1_Scrolled); // // LegendScrollBar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "LegendScrollBar"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Tool_DragPoint)); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.dragPoint1 = new Steema.TeeChart.Tools.DragPoint(); this.points1 = new Steema.TeeChart.Styles.Points(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 48); this.textBox1.Text = "The Drag Point tool allows clicking and moving Series points at run-time, using t" + "he mouse.\r\nClick and drag a point !"; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 48); this.panel1.Size = new System.Drawing.Size(466, 41); // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Legend.Visible = false; this.tChart1.Series.Add(this.points1); this.tChart1.Size = new System.Drawing.Size(466, 197); this.tChart1.Tools.Add(this.dragPoint1); // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 89); this.chartContainer.Size = new System.Drawing.Size(466, 197); // // 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, 7); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(54, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&Active"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "X only", "Y only", "X and Y" }); this.comboBox1.Location = new System.Drawing.Point(130, 7); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(100, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(96, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(33, 13); this.label1.TabIndex = 2; this.label1.Text = "&Style:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(273, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 3; this.button1.Text = "&Edit..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // dragPoint1 // this.dragPoint1.Cursor = System.Windows.Forms.Cursors.Hand; this.dragPoint1.Series = this.points1; // // points1 // this.points1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.points1.ColorEach = false; // // // this.points1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); // // // // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Marks.Callout.Visible = false; // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); // // // this.points1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); // // // this.points1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Title = "points1"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // Tool_DragPoint // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Tool_DragPoint"; this.Load += new System.EventHandler(this.Tools_DragPoint_Load); 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(Tools_Nearest)); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.nearestPoint1 = new Steema.TeeChart.Tools.NearestPoint(); this.label1 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = resources.GetString("textBox1.Text"); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Size = new System.Drawing.Size(466, 41); // // 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.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Header.Alignment = System.Drawing.StringAlignment.Near; this.tChart1.Header.Lines = new string[] { "Nearest tool example" }; // // // // // // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.tChart1.Panel.Brush.Gradient.UseMiddle = false; this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 182); this.tChart1.Tools.Add(this.nearestPoint1); // // // // // // this.tChart1.Walls.Back.Visible = false; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 104); this.chartContainer.Size = new System.Drawing.Size(466, 182); // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.Red; this.pointSeries1.ColorEach = false; // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; this.pointSeries1.Marks.Visible = true; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // nearestPoint1 // // // // this.nearestPoint1.Pen.Color = System.Drawing.Color.White; this.nearestPoint1.Series = this.pointSeries1; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(7, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(33, 13); this.label1.TabIndex = 0; this.label1.Text = "&Style:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "None", "Circle", "Rectangle", "Diamond" }); this.comboBox1.Location = new System.Drawing.Point(47, 7); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(100, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // 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, 7); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(67, 21); this.checkBox1.TabIndex = 2; this.checkBox1.Text = "&Active"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // checkBox2 // this.checkBox2.Checked = true; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox2.Location = new System.Drawing.Point(227, 7); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(85, 21); this.checkBox2.TabIndex = 3; this.checkBox2.Text = "&Draw Line"; 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(320, 6); 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); // // Tools_Nearest // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Tools_Nearest"; this.Load += new System.EventHandler(this.Tool_Nearest_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.chartContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.pointSeries2 = new Steema.TeeChart.Styles.Points(); this.pointSeries3 = new Steema.TeeChart.Styles.Points(); this.pointSeries4 = new Steema.TeeChart.Styles.Points(); this.pointSeries5 = new Steema.TeeChart.Styles.Points(); this.pointSeries6 = new Steema.TeeChart.Styles.Points(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Point series displays XY values using a Pointer.\r\n\r\nEach pointer has many differe" + "nt properties, like color, 3D, shadow, style, marks, pattern, border, width, hei" + "ght, etc."; // // panel1 // this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 33); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.Chart3DPercent = 35; this.tChart1.Aspect.Elevation = 350; this.tChart1.Aspect.Orthogonal = false; this.tChart1.Aspect.Perspective = 55; this.tChart1.Aspect.Rotation = 322; this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.tChart1.Aspect.Zoom = 72; // // tChart1.Header // this.tChart1.Header.Bottom = 26; this.tChart1.Header.CustomPosition = true; // // tChart1.Header.Font // this.tChart1.Header.Font.Bold = true; // // tChart1.Header.Font.Brush // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.Teal; this.tChart1.Header.Font.Size = 10; this.tChart1.Header.Left = 10; this.tChart1.Header.Lines = new string[] { "Point series" }; this.tChart1.Header.Right = 110; this.tChart1.Header.Top = 9; // // tChart1.Legend // this.tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom; // // tChart1.Legend.Brush // this.tChart1.Legend.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192))); // // tChart1.Legend.Pen // this.tChart1.Legend.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0))); // // tChart1.Legend.Shadow // // // tChart1.Legend.Shadow.Brush // this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(192))); this.tChart1.Legend.Shadow.Height = 4; this.tChart1.Legend.Shadow.Width = 4; this.tChart1.Location = new System.Drawing.Point(0, 96); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Series.Add(this.pointSeries2); this.tChart1.Series.Add(this.pointSeries3); this.tChart1.Series.Add(this.pointSeries4); this.tChart1.Series.Add(this.pointSeries5); this.tChart1.Series.Add(this.pointSeries6); this.tChart1.Size = new System.Drawing.Size(466, 190); this.tChart1.Tools.Add(this.gridBand1); // // tChart1.Walls // // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Brush // this.tChart1.Walls.Bottom.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // tChart1.Walls.Bottom.Gradient // this.tChart1.Walls.Bottom.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Bottom.Gradient // this.tChart1.Walls.Bottom.Gradient.Transparency = 70; // // tChart1.Walls.Bottom.Pen // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 3; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Brush // this.tChart1.Walls.Left.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(224))); // // tChart1.Walls.Left.Gradient // this.tChart1.Walls.Left.Brush.Gradient.Transparency = 70; // // tChart1.Walls.Left.Gradient // this.tChart1.Walls.Left.Gradient.Transparency = 70; // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 3; // // 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(40, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&3D"; 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(93, 8); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(67, 21); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "&Animate"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // timer1 // this.timer1.Interval = 1; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // pointSeries1 // // // pointSeries1.Marks // // // pointSeries1.Marks.Symbol // // // pointSeries1.Marks.Symbol.Shadow // this.pointSeries1.Marks.Symbol.Shadow.Height = 1; this.pointSeries1.Marks.Symbol.Shadow.Visible = true; this.pointSeries1.Marks.Symbol.Shadow.Width = 1; // // pointSeries1.Pointer // // // pointSeries1.Pointer.Brush // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "point6"; // // pointSeries1.XValues // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries1.YValues // this.pointSeries1.YValues.DataMember = "Y"; // // pointSeries2 // // // pointSeries2.Marks // // // pointSeries2.Marks.Symbol // // // pointSeries2.Marks.Symbol.Shadow // this.pointSeries2.Marks.Symbol.Shadow.Height = 1; this.pointSeries2.Marks.Symbol.Shadow.Visible = true; this.pointSeries2.Marks.Symbol.Shadow.Width = 1; // // pointSeries2.Pointer // // // pointSeries2.Pointer.Brush // this.pointSeries2.Pointer.Brush.Color = System.Drawing.Color.Green; this.pointSeries2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries2.Title = "point6"; // // pointSeries2.XValues // this.pointSeries2.XValues.DataMember = "X"; this.pointSeries2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries2.YValues // this.pointSeries2.YValues.DataMember = "Y"; // // pointSeries3 // // // pointSeries3.Marks // // // pointSeries3.Marks.Symbol // // // pointSeries3.Marks.Symbol.Shadow // this.pointSeries3.Marks.Symbol.Shadow.Height = 1; this.pointSeries3.Marks.Symbol.Shadow.Visible = true; this.pointSeries3.Marks.Symbol.Shadow.Width = 1; // // pointSeries3.Pointer // // // pointSeries3.Pointer.Brush // this.pointSeries3.Pointer.Brush.Color = System.Drawing.Color.Yellow; this.pointSeries3.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries3.Title = "point6"; // // pointSeries3.XValues // this.pointSeries3.XValues.DataMember = "X"; this.pointSeries3.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries3.YValues // this.pointSeries3.YValues.DataMember = "Y"; // // pointSeries4 // // // pointSeries4.Marks // // // pointSeries4.Marks.Symbol // // // pointSeries4.Marks.Symbol.Shadow // this.pointSeries4.Marks.Symbol.Shadow.Height = 1; this.pointSeries4.Marks.Symbol.Shadow.Visible = true; this.pointSeries4.Marks.Symbol.Shadow.Width = 1; // // pointSeries4.Pointer // // // pointSeries4.Pointer.Brush // this.pointSeries4.Pointer.Brush.Color = System.Drawing.Color.Blue; this.pointSeries4.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries4.Title = "point6"; // // pointSeries4.XValues // this.pointSeries4.XValues.DataMember = "X"; this.pointSeries4.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries4.YValues // this.pointSeries4.YValues.DataMember = "Y"; // // pointSeries5 // // // pointSeries5.LinePen // this.pointSeries5.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(153)), ((System.Byte)(153)), ((System.Byte)(122))); // // pointSeries5.Marks // // // pointSeries5.Marks.Symbol // // // pointSeries5.Marks.Symbol.Shadow // this.pointSeries5.Marks.Symbol.Shadow.Height = 1; this.pointSeries5.Marks.Symbol.Shadow.Visible = true; this.pointSeries5.Marks.Symbol.Shadow.Width = 1; // // pointSeries5.Pointer // // // pointSeries5.Pointer.Brush // this.pointSeries5.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(204))); // // pointSeries5.Pointer.Pen // this.pointSeries5.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(153)), ((System.Byte)(153)), ((System.Byte)(122))); this.pointSeries5.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries5.Title = "point6"; // // pointSeries5.XValues // this.pointSeries5.XValues.DataMember = "X"; this.pointSeries5.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries5.YValues // this.pointSeries5.YValues.DataMember = "Y"; // // pointSeries6 // // // pointSeries6.Marks // // // pointSeries6.Marks.Symbol // // // pointSeries6.Marks.Symbol.Shadow // this.pointSeries6.Marks.Symbol.Shadow.Height = 1; this.pointSeries6.Marks.Symbol.Shadow.Visible = true; this.pointSeries6.Marks.Symbol.Shadow.Width = 1; // // pointSeries6.Pointer // // // pointSeries6.Pointer.Brush // this.pointSeries6.Pointer.Brush.Color = System.Drawing.Color.Gray; this.pointSeries6.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries6.Title = "point6"; // // pointSeries6.XValues // this.pointSeries6.XValues.DataMember = "X"; this.pointSeries6.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries6.YValues // this.pointSeries6.YValues.DataMember = "Y"; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // gridBand1.Band1 // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(0))); // // gridBand1.Band2 // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(76)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); // // SeriesType_Point // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "SeriesType_Point"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Export_XML)); this.button1 = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.button2 = new System.Windows.Forms.Button(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.candleSeries1 = new Steema.TeeChart.Styles.Candle(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Series data can be exported to XML. It allows saving to file and copying to clipb" + "oard. There are several options when exporting to XML format, such as include la" + "bels, point\'s index, etc."; // // panel1 // this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Size = new System.Drawing.Size(466, 57); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Axes.Bottom.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // // // // this.tChart1.Axes.Left.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // // // // this.tChart1.Axes.Right.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Axes.Right.Visible = false; // // // // // // this.tChart1.Axes.Top.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Axes.Top.Visible = false; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; 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.candleSeries1); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 166); this.tChart1.Tools.Add(this.gridBand1); // // // // // // // // // this.tChart1.Walls.Back.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 120); this.chartContainer.Size = new System.Drawing.Size(466, 166); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(7, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(121, 23); this.button1.TabIndex = 3; this.button1.Text = "&Save to XML..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // saveFileDialog1 // this.saveFileDialog1.FileName = "doc1"; this.saveFileDialog1.Title = "Save Data (XML)"; // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Location = new System.Drawing.Point(152, 10); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(144, 23); this.button2.TabIndex = 8; this.button2.Text = "Show &export dialog..."; this.button2.Click += new System.EventHandler(this.button2_Click); // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(327, 7); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(121, 21); this.checkBox1.TabIndex = 9; this.checkBox1.Text = "Include &labels"; // // checkBox2 // this.checkBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox2.Location = new System.Drawing.Point(327, 28); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(113, 21); this.checkBox2.TabIndex = 10; this.checkBox2.Text = "Include &index"; // // candleSeries1 // // // // this.candleSeries1.Brush.Color = System.Drawing.Color.Red; this.candleSeries1.CloseValues = this.candleSeries1.YValues; this.candleSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.candleSeries1.ColorEach = false; this.candleSeries1.DateValues = this.candleSeries1.XValues; // // // this.candleSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); // // // // // // this.candleSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.candleSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.candleSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.candleSeries1.Marks.Callout.Distance = 0; this.candleSeries1.Marks.Callout.Draw3D = false; this.candleSeries1.Marks.Callout.Length = 10; this.candleSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.candleSeries1.Marks.Callout.Visible = false; // // // this.candleSeries1.Pointer.Draw3D = false; this.candleSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.candleSeries1.Title = "candleSeries1"; // // // this.candleSeries1.XValues.DataMember = "Date"; this.candleSeries1.XValues.DateTime = true; this.candleSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.candleSeries1.YValues.DataMember = "Close"; // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.Green; this.pointSeries1.ColorEach = false; // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Green; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); // // // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // Export_XML // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Export_XML"; 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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CurveFitting_Models)); this.points1 = new Steema.TeeChart.Styles.Points(); this.label1 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.line1 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "By using linear regression it\'s possible to fit data to several linearizable mode" + "ls."; // // panel1 // this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.label1); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; // // // // // // // // // this.tChart1.Legend.Title.Pen.Visible = false; this.tChart1.Series.Add(this.points1); this.tChart1.Series.Add(this.line1); this.tChart1.Size = new System.Drawing.Size(440, 205); // // points1 // this.points1.ColorEach = false; this.points1.DefaultNullValue = 0; // // // this.points1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(85)))), ((int)(((byte)(115))))); // // // // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(141)))), ((int)(((byte)(192))))); // // // this.points1.Pointer.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(141)))), ((int)(((byte)(192))))); // // // this.points1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(85)))), ((int)(((byte)(115))))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Pointer.Visible = true; this.points1.Title = "Source"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(39, 13); this.label1.TabIndex = 0; this.label1.Text = "Model:"; // // comboBox1 // #if VS2005 this.comboBox1.FormattingEnabled = true; #endif this.comboBox1.Items.AddRange(new object[] { "y(x)=a*Exp[b*x]", "y(x)=a*x^b", "y(x)=a+b*Ln[x]" }); this.comboBox1.Location = new System.Drawing.Point(48, 10); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(177, 21); this.comboBox1.TabIndex = 1; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(161)))), ((int)(((byte)(50))))); // // // this.line1.Gradient.Direction = System.Drawing.Drawing2D.LinearGradientMode.Horizontal; this.line1.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(64)))), ((int)(((byte)(20))))); this.line1.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(218)))), ((int)(((byte)(173))))); this.line1.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(161)))), ((int)(((byte)(50))))); this.line1.Gradient.UseMiddle = true; this.line1.ColorEach = false; this.line1.DefaultNullValue = 0; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(80)))), ((int)(((byte)(25))))); // // // // // // 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.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.line1.Title = "Fitted"; // // // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.line1.YValues.DataMember = "Y"; // // CurveFitting_Models // this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "CurveFitting_Models"; this.Load += new System.EventHandler(this.CurveFitting_Models_Load); 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_DownSampling)); this.points1 = new Steema.TeeChart.Styles.Points(); this.line1 = new Steema.TeeChart.Styles.Line(); this.downsampling1 = new Steema.TeeChart.Functions.DownSampling(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(440, 104); this.textBox1.Text = resources.GetString("textBox1.Text"); // // panel1 // this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.textBox2); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Location = new System.Drawing.Point(0, 104); this.panel1.Size = new System.Drawing.Size(440, 80); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // this.tChart1.Axes.Bottom.MaximumOffset = 3; this.tChart1.Axes.Bottom.MinimumOffset = 3; // // // this.tChart1.Axes.Left.MaximumOffset = 3; this.tChart1.Axes.Left.MinimumOffset = 3; // // // this.tChart1.Header.Lines = new string[] { "Downsampling function example" }; // // // this.tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom; // // // // // // 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.points1); this.tChart1.Series.Add(this.line1); this.tChart1.Size = new System.Drawing.Size(440, 133); // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 184); this.chartContainer.Size = new System.Drawing.Size(440, 133); // // points1 // this.points1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.points1.ColorEach = false; // // // // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Marks.Callout.Visible = false; // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.points1.Pointer.HorizSize = 2; // // // this.points1.Pointer.Pen.Visible = false; this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Triangle; this.points1.Pointer.VertSize = 2; this.points1.Title = "Data"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.line1.ColorEach = false; // // // this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); // // // // // // 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 = "Reduced data"; // // // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.line1.YValues.DataMember = "Y"; // // downsampling1 // this.downsampling1.DisplayedPointCount = 0; this.downsampling1.Method = Steema.TeeChart.Functions.DownSamplingMethod.Average; this.downsampling1.Period = 1; this.downsampling1.Tolerance = 1; // // hScrollBar1 // this.hScrollBar1.LargeChange = 1000; this.hScrollBar1.Location = new System.Drawing.Point(8, 16); this.hScrollBar1.Maximum = 10000; this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(152, 16); this.hScrollBar1.SmallChange = 100; this.hScrollBar1.TabIndex = 0; this.hScrollBar1.Value = 1000; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // label1 // this.label1.Location = new System.Drawing.Point(16, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(136, 16); this.label1.TabIndex = 1; this.label1.Text = "Data points : 1000"; // // label2 // this.label2.Location = new System.Drawing.Point(200, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 16); this.label2.TabIndex = 2; this.label2.Text = "Tolerance :"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(272, 16); this.textBox2.Name = "textBox2"; this.textBox2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.textBox2.Size = new System.Drawing.Size(40, 20); this.textBox2.TabIndex = 3; this.textBox2.Text = "10"; this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); // // label3 // this.label3.Location = new System.Drawing.Point(208, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 23); this.label3.TabIndex = 4; this.label3.Text = "Method :"; // // comboBox1 // this.comboBox1.Items.AddRange(new object[] { "Average", "Maximum", "Minimum", "Minimum AND Maximum" }); this.comboBox1.Location = new System.Drawing.Point(272, 40); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(104, 21); this.comboBox1.TabIndex = 5; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(16, 64); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(136, 16); this.label4.TabIndex = 6; this.label4.Text = "label4"; // // Function_DownSampling // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Function_DownSampling"; this.Load += new System.EventHandler(this.Function_DownSampling_Load); 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(Point_TreatNulls)); this.tChart1 = new Steema.TeeChart.TChart(); this.points1 = new Steema.TeeChart.Styles.Points(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioButton3 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "Point series has a new TreatNulls property."; // // panel1 // this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.groupBox1); this.panel1.Size = new System.Drawing.Size(426, 62); // // panel2 // this.panel2.Controls.Add(this.tChart1); this.panel2.Location = new System.Drawing.Point(0, 124); this.panel2.Size = new System.Drawing.Size(426, 134); // // tChart1 // // // // this.tChart1.Aspect.View3D = false; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // this.tChart1.Dock = System.Windows.Forms.DockStyle.Fill; // // // // // // // // // // // // // // // // // // // // // // // // this.tChart1.Location = new System.Drawing.Point(0, 0); this.tChart1.Name = "tChart1"; this.tChart1.Series.Add(this.points1); this.tChart1.Size = new System.Drawing.Size(426, 134); // // // // // // // // // // // // this.tChart1.TabIndex = 0; // // points1 // this.points1.ColorEach = false; // // // this.points1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); // // // // // // this.points1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.points1.Marks.Callout.ArrowHeadSize = 8; // // // this.points1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.points1.Marks.Callout.Distance = 0; this.points1.Marks.Callout.Draw3D = false; this.points1.Marks.Callout.Length = 0; this.points1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; // // // // // // // // // this.points1.Pointer.Brush.Color = System.Drawing.Color.Red; // // // this.points1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.points1.Pointer.Visible = true; this.points1.Title = "point1"; // // // this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.points1.YValues.DataMember = "Y"; // // groupBox1 // this.groupBox1.Controls.Add(this.radioButton3); this.groupBox1.Controls.Add(this.radioButton2); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.Location = new System.Drawing.Point(12, 6); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(223, 48); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Treat nulls"; // // radioButton3 // #if VS2005 this.radioButton3.AutoSize = true; #endif this.radioButton3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton3.Location = new System.Drawing.Point(151, 19); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(54, 17); this.radioButton3.TabIndex = 2; this.radioButton3.Text = "Ignore"; #if VS2005 this.radioButton3.UseVisualStyleBackColor = true; #endif this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // radioButton2 // #if VS2005 this.radioButton2.AutoSize = true; this.radioButton2.Name = "radioButton2"; this.radioButton2.UseVisualStyleBackColor = true; #endif this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton2.Location = new System.Drawing.Point(88, 19); this.radioButton2.Size = new System.Drawing.Size(45, 17); this.radioButton2.TabIndex = 1; this.radioButton2.Text = "Skip"; this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // radioButton1 // this.radioButton1.Checked = true; this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton1.Location = new System.Drawing.Point(6, 19); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(75, 17); this.radioButton1.TabIndex = 0; this.radioButton1.TabStop = true; this.radioButton1.Text = "Don\'t paint"; #if VS2005 this.radioButton1.UseVisualStyleBackColor = true; this.radioButton1.AutoSize = true; #endif this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(253, 26); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(128, 17); this.checkBox1.TabIndex = 1; this.checkBox1.Text = "Automatic vertical axis"; #if VS2005 this.checkBox1.AutoSize = true; this.checkBox1.UseVisualStyleBackColor = true; #endif this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // Point_TreatNulls // this.ClientSize = new System.Drawing.Size(426, 258); this.Name = "Point_TreatNulls"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); 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.lineSeries1 = new Steema.TeeChart.Styles.Line(); this.lineSeries2 = new Steema.TeeChart.Styles.Line(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.button1 = new System.Windows.Forms.Button(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.Text = "Charts can be copied to Clipboard with a CopyToClipboard method call.\r\n\r\nClick th" + "e button, then for example open Word and paste !"; // // panel1 // this.panel1.Controls.Add(this.radioButton2); this.panel1.Controls.Add(this.radioButton1); this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 41); // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.Chart3DPercent = 50; this.tChart1.Aspect.Elevation = 360; this.tChart1.Aspect.Orthogonal = false; this.tChart1.Aspect.Perspective = 72; this.tChart1.Aspect.Rotation = 360; this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.tChart1.Aspect.Zoom = 86; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "This is a TeeChart !" }; 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.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Panel.Brush.Gradient.UseMiddle = true; this.tChart1.Panel.Brush.Gradient.Visible = true; // // tChart1.Panel.Gradient // this.tChart1.Panel.Gradient.EndColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(0))); this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); this.tChart1.Panel.Gradient.StartColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Panel.Gradient.UseMiddle = true; this.tChart1.Panel.Gradient.Visible = true; this.tChart1.Series.Add(this.lineSeries1); this.tChart1.Series.Add(this.lineSeries2); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 182); // // 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 // // // lineSeries1.Pointer.Brush // this.lineSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0))); 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"; // // lineSeries2 // // // lineSeries2.Brush // this.lineSeries2.Brush.Color = System.Drawing.Color.Green; // // 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 // // // lineSeries2.Pointer.Brush // this.lineSeries2.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0))); 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"; // // pointSeries1 // // // pointSeries1.Marks // // // pointSeries1.Marks.Symbol // // // pointSeries1.Marks.Symbol.Shadow // this.pointSeries1.Marks.Symbol.Shadow.Height = 1; this.pointSeries1.Marks.Symbol.Shadow.Visible = true; this.pointSeries1.Marks.Symbol.Shadow.Width = 1; // // pointSeries1.Pointer // // // pointSeries1.Pointer.Brush // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Yellow; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // pointSeries1.XValues // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries1.YValues // this.pointSeries1.YValues.DataMember = "Y"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(16, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(120, 23); this.button1.TabIndex = 0; this.button1.Text = "&Copy to Clipboard"; this.button1.Click += new System.EventHandler(this.button1_Click); // // radioButton1 // this.radioButton1.Checked = true; this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton1.Location = new System.Drawing.Point(161, 9); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(115, 21); this.radioButton1.TabIndex = 1; this.radioButton1.TabStop = true; this.radioButton1.Text = "as &metafile"; // // radioButton2 // this.radioButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.radioButton2.Location = new System.Drawing.Point(261, 9); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(103, 21); this.radioButton2.TabIndex = 2; this.radioButton2.Text = "as &bitmap"; // // Clipboard_Single // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Clipboard_Single"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AxisTitle_Visible)); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.BackColor = System.Drawing.Color.AliceBlue; this.textBox1.Size = new System.Drawing.Size(466, 40); this.textBox1.TabIndex = 0; this.textBox1.Text = "Chart Axis Title has a Visible property (defaults to true) and extended Font and " + "formatting properties."; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.textBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 40); this.panel1.Size = new System.Drawing.Size(466, 33); this.panel1.TabIndex = 1; // // tChart1 // // // // this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // this.tChart1.Axes.Bottom.Grid.Visible = false; this.tChart1.Axes.Bottom.MaximumOffset = 5; this.tChart1.Axes.Bottom.MinimumOffset = 5; // // // // // // this.tChart1.Axes.Left.Grid.Visible = false; this.tChart1.Axes.Left.LogarithmicBase = 2; this.tChart1.Axes.Left.MaximumOffset = 5; this.tChart1.Axes.Left.MinimumOffset = 5; // // // this.tChart1.Axes.Left.Title.Caption = "Temperature [C]"; // // // // // // this.tChart1.Axes.Left.Title.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128))))); // // // // // // this.tChart1.Axes.Left.Title.Font.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.tChart1.Axes.Left.Title.Font.Shadow.Visible = true; this.tChart1.Axes.Left.Title.Lines = new string[] { "Temperature [C]" }; this.tChart1.Cursor = System.Windows.Forms.Cursors.Default; // // // this.tChart1.Header.Lines = new string[] { "tChart1" }; this.tChart1.Header.Visible = false; // // // // // // this.tChart1.Legend.Pen.Visible = false; // // // // // // this.tChart1.Legend.Shadow.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Legend.Shadow.Height = 2; this.tChart1.Legend.Shadow.Width = 2; // // // // // // 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.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(210))))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.tChart1.Panel.MarginTop = 10; this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 213); this.tChart1.TabIndex = 2; // // // // // // this.tChart1.Walls.Back.Visible = false; // // // // // // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 5; // // // // // // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 5; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 73); this.chartContainer.Size = new System.Drawing.Size(466, 213); // // pointSeries1 // this.pointSeries1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); this.pointSeries1.ColorEach = false; // // // this.pointSeries1.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(61)))), ((int)(((byte)(92)))), ((int)(((byte)(153))))); // // // // // // this.pointSeries1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.pointSeries1.Marks.Callout.ArrowHeadSize = 8; // // // this.pointSeries1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.pointSeries1.Marks.Callout.Distance = 0; this.pointSeries1.Marks.Callout.Draw3D = false; this.pointSeries1.Marks.Callout.Length = 0; this.pointSeries1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Marks.Callout.Visible = false; // // // // // // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(102)))), ((int)(((byte)(153)))), ((int)(((byte)(255))))); // // // this.pointSeries1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(61)))), ((int)(((byte)(92)))), ((int)(((byte)(153))))); this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.pointSeries1.YValues.DataMember = "Y"; // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox1.Location = new System.Drawing.Point(13, 6); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(107, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&Visible axis title"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // textBox2 // this.textBox2.Location = new System.Drawing.Point(208, 6); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(120, 20); this.textBox2.TabIndex = 2; this.textBox2.Text = "textBox2"; this.textBox2.TextChanged += new System.EventHandler(this.textBox2_TextChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(152, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 13); this.label1.TabIndex = 1; this.label1.Text = "Axis &title:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(344, 5); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(104, 23); this.button1.TabIndex = 3; this.button1.Text = "&Edit Title..."; this.button1.Click += new System.EventHandler(this.button1_Click); // // Axis_TitleVisible // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Axis_TitleVisible"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.chartContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
public ProductShipments() { this.Title = "Product Shipments"; this.tChart1 = new ChartView(); tChart1.WidthRequest = 400; tChart1.HeightRequest = 300; this.points1 = new Steema.TeeChart.Styles.Points(); this.points2 = new Steema.TeeChart.Styles.Points(); this.line1 = new Steema.TeeChart.Styles.Line(); this.average1 = new Steema.TeeChart.Functions.Average(); this.smoothing1 = new Steema.TeeChart.Functions.Smoothing(); this.line2 = new Steema.TeeChart.Styles.Line(); // tChart1 this.tChart1.Chart.Aspect.Elevation = 350; this.tChart1.Chart.Aspect.Perspective = 55; this.tChart1.Chart.Aspect.View3D = false; this.tChart1.Chart.Axes.Bottom.AxisPen.Visible = false; this.tChart1.Chart.Axes.Bottom.AxisPen.Width = 0; this.tChart1.Chart.Axes.Bottom.Grid.Visible = false; this.tChart1.Chart.Axes.Bottom.Labels.Font.Brush.Color = Color.Gray; this.tChart1.Chart.Axes.Bottom.Labels.Font.Size = 24; this.tChart1.Chart.Axes.Bottom.MinorTicks.Visible = false; this.tChart1.Chart.Axes.Bottom.Ticks.Color = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Chart.Axes.Depth.Title.Font.Size = 13; this.tChart1.Chart.Axes.DepthTop.Title.Font.Size = 13; this.tChart1.Chart.Axes.Left.AxisPen.Visible = false; this.tChart1.Chart.Axes.Left.AxisPen.Width = 0; this.tChart1.Chart.Axes.Left.Labels.Font.Brush.Color = Color.Gray; this.tChart1.Chart.Axes.Left.Labels.Font.Size = 24; this.tChart1.Chart.Axes.Left.MinimumOffset = 10; this.tChart1.Chart.Axes.Left.MinorTicks.Visible = false; this.tChart1.Chart.Axes.Left.Ticks.Color = Color.FromRgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.tChart1.Chart.Axes.Left.Ticks.Length = 7; this.tChart1.Chart.Axes.Right.AxisPen.Width = 0; this.tChart1.Chart.Axes.Right.Grid.Visible = false; this.tChart1.Chart.Axes.Right.Labels.Font.Brush.Color = Color.Gray; this.tChart1.Chart.Axes.Right.Labels.Font.Size = 31; this.tChart1.Chart.Axes.Right.MinorTicks.Visible = false; this.tChart1.Chart.Axes.Right.Ticks.Visible = false; this.tChart1.Chart.Footer.Font.Brush.Color = Color.Blue; this.tChart1.Chart.Header.Alignment = TextAlignment.Start; this.tChart1.Chart.Header.Font.Brush.Color = Color.Gray; this.tChart1.Chart.Header.Font.Shadow.Brush.Color = Color.Gray; this.tChart1.Chart.Header.Font.Shadow.SmoothBlur = 2; this.tChart1.Chart.Header.Font.Size = 33; this.tChart1.Chart.Header.Lines = new string[] { "Product shipments" }; this.tChart1.Chart.Legend.Font.Size = 19; this.tChart1.Chart.Legend.Pen.Visible = false; this.tChart1.Chart.Legend.Shadow.Visible = false; this.tChart1.Chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None; this.tChart1.Chart.Panel.Bevel.Width = 2; this.tChart1.Chart.Panel.BevelWidth = 2; this.tChart1.Chart.Panel.Brush.Color = Color.White; this.tChart1.Chart.Panel.Brush.Gradient.EndColor = Color.White; this.tChart1.Chart.Panel.Brush.Gradient.Visible = false; this.tChart1.Chart.Series.Add(this.points1); this.tChart1.Chart.Series.Add(this.points2); this.tChart1.Chart.Series.Add(this.line1); this.tChart1.Chart.Series.Add(this.line2); this.tChart1.Chart.Walls.Back.Brush.Gradient.EndColor = Color.White; this.tChart1.Chart.Walls.Back.Pen.Visible = false; this.tChart1.Chart.Walls.Bottom.Brush.Gradient.EndColor = Color.Silver; this.tChart1.Chart.Walls.Bottom.Brush.Gradient.StartColor = Color.Gray; this.tChart1.Chart.Walls.Bottom.Brush.Gradient.Visible = true; this.tChart1.Chart.Walls.Bottom.Pen.Color = Color.Gray; this.tChart1.Chart.Walls.Bottom.Transparent = true; this.tChart1.Chart.Walls.Left.Brush.Gradient.EndColor = Color.Silver; this.tChart1.Chart.Walls.Left.Brush.Gradient.StartColor = Color.Gray; this.tChart1.Chart.Walls.Left.Brush.Gradient.Visible = true; this.tChart1.Chart.Walls.Left.Pen.Color = Color.Gray; this.tChart1.Chart.Walls.Left.Transparent = true; this.tChart1.Chart.Walls.Right.Transparent = true; this.tChart1.Chart.Walls.Visible = false; // points1 this.points1.Color = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.points1.ColorEach = false; this.points1.LinePen.Color = Color.FromRgb(((int)(((byte)(41)))), ((int)(((byte)(61)))), ((int)(((byte)(98))))); this.points1.Pointer.Brush.Color = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.points1.Pointer.Brush.Gradient.StartColor = Color.FromRgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.points1.Pointer.SizeDouble = 0D; this.points1.Pointer.SizeUnits = Steema.TeeChart.Styles.PointerSizeUnits.Pixels; this.points1.Title = "points1"; this.points1.XValues.DataMember = "X"; this.points1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; this.points1.YValues.DataMember = "Y"; // points2 this.points2.Color = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.points2.ColorEach = false; this.points2.LinePen.Color = Color.FromRgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); this.points2.Pointer.Brush.Color = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.points2.Pointer.Brush.Gradient.StartColor = Color.FromRgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.points2.Pointer.SizeDouble = 0D; this.points2.Pointer.SizeUnits = Steema.TeeChart.Styles.PointerSizeUnits.Pixels; this.points2.Title = "points2"; this.points2.XValues.DataMember = "X"; this.points2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; this.points2.YValues.DataMember = "Y"; // line1 this.line1.Brush.Color = Color.FromRgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20))))); this.line1.Color = Color.FromRgb(((int)(((byte)(241)))), ((int)(((byte)(76)))), ((int)(((byte)(20))))); this.line1.ColorEach = false; this.line1.DataSource = new object[] { ((object)(this.points1)), ((object)(this.points2)) }; this.line1.Function = this.average1; this.line1.LinePen.Color = Color.FromRgb(((int)(((byte)(145)))), ((int)(((byte)(46)))), ((int)(((byte)(12))))); this.line1.Pointer.SizeDouble = 0D; this.line1.Pointer.SizeUnits = Steema.TeeChart.Styles.PointerSizeUnits.Pixels; this.line1.Title = "line1"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // average1 this.average1.Period = 2D; // smoothing1 this.smoothing1.Factor = 8; this.smoothing1.Period = 1D; // line2 this.line2.Brush.Color = Color.FromRgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168))))); this.line2.Color = Color.FromRgb(((int)(((byte)(78)))), ((int)(((byte)(151)))), ((int)(((byte)(168))))); this.line2.ColorEach = false; this.line2.LinePen.Color = Color.FromRgb(((int)(((byte)(47)))), ((int)(((byte)(91)))), ((int)(((byte)(101))))); this.line2.LinePen.Width = 2; this.line2.Pointer.SizeDouble = 0D; this.line2.Pointer.SizeUnits = Steema.TeeChart.Styles.PointerSizeUnits.Pixels; this.line2.Title = "line2"; this.line2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; int[] Yarr1 = new int[] { 5, 3, 2, 7, 1, 6, 4, 5, 1, 0, 10, 7, 11, 15, 12, 21, 17, 15, 19, 24, 21, 11, 15, 21, 19, 17, 20, 23 }; int[] Yarr2 = new int[] { 7, 1, 5, 1, 0, 10, 6, 3, 2, 7, 11, 4, 5, 3, 4, 5, 1, 5, 11, 15, 16, 14, 14, 13, 12, 15, 17, 19 }; DateTime[] Xarr = new DateTime[] { new DateTime(2012, 9, 1), new DateTime(2012, 9, 15), new DateTime(2012, 10, 1), new DateTime(2012, 10, 15), new DateTime(2012, 11, 1) , new DateTime(2012, 11, 15), new DateTime(2012, 12, 1), new DateTime(2012, 12, 15), new DateTime(2013, 1, 1), new DateTime(2013, 1, 15) , new DateTime(2013, 2, 1), new DateTime(2013, 2, 15), new DateTime(2013, 3, 1), new DateTime(2013, 3, 15) , new DateTime(2013, 4, 1), new DateTime(2013, 4, 15), new DateTime(2013, 5, 1), new DateTime(2013, 5, 15), new DateTime(2013, 6, 1) , new DateTime(2013, 6, 15), new DateTime(2013, 7, 1), new DateTime(2013, 7, 15), new DateTime(2013, 8, 1), new DateTime(2013, 8, 15) , new DateTime(2013, 9, 1), new DateTime(2013, 9, 15), new DateTime(2013, 10, 1), new DateTime(2013, 10, 15) }; tChart1.Chart.Panel.Gradient.Visible = false; tChart1.Chart.Walls.Back.Visible = false; tChart1.Chart[0].Title = "Apples"; tChart1.Chart[1].Title = "Pears"; tChart1.Chart[2].Title = "Average"; tChart1.Chart[0].Add(Xarr, Yarr1); tChart1.Chart[1].Add(Xarr, Yarr2); tChart1.Chart[0].XValues.DateTime = true; tChart1.Chart[1].XValues.DateTime = true; points1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; points2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; points1.Pointer.Pen.Visible = false; points2.Pointer.Pen.Visible = false; line1.LinePen.Visible = false; line1.Legend.Visible = false; line1.CheckDataSource(); line2.DataSource = line1; line2.Smoothed = true; line2.CheckDataSource(); tChart1.Chart.Header.Font.Size = 16; tChart1.Chart.SubHeader.Font.Size = 10; tChart1.Chart.SubHeader.Alignment = TextAlignment.Start; tChart1.Chart.Axes.Left.StartPosition = 8; this.tChart1.Chart.Aspect.ZoomText = true; Content = new StackLayout { VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand, Children = { tChart1 } }; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.pointSeries1 = new Steema.TeeChart.Styles.Points(); this.gridBand1 = new Steema.TeeChart.Tools.GridBand(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(466, 63); this.textBox1.TabIndex = 0; this.textBox1.Text = "The Zoom direction can be specified. ( Horizontal, Vertical or Both )\r\n\r\nExample:" + " tChart1.Zoom.Direction = Steema.TeeChart.ZoomDirections.Both;"; // // panel1 // this.panel1.Controls.Add(this.comboBox1); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(0, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(466, 33); this.panel1.TabIndex = 1; // // tChart1 // // // tChart1.Aspect // this.tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality; this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // // tChart1.Header // this.tChart1.Header.Lines = new string[] { "Different zoom directions" }; this.tChart1.Location = new System.Drawing.Point(0, 96); this.tChart1.Name = "tChart1"; // // tChart1.Panel // // // tChart1.Panel.Brush // this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))); this.tChart1.Series.Add(this.pointSeries1); this.tChart1.Size = new System.Drawing.Size(466, 190); this.tChart1.TabIndex = 2; this.tChart1.Tools.Add(this.gridBand1); // // tChart1.Walls // // // tChart1.Walls.Bottom // // // tChart1.Walls.Bottom.Pen // this.tChart1.Walls.Bottom.Pen.Visible = false; this.tChart1.Walls.Bottom.Size = 3; // // tChart1.Walls.Left // // // tChart1.Walls.Left.Pen // this.tChart1.Walls.Left.Pen.Visible = false; this.tChart1.Walls.Left.Size = 3; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(15, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 15); this.label1.TabIndex = 0; this.label1.Text = "Drag to zoom"; this.label1.UseMnemonic = false; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(127, 10); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(82, 16); this.label2.TabIndex = 1; this.label2.Text = "&Zoom direction:"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // comboBox1 // this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.Items.AddRange(new object[] { "Horizontal", "Vertical", "Both" }); this.comboBox1.Location = new System.Drawing.Point(213, 6); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(101, 21); this.comboBox1.TabIndex = 2; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // pointSeries1 // // // pointSeries1.Marks // // // pointSeries1.Marks.Symbol // // // pointSeries1.Marks.Symbol.Shadow // this.pointSeries1.Marks.Symbol.Shadow.Height = 1; this.pointSeries1.Marks.Symbol.Shadow.Visible = true; this.pointSeries1.Marks.Symbol.Shadow.Width = 1; // // pointSeries1.Pointer // // // pointSeries1.Pointer.Brush // this.pointSeries1.Pointer.Brush.Color = System.Drawing.Color.Red; this.pointSeries1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.pointSeries1.Title = "pointSeries1"; // // pointSeries1.XValues // this.pointSeries1.XValues.DataMember = "X"; this.pointSeries1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // pointSeries1.YValues // this.pointSeries1.YValues.DataMember = "Y"; // // gridBand1 // this.gridBand1.Axis = this.tChart1.Axes.Left; // // gridBand1.Band1 // this.gridBand1.Band1.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(128))); // // gridBand1.Band2 // this.gridBand1.Band2.Color = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); // // Zoom_Direction // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(466, 286); this.Name = "Zoom_Direction"; this.Load += new System.EventHandler(this.Zoom_Direction_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }