//Configuration Smoothing private void ConfigureSmoothing() { tChart1.Draw(); SmoothingArea = new Steema.TeeChart.Styles.Area(tChart1.Chart); SmoothingFunc = new Steema.TeeChart.Functions.Smoothing(); SmoothingArea.DataSource = area1; SmoothingArea.Function = SmoothingFunc; SmoothingArea.Color = area1.Color; SmoothingArea.AreaLines.Visible = false; SmoothingArea.LinePen.Visible = false; scrollPager1.Series = SmoothingArea; scrollPager1.Series.Color = BlueFlatPalette[0]; area1.Visible = false; }
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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Function_Smoothing)); this.line1 = new Steema.TeeChart.Styles.Line(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.button1 = new System.Windows.Forms.Button(); this.smoothing1 = new Steema.TeeChart.Functions.Smoothing(); this.line2 = new Steema.TeeChart.Styles.Line(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(512, 48); this.textBox1.Text = "Smoothing function interpolates points using a B-Spline algorithm. Several proper" + "ties control the Spline calculation.\r\n\r\nThe smoothed points can optionally pass " + "just exactly over the source points."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.numericUpDown1); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.checkBox3); this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Location = new System.Drawing.Point(0, 48); this.panel1.Size = new System.Drawing.Size(512, 41); // // 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 = 4; this.tChart1.Axes.Bottom.MinimumOffset = 4; // // // 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 = 4; this.tChart1.Axes.Left.MinimumOffset = 4; // // // this.tChart1.Axes.Left.MinorTicks.Visible = false; // // // this.tChart1.Axes.Left.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Left.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Right.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Right.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Right.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Right.MinorTicks.Visible = false; // // // this.tChart1.Axes.Right.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Right.TicksInner.Visible = true; // // // // // // this.tChart1.Axes.Top.AxisPen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Top.Grid.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Solid; // // // // // // // // // // // this.tChart1.Axes.Top.MinorTicks.Visible = false; // // // this.tChart1.Axes.Top.Ticks.Color = System.Drawing.Color.FromArgb(((int)(((byte)(130)))), ((int)(((byte)(130)))), ((int)(((byte)(130))))); // // // this.tChart1.Axes.Top.TicksInner.Visible = true; // // // // // // // // // this.tChart1.Header.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.tChart1.Header.Brush.Gradient.SigmaFocus = 0F; this.tChart1.Header.Brush.Gradient.SigmaScale = 0F; this.tChart1.Header.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); // // // // // // this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.tChart1.Header.Lines = new string[] { "tChart1" }; // // // // // // // // // 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.line1); this.tChart1.Series.Add(this.line2); this.tChart1.Size = new System.Drawing.Size(512, 260); // // // // // // // // // // // // 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, 89); this.chartContainer.Size = new System.Drawing.Size(512, 260); // // line1 // // // // this.line1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90))))); this.line1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(230)))), ((int)(((byte)(90))))); this.line1.ColorEach = false; // // // 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.HorizSize = 3; // // // this.line1.Pointer.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))); this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Triangle; this.line1.Pointer.VertSize = 3; this.line1.Pointer.Visible = true; this.line1.Title = "line1"; // // // this.line1.XValues.DataMember = "X"; this.line1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.line1.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(8, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(86, 21); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "&View points"; 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(96, 8); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(96, 21); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "View &source"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // checkBox3 // this.checkBox3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.checkBox3.Location = new System.Drawing.Point(192, 8); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(89, 21); this.checkBox3.TabIndex = 2; this.checkBox3.Text = "&Interpolate"; this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(288, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 13); this.label1.TabIndex = 3; this.label1.Text = "&Factor:"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(328, 8); this.numericUpDown1.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(53, 20); this.numericUpDown1.TabIndex = 4; this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.numericUpDown1.Value = new decimal(new int[] { 4, 0, 0, 0 }); this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(392, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 5; this.button1.Text = "&Random"; this.button1.Click += new System.EventHandler(this.button1_Click); // // smoothing1 // this.smoothing1.Interpolate = false; this.smoothing1.Period = 1; // // line2 // // // // this.line2.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220))))); this.line2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(150)))), ((int)(((byte)(220))))); this.line2.ColorEach = false; this.line2.DataSource = this.line1; this.line2.Function = this.smoothing1; // // // this.line2.LinePen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(94)))), ((int)(((byte)(32))))); // // // // // // // // // 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 = "line2"; // // // this.line2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // Function_Smoothing // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(512, 349); this.Name = "Function_Smoothing"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.chartContainer.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Polar_Smooth)); this.polar1 = new Steema.TeeChart.Styles.Polar(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.polar2 = new Steema.TeeChart.Styles.Polar(); this.smoothing1 = new Steema.TeeChart.Functions.Smoothing(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); this.chartContainer.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Text = "The smoothing function can be applied to Polar charts.\r\n"; // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Controls.Add(this.checkBox2); this.panel1.Controls.Add(this.checkBox1); this.panel1.Size = new System.Drawing.Size(440, 63); // // tChart1 // // // // this.tChart1.Aspect.Elevation = 315; this.tChart1.Aspect.ElevationFloat = 315; this.tChart1.Aspect.Orthogonal = false; this.tChart1.Aspect.Perspective = 0; this.tChart1.Aspect.Rotation = 360; this.tChart1.Aspect.RotationFloat = 360; this.tChart1.Aspect.View3D = false; this.tChart1.Aspect.ZOffset = 0; // // // // // // // // // // // // this.tChart1.Axes.Bottom.Labels.Font.Size = 7; this.tChart1.Axes.Bottom.Labels.Font.SizeFloat = 7F; // // // // // // // // // this.tChart1.Axes.Depth.Labels.Font.Size = 7; this.tChart1.Axes.Depth.Labels.Font.SizeFloat = 7F; // // // // // // // // // this.tChart1.Axes.DepthTop.Labels.Font.Size = 7; this.tChart1.Axes.DepthTop.Labels.Font.SizeFloat = 7F; // // // // // // // // // this.tChart1.Axes.Left.Labels.Font.Size = 7; this.tChart1.Axes.Left.Labels.Font.SizeFloat = 7F; // // // // // // // // // this.tChart1.Axes.Right.Labels.Font.Size = 7; this.tChart1.Axes.Right.Labels.Font.SizeFloat = 7F; // // // // // // // // // this.tChart1.Axes.Top.Labels.Font.Size = 7; this.tChart1.Axes.Top.Labels.Font.SizeFloat = 7F; // // // // // // // // // 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.Font.Size = 9; this.tChart1.Header.Font.SizeFloat = 9F; this.tChart1.Header.Lines = new string[] { "Smooth Polar Chart" }; // // // // // // // // // 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.Legend.Font.Size = 7; this.tChart1.Legend.Font.SizeFloat = 7F; this.tChart1.Legend.Visible = false; // // // // // // this.tChart1.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.Raised; this.tChart1.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None; // // // // // // this.tChart1.Panel.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(230)))), ((int)(((byte)(140))))); this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(245)))), ((int)(((byte)(238))))); this.tChart1.Panel.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(248)))), ((int)(((byte)(255))))); this.tChart1.Panel.Brush.Gradient.UseMiddle = true; // // // // // // this.tChart1.Panel.ImageBevel.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(0)))), ((int)(((byte)(92))))); this.tChart1.Panel.ImageBevel.Visible = true; this.tChart1.Panel.ImageBevel.Width = 6; this.tChart1.Series.Add(this.polar2); this.tChart1.Series.Add(this.polar1); this.tChart1.Size = new System.Drawing.Size(440, 181); // // // // // // // // // // // // 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.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; // // chartContainer // this.chartContainer.Location = new System.Drawing.Point(0, 136); this.chartContainer.Size = new System.Drawing.Size(440, 181); // // polar1 // // // // this.polar1.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.polar1.Brush.Visible = false; // // // this.polar1.CircleGradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.polar1.CircleGradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.polar1.CircleGradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.polar1.CircleGradient.UseMiddle = true; this.polar1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); this.polar1.ColorEach = false; // // // // // // // // // this.polar1.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.polar1.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.polar1.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.polar1.Marks.Brush.Gradient.UseMiddle = true; // // // this.polar1.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.polar1.Marks.Callout.ArrowHeadSize = 8; // // // this.polar1.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.polar1.Marks.Callout.Distance = 0; this.polar1.Marks.Callout.Draw3D = false; this.polar1.Marks.Callout.Length = 10; this.polar1.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.polar1.Marks.Callout.Visible = false; // // // this.polar1.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(156)))), ((int)(((byte)(53))))); // // // // // // this.polar1.Pointer.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255))))); this.polar1.Pointer.HorizSize = 2; this.polar1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.polar1.Pointer.VertSize = 2; this.polar1.Title = "Original"; // // // this.polar1.XValues.DataMember = "Angle"; this.polar1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // // this.polar1.YValues.DataMember = "Y"; // // checkBox1 // this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Location = new System.Drawing.Point(16, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(136, 24); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Show &Original Polar"; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // polar2 // // // // this.polar2.Brush.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.polar2.Brush.Image = ((System.Drawing.Image)(resources.GetObject("polar2.Brush.Image"))); this.polar2.Brush.ImageMode = Steema.TeeChart.Drawing.ImageMode.Tile; this.polar2.Brush.Solid = false; this.polar2.Brush.Style = System.Drawing.Drawing2D.HatchStyle.LargeCheckerBoard; // // // this.polar2.CircleGradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.polar2.CircleGradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.polar2.CircleGradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.polar2.CircleGradient.UseMiddle = true; this.polar2.CircleGradient.Visible = true; this.polar2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.polar2.ColorEach = false; this.polar2.DataSource = this.polar1; this.polar2.Function = this.smoothing1; // // // // // // // // // this.polar2.Marks.Brush.Gradient.EndColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.polar2.Marks.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.polar2.Marks.Brush.Gradient.StartColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(215)))), ((int)(((byte)(0))))); this.polar2.Marks.Brush.Gradient.UseMiddle = true; // // // this.polar2.Marks.Callout.ArrowHead = Steema.TeeChart.Styles.ArrowHeadStyles.None; this.polar2.Marks.Callout.ArrowHeadSize = 8; // // // this.polar2.Marks.Callout.Brush.Color = System.Drawing.Color.Black; this.polar2.Marks.Callout.Distance = 0; this.polar2.Marks.Callout.Draw3D = false; this.polar2.Marks.Callout.Length = 10; this.polar2.Marks.Callout.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle; this.polar2.Marks.Callout.Visible = false; // // // this.polar2.Pen.Color = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(102)))), ((int)(((byte)(163))))); this.polar2.Pen.Width = 2; // // // this.polar2.Pointer.HorizSize = 3; this.polar2.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Circle; this.polar2.Pointer.VertSize = 3; this.polar2.Title = "Smooth"; // // // this.polar2.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.Ascending; // // smoothing1 // this.smoothing1.Period = 1; // // checkBox2 // this.checkBox2.Checked = true; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.Location = new System.Drawing.Point(16, 32); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(136, 24); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "Show &Smooth Polar"; this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.checkBox3); this.groupBox1.Location = new System.Drawing.Point(168, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(144, 48); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "Smoothing options"; // // checkBox3 // this.checkBox3.Checked = true; this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox3.Location = new System.Drawing.Point(8, 16); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(120, 24); this.checkBox3.TabIndex = 1; this.checkBox3.Text = "&Interpolate"; this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged); // // Polar_Smooth // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 317); this.Name = "Polar_Smooth"; this.panel1.ResumeLayout(false); this.chartContainer.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }