/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Charting.Styles.Unit unit1 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Unit unit2 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Unit unit3 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Unit unit4 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem4 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem5 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem6 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem7 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem8 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartSeries chartSeries1 = new Telerik.Charting.ChartSeries(); Telerik.Charting.GradientElement gradientElement1 = new Telerik.Charting.GradientElement(); Telerik.Charting.GradientElement gradientElement2 = new Telerik.Charting.GradientElement(); Telerik.Charting.GradientElement gradientElement3 = new Telerik.Charting.GradientElement(); #pragma warning disable 618 this.radChart1 = new Telerik.WinControls.UI.RadChart(); ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit(); this.SuspendLayout(); // // radChart1 // this.radChart1.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(225)))), ((int)(((byte)(169))))); this.radChart1.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(249)))), ((int)(((byte)(213))))); this.radChart1.ChartTitle.Appearance.Border.Color = System.Drawing.Color.Empty; this.radChart1.ChartTitle.Appearance.FillStyle.MainColor = System.Drawing.Color.Empty; this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(153)))), ((int)(((byte)(4))))); this.radChart1.ChartTitle.TextBlock.Text = "NYSE Index"; this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201))))); this.radChart1.Legend.Appearance.Corners = new Telerik.Charting.Styles.Corners(Telerik.Charting.Styles.CornerType.Round, Telerik.Charting.Styles.CornerType.Round, Telerik.Charting.Styles.CornerType.Round, Telerik.Charting.Styles.CornerType.Round, 6); this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(113)))), ((int)(((byte)(94)))), ((int)(((byte)(57))))); this.radChart1.Location = new System.Drawing.Point(12, 12); this.radChart1.Name = "radChart1"; this.radChart1.PlotArea.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); unit1.Type = Telerik.Charting.Styles.UnitType.Percentage; unit1.Value = 18F; unit2.Type = Telerik.Charting.Styles.UnitType.Percentage; unit2.Value = 23F; unit3.Type = Telerik.Charting.Styles.UnitType.Percentage; unit3.Value = 12F; unit4.Type = Telerik.Charting.Styles.UnitType.Percentage; unit4.Value = 10F; this.radChart1.PlotArea.Appearance.Dimensions.Margins = new Telerik.Charting.Styles.ChartMargins(unit1, unit2, unit3, unit4); this.radChart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(228))))); this.radChart1.PlotArea.Appearance.FillStyle.SecondColor = System.Drawing.Color.Transparent; this.radChart1.SkinsOverrideStyles = true; this.radChart1.Skin = "Apple"; this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45F; this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(207)))), ((int)(((byte)(190))))); this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); this.radChart1.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortTime; this.radChart1.PlotArea.XAxis.AutoScale = false; this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem1.Appearance.RotationAngle = 45F; chartAxisItem1.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem2.Appearance.RotationAngle = 45F; chartAxisItem2.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem2.Value = new decimal(new int[] { 1, 0, 0, 0 }); chartAxisItem3.Appearance.RotationAngle = 45F; chartAxisItem3.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem3.Value = new decimal(new int[] { 2, 0, 0, 0 }); chartAxisItem4.Appearance.RotationAngle = 45F; chartAxisItem4.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem4.Value = new decimal(new int[] { 3, 0, 0, 0 }); chartAxisItem5.Appearance.RotationAngle = 45F; chartAxisItem5.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem5.Value = new decimal(new int[] { 4, 0, 0, 0 }); chartAxisItem6.Appearance.RotationAngle = 45F; chartAxisItem6.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem6.Value = new decimal(new int[] { 5, 0, 0, 0 }); chartAxisItem7.Appearance.RotationAngle = 45F; chartAxisItem7.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem7.Value = new decimal(new int[] { 6, 0, 0, 0 }); chartAxisItem8.Appearance.RotationAngle = 45F; chartAxisItem8.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartAxisItem8.Value = new decimal(new int[] { 7, 0, 0, 0 }); this.radChart1.PlotArea.XAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem1, chartAxisItem2, chartAxisItem3, chartAxisItem4, chartAxisItem5, chartAxisItem6, chartAxisItem7, chartAxisItem8 }); this.radChart1.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside; this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(225)))), ((int)(((byte)(212))))); this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(225)))), ((int)(((byte)(212))))); this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202))))); this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); this.radChart1.PlotArea.YAxis.IsZeroBased = false; this.radChart1.PlotArea.YAxis.MaxValue = 80; this.radChart1.PlotArea.YAxis.Step = 10; chartSeries1.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); gradientElement1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(206)))), ((int)(((byte)(119))))); gradientElement2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(190)))), ((int)(((byte)(82))))); gradientElement2.Position = 0.5F; gradientElement3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(157)))), ((int)(((byte)(44))))); gradientElement3.Position = 1F; chartSeries1.Appearance.FillStyle.FillSettings.ComplexGradient.AddRange(new Telerik.Charting.GradientElement[] { gradientElement1, gradientElement2, gradientElement3 }); chartSeries1.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.ComplexGradient; chartSeries1.Appearance.ShowLabels = false; chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(93)))), ((int)(((byte)(56))))); chartSeries1.Name = "Index"; chartSeries1.Type = Telerik.Charting.ChartSeriesType.Area; this.radChart1.Series.AddRange(new Telerik.Charting.ChartSeries[] { chartSeries1 }); this.radChart1.Size = new System.Drawing.Size(500, 300); this.radChart1.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.radChart1); this.Name = "Form1"; this.Size = new System.Drawing.Size(903, 796); ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Charting.Styles.Unit unit1 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Unit unit2 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Corners corners1 = new Telerik.Charting.Styles.Corners(); Telerik.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem4 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem5 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem6 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem7 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem8 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem9 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem10 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem11 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem12 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem13 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem14 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem15 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem16 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem17 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem18 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartSeries chartSeries1 = new Telerik.Charting.ChartSeries(); Telerik.Charting.ChartSeriesItem chartSeriesItem1 = new Telerik.Charting.ChartSeriesItem(); Telerik.Charting.ChartSeriesItem chartSeriesItem2 = new Telerik.Charting.ChartSeriesItem(); Telerik.Charting.ChartSeriesItem chartSeriesItem3 = new Telerik.Charting.ChartSeriesItem(); Telerik.Charting.ChartSeriesItem chartSeriesItem4 = new Telerik.Charting.ChartSeriesItem(); Telerik.Charting.ChartSeriesItem chartSeriesItem5 = new Telerik.Charting.ChartSeriesItem(); #pragma warning disable 618 this.radChart1 = new Telerik.WinControls.UI.RadChart(); this.radChart1.Skin = "Default2006"; this.radComboBox1 = new Telerik.WinControls.UI.RadDropDownList(); this.radComboBoxItem1 = new Telerik.WinControls.UI.RadListDataItem(); this.radComboBoxItem2 = new Telerik.WinControls.UI.RadListDataItem(); this.radComboBoxItem4 = new Telerik.WinControls.UI.RadListDataItem(); this.radComboBoxItem3 = new Telerik.WinControls.UI.RadListDataItem(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radComboBox1)).BeginInit(); this.SuspendLayout(); // // radChart1 // unit1.Value = 384; this.radChart1.Appearance.Dimensions.Height = unit1; unit2.Value = 621; this.radChart1.Appearance.Dimensions.Width = unit2; this.radChart1.ChartTitle.TextBlock.Text = "Consumption by Month"; this.radChart1.DataGroupColumn = null; this.radChart1.DefaultType = Telerik.Charting.ChartSeriesType.Pie; this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(227)))), ((int)(((byte)(227))))); this.radChart1.Location = new System.Drawing.Point(12, 50); this.radChart1.Name = "radChart1"; corners1.BottomLeft = Telerik.Charting.Styles.CornerType.Round; corners1.BottomRight = Telerik.Charting.Styles.CornerType.Round; corners1.RoundSize = 6; corners1.TopLeft = Telerik.Charting.Styles.CornerType.Round; corners1.TopRight = Telerik.Charting.Styles.CornerType.Round; this.radChart1.PlotArea.Appearance.Corners = corners1; this.radChart1.SkinsOverrideStyles = true; this.radChart1.Skin = "Apple"; this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Visible = false; this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem1.Value = new decimal(new int[] { 1, 0, 0, 0 }); chartAxisItem2.Value = new decimal(new int[] { 2, 0, 0, 0 }); chartAxisItem3.Value = new decimal(new int[] { 3, 0, 0, 0 }); chartAxisItem4.Value = new decimal(new int[] { 4, 0, 0, 0 }); chartAxisItem5.Value = new decimal(new int[] { 5, 0, 0, 0 }); this.radChart1.PlotArea.XAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem1, chartAxisItem2, chartAxisItem3, chartAxisItem4, chartAxisItem5 }); this.radChart1.PlotArea.XAxis.MaxValue = 5; this.radChart1.PlotArea.XAxis.MinValue = 1; this.radChart1.PlotArea.XAxis.Step = 1; this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem7.Value = new decimal(new int[] { 5, 0, 0, 0 }); chartAxisItem8.Value = new decimal(new int[] { 10, 0, 0, 0 }); chartAxisItem9.Value = new decimal(new int[] { 15, 0, 0, 0 }); chartAxisItem10.Value = new decimal(new int[] { 20, 0, 0, 0 }); chartAxisItem11.Value = new decimal(new int[] { 25, 0, 0, 0 }); chartAxisItem12.Value = new decimal(new int[] { 30, 0, 0, 0 }); chartAxisItem13.Value = new decimal(new int[] { 35, 0, 0, 0 }); this.radChart1.PlotArea.YAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem6, chartAxisItem7, chartAxisItem8, chartAxisItem9, chartAxisItem10, chartAxisItem11, chartAxisItem12, chartAxisItem13 }); this.radChart1.PlotArea.YAxis.MaxValue = 35; this.radChart1.PlotArea.YAxis.Step = 5; this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem14.Value = new decimal(new int[] { 1, 0, 0, 0 }); chartAxisItem15.Value = new decimal(new int[] { 2, 0, 0, 0 }); chartAxisItem16.Value = new decimal(new int[] { 3, 0, 0, 0 }); chartAxisItem17.Value = new decimal(new int[] { 4, 0, 0, 0 }); chartAxisItem18.Value = new decimal(new int[] { 5, 0, 0, 0 }); this.radChart1.PlotArea.YAxis2.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem14, chartAxisItem15, chartAxisItem16, chartAxisItem17, chartAxisItem18 }); this.radChart1.PlotArea.YAxis2.MaxValue = 5; this.radChart1.PlotArea.YAxis2.MinValue = 1; this.radChart1.PlotArea.YAxis2.Step = 1; chartSeriesItem1.Label.TextBlock.Text = "English"; chartSeriesItem1.YValue = 35; chartSeriesItem2.Label.TextBlock.Text = "Spanish"; chartSeriesItem2.YValue = 20; chartSeriesItem3.Label.TextBlock.Text = "French"; chartSeriesItem3.YValue = 20; chartSeriesItem4.Label.TextBlock.Text = "German"; chartSeriesItem4.YValue = 20; chartSeriesItem5.Label.TextBlock.Text = "Chinese"; chartSeriesItem5.YValue = 20; chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] { chartSeriesItem1, chartSeriesItem2, chartSeriesItem3, chartSeriesItem4, chartSeriesItem5 }); chartSeries1.Name = "Series 1"; chartSeries1.Type = Telerik.Charting.ChartSeriesType.Pie; this.radChart1.Series.Add(chartSeries1); this.radChart1.Size = new System.Drawing.Size(400, 300); this.radChart1.TabIndex = 0; // // radComboBox1 // this.radComboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.radComboBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248))))); this.radComboBox1.DropDownSizingMode = ((Telerik.WinControls.UI.SizingMode)((Telerik.WinControls.UI.SizingMode.RightBottom | Telerik.WinControls.UI.SizingMode.UpDown))); this.radComboBox1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; this.radComboBox1.Items.AddRange(new List <RadListDataItem>(new RadListDataItem[] { this.radComboBoxItem1, this.radComboBoxItem2, this.radComboBoxItem4, this.radComboBoxItem3 })); this.radComboBox1.Location = new System.Drawing.Point(120, 12); this.radComboBox1.MaxLength = 32767; this.radComboBox1.Name = "radComboBox1"; this.radComboBox1.NullText = ""; // // radComboBox1.RootElement // this.radComboBox1.RootElement.AccessibleDescription = ""; this.radComboBox1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren; this.radComboBox1.RootElement.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(248)))), ((int)(((byte)(248))))); this.radComboBox1.Size = new System.Drawing.Size(106, 19); this.radComboBox1.MaxDropDownItems = 6; this.radComboBox1.SmallImageList = null; this.radComboBox1.TabIndex = 1; this.radComboBox1.Text = "radComboBox1"; this.radComboBox1.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.radComboBox1_SelectedIndexChanged); // // radComboBoxItem1 // this.radComboBoxItem1.Text = "English"; // // radComboBoxItem2 // this.radComboBoxItem2.Text = "German"; // // radComboBoxItem4 // this.radComboBoxItem4.Text = "Spanish"; // // radComboBoxItem3 // this.radComboBoxItem3.Text = "French"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(91, 13); this.label1.TabIndex = 2; this.label1.Text = "Select Language:"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.label1); this.Controls.Add(this.radComboBox1); this.Controls.Add(this.radChart1); this.Name = "Form1"; this.Size = new System.Drawing.Size(450, 350); ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radComboBox1)).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() { Telerik.Charting.Styles.Unit unit1 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Unit unit2 = new Telerik.Charting.Styles.Unit(); Telerik.Charting.Styles.Corners corners1 = new Telerik.Charting.Styles.Corners(); Telerik.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem4 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem5 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem6 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem7 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem8 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem9 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem10 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem11 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem12 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem13 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem14 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem15 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem16 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem17 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem18 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem19 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartAxisItem chartAxisItem20 = new Telerik.Charting.ChartAxisItem(); Telerik.Charting.ChartSeries chartSeries1 = new Telerik.Charting.ChartSeries(); Telerik.Charting.ChartSeries chartSeries2 = new Telerik.Charting.ChartSeries(); #pragma warning disable 618 this.radChart1 = new Telerik.WinControls.UI.RadChart(); this.radChart1.Skin = "Default2006"; ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit(); this.SuspendLayout(); // // radChart1 // unit1.Value = 503; this.radChart1.Appearance.Dimensions.Height = unit1; unit2.Value = 621; this.radChart1.Appearance.Dimensions.Width = unit2; this.radChart1.ChartTitle.TextBlock.Text = "Consumption by Month"; this.radChart1.DataGroupColumn = null; this.radChart1.DefaultType = Telerik.Charting.ChartSeriesType.Pie; this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(227)))), ((int)(((byte)(227))))); this.radChart1.Location = new System.Drawing.Point(12, 12); this.radChart1.Name = "radChart1"; corners1.BottomLeft = Telerik.Charting.Styles.CornerType.Round; corners1.BottomRight = Telerik.Charting.Styles.CornerType.Round; corners1.RoundSize = 6; corners1.TopLeft = Telerik.Charting.Styles.CornerType.Round; corners1.TopRight = Telerik.Charting.Styles.CornerType.Round; this.radChart1.PlotArea.Appearance.Corners = corners1; this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Visible = false; this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem1.Value = new decimal(new int[] { 1, 0, 0, 0 }); chartAxisItem2.Value = new decimal(new int[] { 2, 0, 0, 0 }); chartAxisItem3.Value = new decimal(new int[] { 3, 0, 0, 0 }); chartAxisItem4.Value = new decimal(new int[] { 4, 0, 0, 0 }); chartAxisItem5.Value = new decimal(new int[] { 5, 0, 0, 0 }); chartAxisItem6.Value = new decimal(new int[] { 6, 0, 0, 0 }); chartAxisItem7.Value = new decimal(new int[] { 7, 0, 0, 0 }); this.radChart1.PlotArea.XAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem1, chartAxisItem2, chartAxisItem3, chartAxisItem4, chartAxisItem5, chartAxisItem6, chartAxisItem7 }); this.radChart1.PlotArea.XAxis.MaxValue = 7; this.radChart1.PlotArea.XAxis.MinValue = 1; this.radChart1.PlotArea.XAxis.Step = 1; this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem9.Value = new decimal(new int[] { 20, 0, 0, 0 }); chartAxisItem10.Value = new decimal(new int[] { 40, 0, 0, 0 }); chartAxisItem11.Value = new decimal(new int[] { 60, 0, 0, 0 }); chartAxisItem12.Value = new decimal(new int[] { 80, 0, 0, 0 }); chartAxisItem13.Value = new decimal(new int[] { 100, 0, 0, 0 }); this.radChart1.PlotArea.YAxis.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem8, chartAxisItem9, chartAxisItem10, chartAxisItem11, chartAxisItem12, chartAxisItem13 }); this.radChart1.PlotArea.YAxis.Step = 20; this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F); chartAxisItem14.Value = new decimal(new int[] { 1, 0, 0, 0 }); chartAxisItem15.Value = new decimal(new int[] { 2, 0, 0, 0 }); chartAxisItem16.Value = new decimal(new int[] { 3, 0, 0, 0 }); chartAxisItem17.Value = new decimal(new int[] { 4, 0, 0, 0 }); chartAxisItem18.Value = new decimal(new int[] { 5, 0, 0, 0 }); chartAxisItem19.Value = new decimal(new int[] { 6, 0, 0, 0 }); chartAxisItem20.Value = new decimal(new int[] { 7, 0, 0, 0 }); this.radChart1.PlotArea.YAxis2.Items.AddRange(new Telerik.Charting.ChartAxisItem[] { chartAxisItem14, chartAxisItem15, chartAxisItem16, chartAxisItem17, chartAxisItem18, chartAxisItem19, chartAxisItem20 }); this.radChart1.PlotArea.YAxis2.MaxValue = 7; this.radChart1.PlotArea.YAxis2.MinValue = 1; this.radChart1.PlotArea.YAxis2.Step = 1; chartSeries1.Name = "Series 1"; chartSeries1.Type = Telerik.Charting.ChartSeriesType.Pie; chartSeries2.Name = "Series 2"; chartSeries2.Type = Telerik.Charting.ChartSeriesType.Pie; this.radChart1.Series.Add(chartSeries1); this.radChart1.Series.Add(chartSeries2); this.radChart1.Size = new System.Drawing.Size(400, 300); this.radChart1.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.radChart1); this.Name = "Form1"; this.Size = new System.Drawing.Size(450, 350); ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit(); this.ResumeLayout(false); }