コード例 #1
0
        /// <summary>
        /// Required designer variable.
        /// </summary>
        //private System.ComponentModel.IContainer components = null;

        #region Windows Form Designer generated code

        /// <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.Corners  corners1         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners2         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners3         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners4         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners5         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners6         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners7         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners8         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners9         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners10        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners11        = new Telerik.Charting.Styles.Corners();
            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.Styles.Corners  corners12        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners13        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners14        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners15        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners16        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners17        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners18        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners19        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners20        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners21        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners22        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners23        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners24        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners25        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners26        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners27        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries1     = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners28        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners29        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners30        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners31        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners32        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem1 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners33        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners34        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners35        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners36        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners37        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem2 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners38        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners39        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners40        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners41        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners42        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem3 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners43        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners44        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners45        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners46        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners47        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem4 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners48        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners49        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners50        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners51        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners52        = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color                              = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(171)))), ((int)(((byte)(184)))));
            this.radChart1.Appearance.Corners                                   = corners1;
            this.radChart1.Appearance.FillStyle.FillType                        = Telerik.Charting.Styles.FillType.Hatch;
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(235)))), ((int)(((byte)(239)))));
            this.radChart1.Appearance.FillStyle.SecondColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(207)))), ((int)(((byte)(223)))), ((int)(((byte)(229)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners2;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.TopLeft;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(81)))), ((int)(((byte)(103)))), ((int)(((byte)(114)))));
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font  = new System.Drawing.Font("Arial", 21.75F);
            this.radChart1.DataGroupColumn = null;
            this.radChart1.DefaultType     = Telerik.Charting.ChartSeriesType.Line;
            this.radChart1.Legend.Appearance.Border.Color                 = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(214)))), ((int)(((byte)(221)))));
            this.radChart1.Legend.Appearance.Corners                      = corners5;
            this.radChart1.Legend.Appearance.FillStyle.MainColor          = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(253)))), ((int)(((byte)(255)))));
            this.radChart1.Legend.Appearance.ItemAppearance.Corners       = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners   = corners8;
            this.radChart1.Legend.Marker.Appearance.Corners               = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners            = corners10;
            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)(193)))), ((int)(((byte)(214)))), ((int)(((byte)(221)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 24F;
            unit2.Value = 80F;
            unit3.Value = 50F;
            unit4.Value = 50F;
            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)(241)))), ((int)(((byte)(253)))), ((int)(((byte)(255)))));
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(214)))), ((int)(((byte)(221)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners             = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(232)))), ((int)(((byte)(227)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(153)))), ((int)(((byte)(129)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners              = corners14;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(78)))));
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners                   = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners            = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners         = corners17;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Month";
            this.radChart1.PlotArea.XAxis.MaxValue         = 4;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(214)))), ((int)(((byte)(221)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(232)))), ((int)(((byte)(227)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(153)))), ((int)(((byte)(129)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(232)))), ((int)(((byte)(227)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(153)))), ((int)(((byte)(129)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(78)))));
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Text = "Sales";
            this.radChart1.PlotArea.YAxis.MaxValue = 4;
            this.radChart1.PlotArea.YAxis.Step     = 0.5;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 4;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners      = corners30;
            chartSeries1.Appearance.PointMark.Corners            = corners31;
            chartSeries1.Appearance.TextAppearance.Corners       = corners32;
            chartSeriesItem1.Appearance.Corners                 = corners33;
            chartSeriesItem1.Label.Appearance.Corners           = corners34;
            chartSeriesItem1.Label.Marker.Appearance.Corners    = corners35;
            chartSeriesItem1.Label.TextBlock.Appearance.Corners = corners36;
            chartSeriesItem1.PointAppearance.Corners            = corners37;
            chartSeriesItem1.YValue                             = 1;
            chartSeriesItem2.Appearance.Corners                 = corners38;
            chartSeriesItem2.Label.Appearance.Corners           = corners39;
            chartSeriesItem2.Label.Marker.Appearance.Corners    = corners40;
            chartSeriesItem2.Label.TextBlock.Appearance.Corners = corners41;
            chartSeriesItem2.PointAppearance.Corners            = corners42;
            chartSeriesItem2.YValue                             = 2;
            chartSeriesItem3.Appearance.Corners                 = corners43;
            chartSeriesItem3.Label.Appearance.Corners           = corners44;
            chartSeriesItem3.Label.Marker.Appearance.Corners    = corners45;
            chartSeriesItem3.Label.TextBlock.Appearance.Corners = corners46;
            chartSeriesItem3.PointAppearance.Corners            = corners47;
            chartSeriesItem3.YValue                             = 3;
            chartSeriesItem4.Appearance.Corners                 = corners48;
            chartSeriesItem4.Label.Appearance.Corners           = corners49;
            chartSeriesItem4.Label.Marker.Appearance.Corners    = corners50;
            chartSeriesItem4.Label.TextBlock.Appearance.Corners = corners51;
            chartSeriesItem4.PointAppearance.Corners            = corners52;
            chartSeriesItem4.YValue                             = 4;
            chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4
            });
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.Line;
            this.radChart1.Series.Add(chartSeries1);
            this.radChart1.Size     = new System.Drawing.Size(400, 300);
            this.radChart1.TabIndex = 0;
            //
            // Form1
            //

            this.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #2
0
        /// <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();
        }
コード例 #3
0
        /// <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.Corners                corners1      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners                corners2      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.ChartMargins           chartMargins1 = new Telerik.Charting.Styles.ChartMargins();
            System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Telerik.Charting.Styles.Corners                corners3      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.ChartMargins           chartMargins2 = new Telerik.Charting.Styles.ChartMargins();
            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();
            Telerik.Charting.ChartSeries     chartSeries2      = new Telerik.Charting.ChartSeries();
            Telerik.Charting.ChartSeriesItem chartSeriesItem6  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem7  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem8  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem9  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem10 = new Telerik.Charting.ChartSeriesItem();
#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)(117)))), ((int)(((byte)(117)))), ((int)(((byte)(117)))));
            this.radChart1.Appearance.FillStyle.FillType      = Telerik.Charting.Styles.FillType.Gradient;
            this.radChart1.Appearance.FillStyle.MainColor     = System.Drawing.Color.FromArgb(((int)(((byte)(244)))), ((int)(((byte)(244)))), ((int)(((byte)(234)))));
            this.radChart1.Appearance.FillStyle.SecondColor   = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(172)))), ((int)(((byte)(137)))));
            this.radChart1.ChartTitle.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            corners1.BottomLeft  = Telerik.Charting.Styles.CornerType.Round;
            corners1.BottomRight = Telerik.Charting.Styles.CornerType.Round;
            corners1.TopLeft     = Telerik.Charting.Styles.CornerType.Round;
            corners1.TopRight    = Telerik.Charting.Styles.CornerType.Round;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners1;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(183)))), ((int)(((byte)(144)))));
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.Top;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font  = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Bold);
            this.radChart1.ChartTitle.TextBlock.Text = "Area";
            this.radChart1.DefaultType = Telerik.Charting.ChartSeriesType.Area;
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            corners2.BottomLeft  = Telerik.Charting.Styles.CornerType.Round;
            corners2.BottomRight = Telerik.Charting.Styles.CornerType.Round;
            corners2.TopLeft     = Telerik.Charting.Styles.CornerType.Round;
            corners2.TopRight    = Telerik.Charting.Styles.CornerType.Round;
            this.radChart1.Legend.Appearance.Corners = corners2;
            chartMargins1.Right = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Right")));
            chartMargins1.Top   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Top")));
            this.radChart1.Legend.Appearance.Dimensions.Margins  = chartMargins1;
            this.radChart1.Legend.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(183)))), ((int)(((byte)(144)))));
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Font = new System.Drawing.Font("Arial", 9.75F);
            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)(94)))), ((int)(((byte)(94)))), ((int)(((byte)(93)))));
            corners3.BottomLeft  = Telerik.Charting.Styles.CornerType.Round;
            corners3.BottomRight = Telerik.Charting.Styles.CornerType.Round;
            corners3.RoundSize   = 6;
            corners3.TopLeft     = Telerik.Charting.Styles.CornerType.Round;
            corners3.TopRight    = Telerik.Charting.Styles.CornerType.Round;
            this.radChart1.PlotArea.Appearance.Corners = corners3;
            chartMargins2.Bottom = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Bottom")));
            chartMargins2.Left   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Left")));
            chartMargins2.Right  = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Right")));
            chartMargins2.Top    = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Top")));
            this.radChart1.PlotArea.Appearance.Dimensions.Margins           = chartMargins2;
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor          = System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(201)))), ((int)(((byte)(254)))));
            this.radChart1.PlotArea.Appearance.FillStyle.SecondColor        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(107)))), ((int)(((byte)(186)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color   = System.Drawing.Color.DimGray;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Visible = false;
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color        = System.Drawing.Color.Black;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color     = System.Drawing.Color.Black;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold);
            this.radChart1.PlotArea.XAxis.LayoutMode       = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;
            this.radChart1.PlotArea.XAxis.MaxValue         = 5;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color   = System.Drawing.Color.Black;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color        = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color   = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color        = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible      = false;
            this.radChart1.PlotArea.YAxis.Appearance.Visible = Telerik.Charting.Styles.ChartAxisVisibility.False;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold);
            this.radChart1.PlotArea.YAxis.MaxValue = 100;
            this.radChart1.PlotArea.YAxis.Step     = 10;
            this.radChart1.PlotArea.YAxis.Visible  = Telerik.Charting.Styles.ChartAxisVisibility.False;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold);
            chartSeries1.Appearance.Border.Color = System.Drawing.Color.Black;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
            chartSeriesItem1.YValue  = 73;
            chartSeriesItem1.YValue2 = 52;
            chartSeriesItem2.YValue  = 23;
            chartSeriesItem2.YValue2 = 76;
            chartSeriesItem3.YValue  = 22;
            chartSeriesItem3.YValue2 = 25;
            chartSeriesItem4.YValue  = 24;
            chartSeriesItem4.YValue2 = 93;
            chartSeriesItem5.YValue  = 75;
            chartSeriesItem5.YValue2 = 55;
            chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4,
                chartSeriesItem5
            });
            chartSeries1.Name = "Product A";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.Area;
            chartSeries2.Appearance.Border.Color = System.Drawing.Color.Black;
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
            chartSeriesItem6.YValue   = 6;
            chartSeriesItem6.YValue2  = 53;
            chartSeriesItem7.YValue   = 24;
            chartSeriesItem7.YValue2  = 22;
            chartSeriesItem8.YValue   = 51;
            chartSeriesItem8.YValue2  = 78;
            chartSeriesItem9.YValue   = 95;
            chartSeriesItem9.YValue2  = 10;
            chartSeriesItem10.YValue  = 18;
            chartSeriesItem10.YValue2 = 60;
            chartSeries2.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem6,
                chartSeriesItem7,
                chartSeriesItem8,
                chartSeriesItem9,
                chartSeriesItem10
            });
            chartSeries2.Name = "Product B";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.Area;
            this.radChart1.Series.AddRange(new Telerik.Charting.ChartSeries[] {
                chartSeries1,
                chartSeries2
            });
            this.radChart1.Size = new System.Drawing.Size(400, 300);
            this.radChart1.Skin = "Apple";
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.TabIndex            = 0;
            //
            // Form1
            //

            this.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1230, 606);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #4
0
        /// <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.Corners  corners1          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners2          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners3          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners4          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners5          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners6          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners7          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners8          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners9          = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners10         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners11         = new Telerik.Charting.Styles.Corners();
            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.Styles.Corners  corners12         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners13         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners14         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners15         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners16         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners17         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners18         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners19         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners20         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners21         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners22         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners23         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners24         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners25         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners26         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners27         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries1      = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners28         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners29         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners30         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners31         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners32         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem1  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners33         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners34         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners35         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners36         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners37         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem2  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners38         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners39         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners40         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners41         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners42         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem3  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners43         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners44         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners45         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners46         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners47         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem4  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners48         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners49         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners50         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners51         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners52         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem5  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners53         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners54         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners55         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners56         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners57         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries2      = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners58         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners59         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners60         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners61         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners62         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem6  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners63         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners64         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners65         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners66         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners67         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem7  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners68         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners69         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners70         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners71         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners72         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem8  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners73         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners74         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners75         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners76         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners77         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem9  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners78         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners79         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners80         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners81         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners82         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem10 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners83         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners84         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners85         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners86         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners87         = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color                              = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(201)))), ((int)(((byte)(180)))));
            this.radChart1.Appearance.Corners                                   = corners1;
            this.radChart1.Appearance.FillStyle.FillType                        = Telerik.Charting.Styles.FillType.Hatch;
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(236)))), ((int)(((byte)(220)))));
            this.radChart1.Appearance.FillStyle.SecondColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(224)))), ((int)(((byte)(214)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners2;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.TopLeft;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(78)))));
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font  = new System.Drawing.Font("Arial", 21.75F);
            this.radChart1.ChartTitle.TextBlock.Text                            = "Marked Zones";
            this.radChart1.DataGroupColumn = null;
            this.radChart1.Legend.Appearance.Border.Color                 = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.Legend.Appearance.Corners                      = corners5;
            this.radChart1.Legend.Appearance.FillStyle.MainColor          = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(253)))), ((int)(((byte)(246)))));
            this.radChart1.Legend.Appearance.ItemAppearance.Corners       = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners   = corners8;
            this.radChart1.Legend.Marker.Appearance.Corners               = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners            = corners10;
            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)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 24F;
            unit2.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit2.Value = 22F;
            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)(253)))), ((int)(((byte)(246)))));
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners             = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(220)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners              = corners14;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(78)))));
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners                   = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners            = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners         = corners17;
            this.radChart1.PlotArea.XAxis.LayoutMode       = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;
            this.radChart1.PlotArea.XAxis.MaxValue         = 5;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(220)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(220)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(78)))));
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.Step = 20;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 5;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Border.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(149)))), ((int)(((byte)(58)))));
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners      = corners30;
            chartSeries1.Appearance.PointMark.Corners            = corners31;
            chartSeries1.Appearance.TextAppearance.Corners       = corners32;
            chartSeriesItem1.Appearance.Corners                 = corners33;
            chartSeriesItem1.Label.Appearance.Corners           = corners34;
            chartSeriesItem1.Label.Marker.Appearance.Corners    = corners35;
            chartSeriesItem1.Label.TextBlock.Appearance.Corners = corners36;
            chartSeriesItem1.PointAppearance.Corners            = corners37;
            chartSeriesItem1.YValue                             = 73;
            chartSeriesItem1.YValue2                            = 52;
            chartSeriesItem2.Appearance.Corners                 = corners38;
            chartSeriesItem2.Label.Appearance.Corners           = corners39;
            chartSeriesItem2.Label.Marker.Appearance.Corners    = corners40;
            chartSeriesItem2.Label.TextBlock.Appearance.Corners = corners41;
            chartSeriesItem2.PointAppearance.Corners            = corners42;
            chartSeriesItem2.YValue                             = 23;
            chartSeriesItem2.YValue2                            = 76;
            chartSeriesItem3.Appearance.Corners                 = corners43;
            chartSeriesItem3.Label.Appearance.Corners           = corners44;
            chartSeriesItem3.Label.Marker.Appearance.Corners    = corners45;
            chartSeriesItem3.Label.TextBlock.Appearance.Corners = corners46;
            chartSeriesItem3.PointAppearance.Corners            = corners47;
            chartSeriesItem3.YValue                             = 22;
            chartSeriesItem3.YValue2                            = 25;
            chartSeriesItem4.Appearance.Corners                 = corners48;
            chartSeriesItem4.Label.Appearance.Corners           = corners49;
            chartSeriesItem4.Label.Marker.Appearance.Corners    = corners50;
            chartSeriesItem4.Label.TextBlock.Appearance.Corners = corners51;
            chartSeriesItem4.PointAppearance.Corners            = corners52;
            chartSeriesItem4.YValue                             = 24;
            chartSeriesItem4.YValue2                            = 93;
            chartSeriesItem5.Appearance.Corners                 = corners53;
            chartSeriesItem5.Label.Appearance.Corners           = corners54;
            chartSeriesItem5.Label.Marker.Appearance.Corners    = corners55;
            chartSeriesItem5.Label.TextBlock.Appearance.Corners = corners56;
            chartSeriesItem5.PointAppearance.Corners            = corners57;
            chartSeriesItem5.YValue                             = 75;
            chartSeriesItem5.YValue2                            = 55;
            chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4,
                chartSeriesItem5
            });
            chartSeries1.Name = "Product A";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.SplineArea;
            chartSeries2.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(187)))), ((int)(((byte)(149)))), ((int)(((byte)(58)))));
            chartSeries2.Appearance.Corners      = corners58;
            chartSeries2.Appearance.EmptyValue.PointMark.Corners = corners59;
            chartSeries2.Appearance.LabelAppearance.Corners      = corners60;
            chartSeries2.Appearance.PointMark.Corners            = corners61;
            chartSeries2.Appearance.TextAppearance.Corners       = corners62;
            chartSeriesItem6.Appearance.Corners                 = corners63;
            chartSeriesItem6.Label.Appearance.Corners           = corners64;
            chartSeriesItem6.Label.Marker.Appearance.Corners    = corners65;
            chartSeriesItem6.Label.TextBlock.Appearance.Corners = corners66;
            chartSeriesItem6.PointAppearance.Corners            = corners67;
            chartSeriesItem6.YValue                              = 6;
            chartSeriesItem6.YValue2                             = 53;
            chartSeriesItem7.Appearance.Corners                  = corners68;
            chartSeriesItem7.Label.Appearance.Corners            = corners69;
            chartSeriesItem7.Label.Marker.Appearance.Corners     = corners70;
            chartSeriesItem7.Label.TextBlock.Appearance.Corners  = corners71;
            chartSeriesItem7.PointAppearance.Corners             = corners72;
            chartSeriesItem7.YValue                              = 24;
            chartSeriesItem7.YValue2                             = 22;
            chartSeriesItem8.Appearance.Corners                  = corners73;
            chartSeriesItem8.Label.Appearance.Corners            = corners74;
            chartSeriesItem8.Label.Marker.Appearance.Corners     = corners75;
            chartSeriesItem8.Label.TextBlock.Appearance.Corners  = corners76;
            chartSeriesItem8.PointAppearance.Corners             = corners77;
            chartSeriesItem8.YValue                              = 51;
            chartSeriesItem8.YValue2                             = 78;
            chartSeriesItem9.Appearance.Corners                  = corners78;
            chartSeriesItem9.Label.Appearance.Corners            = corners79;
            chartSeriesItem9.Label.Marker.Appearance.Corners     = corners80;
            chartSeriesItem9.Label.TextBlock.Appearance.Corners  = corners81;
            chartSeriesItem9.PointAppearance.Corners             = corners82;
            chartSeriesItem9.YValue                              = 95;
            chartSeriesItem9.YValue2                             = 10;
            chartSeriesItem10.Appearance.Corners                 = corners83;
            chartSeriesItem10.Label.Appearance.Corners           = corners84;
            chartSeriesItem10.Label.Marker.Appearance.Corners    = corners85;
            chartSeriesItem10.Label.TextBlock.Appearance.Corners = corners86;
            chartSeriesItem10.PointAppearance.Corners            = corners87;
            chartSeriesItem10.YValue                             = 18;
            chartSeriesItem10.YValue2                            = 60;
            chartSeries2.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem6,
                chartSeriesItem7,
                chartSeriesItem8,
                chartSeriesItem9,
                chartSeriesItem10
            });
            chartSeries2.Name = "Product B";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.SplineArea;
            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(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #5
0
 /// <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.Corners                corners1            = new Telerik.Charting.Styles.Corners();
     Telerik.Charting.Styles.ChartMarginsLegend     chartMarginsLegend1 = new Telerik.Charting.Styles.ChartMarginsLegend();
     System.ComponentModel.ComponentResourceManager resources           = new System.ComponentModel.ComponentResourceManager(typeof(frmGraphing));
     Telerik.Charting.ChartSeries chartSeries1 = new Telerik.Charting.ChartSeries();
     Telerik.Charting.ChartSeries chartSeries2 = new Telerik.Charting.ChartSeries();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.btnAccept          = new System.Windows.Forms.Button();
     this.theChart           = new Telerik.WinControls.UI.RadChart();
     this.cblSeries          = new System.Windows.Forms.CheckedListBox();
     this.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.cblValues          = new System.Windows.Forms.CheckedListBox();
     this.btnGenerateChart   = new System.Windows.Forms.Button();
     this.rbBar              = new System.Windows.Forms.RadioButton();
     this.rbPie              = new System.Windows.Forms.RadioButton();
     this.rbLine             = new System.Windows.Forms.RadioButton();
     this.sbLblRotate        = new System.Windows.Forms.HScrollBar();
     this.label3             = new System.Windows.Forms.Label();
     this.lbsbLblRotate      = new System.Windows.Forms.Label();
     this.cmboScheme         = new System.Windows.Forms.ComboBox();
     this.label4             = new System.Windows.Forms.Label();
     this.btnCopyToClipboard = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.theChart)).BeginInit();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(932, 708);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex = 3;
     this.btnCancel.Text     = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnAccept
     //
     this.btnAccept.Location = new System.Drawing.Point(932, 684);
     this.btnAccept.Name     = "btnAccept";
     this.btnAccept.Size     = new System.Drawing.Size(75, 23);
     this.btnAccept.TabIndex = 2;
     this.btnAccept.Text     = "Accept";
     this.btnAccept.UseVisualStyleBackColor = true;
     this.btnAccept.Click += new System.EventHandler(this.btnAccept_Click);
     //
     // theChart
     //
     this.theChart.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     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.theChart.Appearance.Corners = corners1;
     this.theChart.Appearance.FillStyle.FillSettings.BackgroundImage = "{chart}";
     this.theChart.Appearance.FillStyle.FillSettings.ImageDrawMode   = Telerik.Charting.Styles.ImageDrawMode.Flip;
     this.theChart.Appearance.FillStyle.FillSettings.ImageFlip       = Telerik.Charting.Styles.ImageTileModes.FlipX;
     this.theChart.Appearance.FillStyle.FillType                       = Telerik.Charting.Styles.FillType.Image;
     this.theChart.ChartTitle.Appearance.FillStyle.MainColor           = System.Drawing.Color.Empty;
     this.theChart.ChartTitle.Appearance.Position.AlignedPosition      = Telerik.Charting.Styles.AlignedPositions.Top;
     this.theChart.ChartTitle.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Tahoma", 13F);
     this.theChart.Legend.Appearance.Border.Color                      = System.Drawing.Color.Transparent;
     chartMarginsLegend1.Right = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMarginsLegend1.Right")));
     chartMarginsLegend1.Top   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMarginsLegend1.Top")));
     this.theChart.Legend.Appearance.Dimensions.Margins  = chartMarginsLegend1;
     this.theChart.Legend.Appearance.FillStyle.MainColor = System.Drawing.Color.Empty;
     this.theChart.Legend.Appearance.ItemMarkerAppearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.Legend.Appearance.ItemMarkerAppearance.Figure       = "Square";
     this.theChart.Legend.Appearance.Position.AlignedPosition          = Telerik.Charting.Styles.AlignedPositions.TopRight;
     this.theChart.Location = new System.Drawing.Point(188, 28);
     this.theChart.Name     = "theChart";
     this.theChart.PlotArea.Appearance.Border.Color                                   = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.Appearance.FillStyle.FillType                             = Telerik.Charting.Styles.FillType.Solid;
     this.theChart.PlotArea.Appearance.FillStyle.MainColor                            = System.Drawing.Color.White;
     this.theChart.PlotArea.XAxis.Appearance.Color                                    = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.XAxis.Appearance.MajorGridLines.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(222)))), ((int)(((byte)(227)))));
     this.theChart.PlotArea.XAxis.Appearance.MajorGridLines.PenStyle                  = System.Drawing.Drawing2D.DashStyle.Solid;
     this.theChart.PlotArea.XAxis.Appearance.MajorTick.Color                          = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.theChart.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.theChart.PlotArea.XAxis.MinValue         = 1D;
     this.theChart.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(222)))), ((int)(((byte)(227)))));
     this.theChart.PlotArea.YAxis.Appearance.MajorTick.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.YAxis.Appearance.MinorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(239)))), ((int)(((byte)(241)))));
     this.theChart.PlotArea.YAxis.Appearance.MinorTick.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(134)))), ((int)(((byte)(134)))), ((int)(((byte)(134)))));
     this.theChart.PlotArea.YAxis.Appearance.MinorTick.Width      = 0F;
     this.theChart.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.theChart.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.theChart.PlotArea.YAxis.MaxValue = 100D;
     this.theChart.PlotArea.YAxis.Step     = 10D;
     chartSeries1.Appearance.FillStyle.FillSettings.GradientMode = Telerik.Charting.Styles.GradientFillStyle.Vertical;
     chartSeries1.Appearance.FillStyle.MainColor   = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(167)))), ((int)(((byte)(226)))));
     chartSeries1.Appearance.FillStyle.SecondColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(85)))), ((int)(((byte)(161)))));
     chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
     chartSeries1.Name = "Series 1";
     chartSeries2.Appearance.FillStyle.FillSettings.GradientMode = Telerik.Charting.Styles.GradientFillStyle.Vertical;
     chartSeries2.Appearance.FillStyle.MainColor   = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(87)))), ((int)(((byte)(60)))));
     chartSeries2.Appearance.FillStyle.SecondColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(38)))), ((int)(((byte)(37)))));
     chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
     chartSeries2.Name = "Series 2";
     this.theChart.Series.AddRange(new Telerik.Charting.ChartSeries[] {
         chartSeries1,
         chartSeries2
     });
     this.theChart.Size     = new System.Drawing.Size(816, 652);
     this.theChart.Skin     = "Mac";
     this.theChart.TabIndex = 4;
     //
     // cblSeries
     //
     this.cblSeries.FormattingEnabled = true;
     this.cblSeries.Location          = new System.Drawing.Point(4, 32);
     this.cblSeries.Name     = "cblSeries";
     this.cblSeries.Size     = new System.Drawing.Size(172, 139);
     this.cblSeries.TabIndex = 5;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(4, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(171, 13);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Select Columns that contain Series";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(4, 180);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(174, 13);
     this.label2.TabIndex = 8;
     this.label2.Text     = "Select Column that contains Values";
     //
     // cblValues
     //
     this.cblValues.FormattingEnabled = true;
     this.cblValues.Location          = new System.Drawing.Point(4, 196);
     this.cblValues.Name     = "cblValues";
     this.cblValues.Size     = new System.Drawing.Size(172, 139);
     this.cblValues.TabIndex = 7;
     //
     // btnGenerateChart
     //
     this.btnGenerateChart.Location = new System.Drawing.Point(4, 644);
     this.btnGenerateChart.Name     = "btnGenerateChart";
     this.btnGenerateChart.Size     = new System.Drawing.Size(172, 24);
     this.btnGenerateChart.TabIndex = 9;
     this.btnGenerateChart.Text     = "Generate Chart";
     this.btnGenerateChart.UseVisualStyleBackColor = true;
     this.btnGenerateChart.Click += new System.EventHandler(this.btnGenerateChart_Click);
     //
     // rbBar
     //
     this.rbBar.AutoSize = true;
     this.rbBar.Checked  = true;
     this.rbBar.Location = new System.Drawing.Point(68, 352);
     this.rbBar.Name     = "rbBar";
     this.rbBar.Size     = new System.Drawing.Size(41, 17);
     this.rbBar.TabIndex = 10;
     this.rbBar.TabStop  = true;
     this.rbBar.Text     = "Bar";
     this.rbBar.UseVisualStyleBackColor = true;
     this.rbBar.CheckedChanged         += new System.EventHandler(this.HandleChartTypeCheckChanged);
     //
     // rbPie
     //
     this.rbPie.AutoSize = true;
     this.rbPie.Location = new System.Drawing.Point(68, 372);
     this.rbPie.Name     = "rbPie";
     this.rbPie.Size     = new System.Drawing.Size(40, 17);
     this.rbPie.TabIndex = 11;
     this.rbPie.Text     = "Pie";
     this.rbPie.UseVisualStyleBackColor = true;
     this.rbPie.CheckedChanged         += new System.EventHandler(this.HandleChartTypeCheckChanged);
     //
     // rbLine
     //
     this.rbLine.AutoSize = true;
     this.rbLine.Location = new System.Drawing.Point(68, 392);
     this.rbLine.Name     = "rbLine";
     this.rbLine.Size     = new System.Drawing.Size(45, 17);
     this.rbLine.TabIndex = 12;
     this.rbLine.Text     = "Line";
     this.rbLine.UseVisualStyleBackColor = true;
     this.rbLine.CheckedChanged         += new System.EventHandler(this.HandleChartTypeCheckChanged);
     //
     // sbLblRotate
     //
     this.sbLblRotate.Location = new System.Drawing.Point(188, 684);
     this.sbLblRotate.Maximum  = 360;
     this.sbLblRotate.Name     = "sbLblRotate";
     this.sbLblRotate.Size     = new System.Drawing.Size(132, 17);
     this.sbLblRotate.TabIndex = 13;
     this.sbLblRotate.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.HandleLBScrollLblRotate);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(184, 708);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(105, 13);
     this.label3.TabIndex = 14;
     this.label3.Text     = "Rotate Series Labels";
     //
     // lbsbLblRotate
     //
     this.lbsbLblRotate.AutoSize = true;
     this.lbsbLblRotate.Location = new System.Drawing.Point(296, 708);
     this.lbsbLblRotate.Name     = "lbsbLblRotate";
     this.lbsbLblRotate.Size     = new System.Drawing.Size(13, 13);
     this.lbsbLblRotate.TabIndex = 15;
     this.lbsbLblRotate.Text     = "0";
     //
     // cmboScheme
     //
     this.cmboScheme.FormattingEnabled = true;
     this.cmboScheme.Items.AddRange(new object[] {
         "Default",
         "Blue",
         "Brick",
         "Classic",
         "Colorful",
         "ExcelClassic",
         "Gradient",
         "Green",
         "Pastel",
         "Stacked",
         "Web20",
         "Office2007",
         "BabyBlue",
         "BlueStripes",
         "Web",
         "Wood",
         "DeepBlue",
         "DeepGreen",
         "DeepGray",
         "DeepRed",
         "GreenStripes",
         "GrayStripes"
     });
     this.cmboScheme.Location              = new System.Drawing.Point(332, 684);
     this.cmboScheme.Name                  = "cmboScheme";
     this.cmboScheme.Size                  = new System.Drawing.Size(144, 21);
     this.cmboScheme.TabIndex              = 16;
     this.cmboScheme.SelectedIndexChanged += new System.EventHandler(this.HandleSchemeChanged);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(332, 708);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(106, 13);
     this.label4.TabIndex = 17;
     this.label4.Text     = "Select Color Scheme";
     //
     // btnCopyToClipboard
     //
     this.btnCopyToClipboard.Location = new System.Drawing.Point(4, 672);
     this.btnCopyToClipboard.Name     = "btnCopyToClipboard";
     this.btnCopyToClipboard.Size     = new System.Drawing.Size(172, 24);
     this.btnCopyToClipboard.TabIndex = 18;
     this.btnCopyToClipboard.Text     = "Copy To Clipboard";
     this.btnCopyToClipboard.UseVisualStyleBackColor = true;
     this.btnCopyToClipboard.Click += new System.EventHandler(this.btnCopyToClipboard_Click);
     //
     // frmGraphing
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1008, 730);
     this.ControlBox          = false;
     this.Controls.Add(this.btnCopyToClipboard);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.cmboScheme);
     this.Controls.Add(this.lbsbLblRotate);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.sbLblRotate);
     this.Controls.Add(this.rbLine);
     this.Controls.Add(this.rbPie);
     this.Controls.Add(this.rbBar);
     this.Controls.Add(this.btnGenerateChart);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cblValues);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cblSeries);
     this.Controls.Add(this.theChart);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnAccept);
     this.Name          = "frmGraphing";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Graphing Interface";
     ((System.ComponentModel.ISupportInitialize)(this.theChart)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #6
0
        /// <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);
        }
コード例 #7
0
        /// <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.Corners  corners1         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Unit     unit1            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit2            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners  corners2         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners3         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners4         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners5         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners6         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners7         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners8         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners9         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners10        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners11        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Unit     unit3            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit4            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit5            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit6            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners  corners12        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners13        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners14        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners15        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners16        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners17        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners18        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners19        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners20        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners21        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners22        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners23        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners24        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners25        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners26        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners27        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries1     = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners28        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners29        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners30        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners31        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners32        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries2     = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners33        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners34        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners35        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners36        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners37        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries3     = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners38        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners39        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners40        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners41        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners42        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem1 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners43        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners44        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners45        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners46        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners47        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem2 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners48        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners49        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners50        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners51        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners52        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem3 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners53        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners54        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners55        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners56        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners57        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem4 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners58        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners59        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners60        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners61        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners62        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem5 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners63        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners64        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners65        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners66        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners67        = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Skin = "Default2006";
            this.radChart1.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(224)))), ((int)(((byte)(249)))));
            this.radChart1.Appearance.Corners      = corners1;
            unit1.Value = 500F;
            this.radChart1.Appearance.Dimensions.Height = unit1;
            unit2.Value = 600F;
            this.radChart1.Appearance.Dimensions.Width                          = unit2;
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(252)))), ((int)(((byte)(255)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners2;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(143)))), ((int)(((byte)(190)))));
            this.radChart1.ChartTitle.TextBlock.Text = "Database Binding";
            this.radChart1.DataGroupColumn           = null;
            this.radChart1.DefaultType = Telerik.Charting.ChartSeriesType.Pie;
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(237)))), ((int)(((byte)(255)))));
            corners5.BottomLeft  = Telerik.Charting.Styles.CornerType.Round;
            corners5.BottomRight = Telerik.Charting.Styles.CornerType.Round;
            corners5.RoundSize   = 6;
            corners5.TopLeft     = Telerik.Charting.Styles.CornerType.Round;
            corners5.TopRight    = Telerik.Charting.Styles.CornerType.Round;
            this.radChart1.Legend.Appearance.Corners = corners5;
            this.radChart1.Legend.Appearance.ItemAppearance.Corners                  = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners            = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners              = corners8;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.Legend.Marker.Appearance.Corners    = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners = corners10;
            this.radChart1.Location = new System.Drawing.Point(13, 16);
            this.radChart1.Name     = "radChart1";
            this.radChart1.PlotArea.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit3.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit3.Value = 24F;
            unit4.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit4.Value = 22F;
            unit5.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit5.Value = 12F;
            unit6.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit6.Value = 10F;
            this.radChart1.PlotArea.Appearance.Dimensions.Margins  = new Telerik.Charting.Styles.ChartMargins(unit3, unit4, unit5, unit6);
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.White;
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners             = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners              = corners14;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners                   = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners            = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners         = corners17;
            this.radChart1.PlotArea.XAxis.LayoutMode       = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;
            this.radChart1.PlotArea.XAxis.MaxValue         = 7;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.MaxValue = 120;
            this.radChart1.PlotArea.YAxis.Step     = 20;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 7;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Border.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(209)))), ((int)(((byte)(248)))));
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners        = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners             = corners30;
            chartSeries1.Appearance.PointMark.Corners                   = corners31;
            chartSeries1.Appearance.TextAppearance.Corners              = corners32;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(124)))), ((int)(((byte)(160)))));
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.CandleStick;
            chartSeries2.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(209)))), ((int)(((byte)(248)))));
            chartSeries2.Appearance.Corners      = corners33;
            chartSeries2.Appearance.EmptyValue.PointMark.Corners        = corners34;
            chartSeries2.Appearance.LabelAppearance.Corners             = corners35;
            chartSeries2.Appearance.PointMark.Corners                   = corners36;
            chartSeries2.Appearance.TextAppearance.Corners              = corners37;
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(124)))), ((int)(((byte)(160)))));
            chartSeries2.Name = "Series 2";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.CandleStick;
            chartSeries3.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(209)))), ((int)(((byte)(248)))));
            chartSeries3.Appearance.Corners      = corners38;
            chartSeries3.Appearance.EmptyValue.PointMark.Corners        = corners39;
            chartSeries3.Appearance.LabelAppearance.Corners             = corners40;
            chartSeries3.Appearance.PointMark.Corners                   = corners41;
            chartSeries3.Appearance.TextAppearance.Corners              = corners42;
            chartSeries3.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(124)))), ((int)(((byte)(160)))));
            chartSeriesItem1.Appearance.Corners                 = corners43;
            chartSeriesItem1.Label.Appearance.Corners           = corners44;
            chartSeriesItem1.Label.Marker.Appearance.Corners    = corners45;
            chartSeriesItem1.Label.TextBlock.Appearance.Corners = corners46;
            chartSeriesItem1.PointAppearance.Corners            = corners47;
            chartSeriesItem1.YValue                             = 73;
            chartSeriesItem1.YValue2                            = 52;
            chartSeriesItem2.Appearance.Corners                 = corners48;
            chartSeriesItem2.Label.Appearance.Corners           = corners49;
            chartSeriesItem2.Label.Marker.Appearance.Corners    = corners50;
            chartSeriesItem2.Label.TextBlock.Appearance.Corners = corners51;
            chartSeriesItem2.PointAppearance.Corners            = corners52;
            chartSeriesItem2.YValue                             = 23;
            chartSeriesItem2.YValue2                            = 76;
            chartSeriesItem3.Appearance.Corners                 = corners53;
            chartSeriesItem3.Label.Appearance.Corners           = corners54;
            chartSeriesItem3.Label.Marker.Appearance.Corners    = corners55;
            chartSeriesItem3.Label.TextBlock.Appearance.Corners = corners56;
            chartSeriesItem3.PointAppearance.Corners            = corners57;
            chartSeriesItem3.YValue                             = 22;
            chartSeriesItem3.YValue2                            = 25;
            chartSeriesItem4.Appearance.Corners                 = corners58;
            chartSeriesItem4.Label.Appearance.Corners           = corners59;
            chartSeriesItem4.Label.Marker.Appearance.Corners    = corners60;
            chartSeriesItem4.Label.TextBlock.Appearance.Corners = corners61;
            chartSeriesItem4.PointAppearance.Corners            = corners62;
            chartSeriesItem4.YValue                             = 24;
            chartSeriesItem4.YValue2                            = 93;
            chartSeriesItem5.Appearance.Corners                 = corners63;
            chartSeriesItem5.Label.Appearance.Corners           = corners64;
            chartSeriesItem5.Label.Marker.Appearance.Corners    = corners65;
            chartSeriesItem5.Label.TextBlock.Appearance.Corners = corners66;
            chartSeriesItem5.PointAppearance.Corners            = corners67;
            chartSeriesItem5.YValue                             = 75;
            chartSeriesItem5.YValue2                            = 55;
            chartSeries3.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4,
                chartSeriesItem5
            });
            chartSeries3.Name = "Product A";
            chartSeries3.Type = Telerik.Charting.ChartSeriesType.SplineArea;
            this.radChart1.Series.Add(chartSeries1);
            this.radChart1.Series.Add(chartSeries2);
            this.radChart1.Series.Add(chartSeries3);
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin     = "Apple";
            this.radChart1.Size     = new System.Drawing.Size(600, 500);
            this.radChart1.TabIndex = 1;
            //
            // 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(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #8
0
        /// <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.Corners                corners1      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.ChartMargins           chartMargins1 = new Telerik.Charting.Styles.ChartMargins();
            System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Telerik.Charting.Styles.ChartMargins           chartMargins2 = new Telerik.Charting.Styles.ChartMargins();
            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();
            Telerik.Charting.ChartSeries     chartSeries2      = new Telerik.Charting.ChartSeries();
            Telerik.Charting.ChartSeriesItem chartSeriesItem6  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem7  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem8  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem9  = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.ChartSeriesItem chartSeriesItem10 = new Telerik.Charting.ChartSeriesItem();
#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)(182)))), ((int)(((byte)(224)))), ((int)(((byte)(249)))));
            this.radChart1.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(252)))), ((int)(((byte)(255)))));
            this.radChart1.AutoLayout = true;
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.Top;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(143)))), ((int)(((byte)(190)))));
            this.radChart1.ChartTitle.TextBlock.Text      = "Logarithmic Y-Axis";
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(237)))), ((int)(((byte)(255)))));
            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.Legend.Appearance.Corners = corners1;
            chartMargins1.Right = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Right")));
            chartMargins1.Top   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Top")));
            this.radChart1.Legend.Appearance.Dimensions.Margins = chartMargins1;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.Legend.Appearance.Visible = false;
            this.radChart1.Legend.Visible            = false;
            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)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            chartMargins2.Bottom = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Bottom")));
            chartMargins2.Left   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Left")));
            chartMargins2.Right  = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Right")));
            chartMargins2.Top    = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Top")));
            this.radChart1.PlotArea.Appearance.Dimensions.Margins         = chartMargins2;
            this.radChart1.PlotArea.Appearance.FillStyle.FillType         = Telerik.Charting.Styles.FillType.Solid;
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor        = System.Drawing.Color.White;
            this.radChart1.PlotArea.Appearance.FillStyle.SecondColor      = System.Drawing.Color.White;
            this.radChart1.PlotArea.XAxis.Appearance.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color      = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.PlotArea.XAxis.LayoutMode       = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;
            this.radChart1.PlotArea.XAxis.MaxValue         = 5;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(184)))), ((int)(((byte)(206)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(187)))), ((int)(((byte)(207)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(117)))), ((int)(((byte)(154)))));
            this.radChart1.PlotArea.YAxis.MaxValue = 100;
            this.radChart1.PlotArea.YAxis.Step     = 10;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(124)))), ((int)(((byte)(160)))));
            chartSeriesItem1.YValue  = 73;
            chartSeriesItem1.YValue2 = 52;
            chartSeriesItem2.YValue  = 23;
            chartSeriesItem2.YValue2 = 76;
            chartSeriesItem3.YValue  = 22;
            chartSeriesItem3.YValue2 = 25;
            chartSeriesItem4.YValue  = 24;
            chartSeriesItem4.YValue2 = 93;
            chartSeriesItem5.YValue  = 75;
            chartSeriesItem5.YValue2 = 55;
            chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4,
                chartSeriesItem5
            });
            chartSeries1.Name = "Product A";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.SplineArea;
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(124)))), ((int)(((byte)(160)))));
            chartSeriesItem6.YValue   = 6;
            chartSeriesItem6.YValue2  = 53;
            chartSeriesItem7.YValue   = 24;
            chartSeriesItem7.YValue2  = 22;
            chartSeriesItem8.YValue   = 51;
            chartSeriesItem8.YValue2  = 78;
            chartSeriesItem9.YValue   = 95;
            chartSeriesItem9.YValue2  = 10;
            chartSeriesItem10.YValue  = 18;
            chartSeriesItem10.YValue2 = 60;
            chartSeries2.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem6,
                chartSeriesItem7,
                chartSeriesItem8,
                chartSeriesItem9,
                chartSeriesItem10
            });
            chartSeries2.Name = "Product B";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.SplineArea;
            this.radChart1.Series.AddRange(new Telerik.Charting.ChartSeries[] {
                chartSeries1,
                chartSeries2
            });
            this.radChart1.Size = new System.Drawing.Size(400, 300);
            this.radChart1.Skin = "Apple";
            this.radChart1.SkinsOverrideStyles = true;
            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(1230, 606);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #9
0
        /// <summary>
        /// Required designer variable.
        /// </summary>
        //private System.ComponentModel.IContainer components = null;

        #region Windows Form Designer generated code

        /// <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.Corners corners1     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners2     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners3     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners4     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners5     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners6     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners7     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners8     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners9     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners10    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners11    = new Telerik.Charting.Styles.Corners();
            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.Styles.Corners corners12    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners13    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners14    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners15    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners16    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners17    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners18    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners19    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners20    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners21    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners22    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners23    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners24    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners25    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners26    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners27    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries    chartSeries1 = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners corners28    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners29    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners30    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners31    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners32    = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color                              = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(197)))), ((int)(((byte)(175)))));
            this.radChart1.Appearance.Corners                                   = corners1;
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(237)))), ((int)(((byte)(225)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners2;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(126)))), ((int)(((byte)(97)))));
            this.radChart1.DataGroupColumn = null;
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            corners5.BottomLeft  = Telerik.Charting.Styles.CornerType.Round;
            corners5.BottomRight = Telerik.Charting.Styles.CornerType.Round;
            corners5.RoundSize   = 6;
            corners5.TopLeft     = Telerik.Charting.Styles.CornerType.Round;
            corners5.TopRight    = Telerik.Charting.Styles.CornerType.Round;
            this.radChart1.Legend.Appearance.Corners = corners5;
            this.radChart1.Legend.Appearance.ItemAppearance.Corners                  = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners            = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners              = corners8;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(137)))), ((int)(((byte)(110)))));
            this.radChart1.Legend.Marker.Appearance.Corners    = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners = corners10;
            this.radChart1.Location = new System.Drawing.Point(12, 15);
            this.radChart1.Name     = "radChart1";
            this.radChart1.PlotArea.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 24F;
            unit2.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit2.Value = 22F;
            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.White;
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners             = corners13;
            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)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners              = corners14;
            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.AxisLabel.Appearance.Corners                   = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners            = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners         = corners17;
            this.radChart1.PlotArea.XAxis.MaxValue         = 7;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            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.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.Step = 20;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 7;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Border.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(170)))), ((int)(((byte)(43)))));
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners        = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners             = corners30;
            chartSeries1.Appearance.PointMark.Corners                   = corners31;
            chartSeries1.Appearance.TextAppearance.Corners              = corners32;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(137)))), ((int)(((byte)(110)))));
            chartSeries1.Name = "Series 1";
            this.radChart1.Series.Add(chartSeries1);
            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(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #10
0
        /// <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.Corners                corners1      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.ChartMargins           chartMargins1 = new Telerik.Charting.Styles.ChartMargins();
            System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Telerik.Charting.Styles.ChartMargins           chartMargins2 = new Telerik.Charting.Styles.ChartMargins();
            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();
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color                              = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(197)))), ((int)(((byte)(175)))));
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(237)))), ((int)(((byte)(225)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.Top;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(126)))), ((int)(((byte)(97)))));
            this.radChart1.ChartTitle.TextBlock.Text                            = "Stacked Area";
            this.radChart1.DefaultType = Telerik.Charting.ChartSeriesType.StackedArea;
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            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.Legend.Appearance.Corners = corners1;
            chartMargins1.Right = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Right")));
            chartMargins1.Top   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins1.Top")));
            this.radChart1.Legend.Appearance.Dimensions.Margins = chartMargins1;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(137)))), ((int)(((byte)(110)))));
            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)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            chartMargins2.Bottom = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Bottom")));
            chartMargins2.Left   = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Left")));
            chartMargins2.Right  = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Right")));
            chartMargins2.Top    = ((Telerik.Charting.Styles.Unit)(resources.GetObject("chartMargins2.Top")));
            this.radChart1.PlotArea.Appearance.Dimensions.Margins         = chartMargins2;
            this.radChart1.PlotArea.Appearance.FillStyle.FillType         = Telerik.Charting.Styles.FillType.Solid;
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor        = System.Drawing.Color.White;
            this.radChart1.PlotArea.Appearance.FillStyle.SecondColor      = System.Drawing.Color.White;
            this.radChart1.PlotArea.XAxis.Appearance.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            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)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            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.MinValue         = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(218)))), ((int)(((byte)(202)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(217)))), ((int)(((byte)(201)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            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.MaxValue = 200;
            this.radChart1.PlotArea.YAxis.Step     = 20;
            chartSeries1.Appearance.Border.Color   = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(170)))), ((int)(((byte)(43)))));
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(137)))), ((int)(((byte)(110)))));
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.StackedArea;
            chartSeries2.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(170)))), ((int)(((byte)(43)))));
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(151)))), ((int)(((byte)(137)))), ((int)(((byte)(110)))));
            chartSeries2.Name = "Series 2";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.StackedArea;
            this.radChart1.Series.AddRange(new Telerik.Charting.ChartSeries[] {
                chartSeries1,
                chartSeries2
            });
            this.radChart1.Size = new System.Drawing.Size(400, 300);
            this.radChart1.Skin = "Apple";
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.TabIndex            = 0;
            //
            // Form1
            //
            this.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1230, 606);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #11
0
        /// <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.Corners corners1     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners2     = new Telerik.Charting.Styles.Corners();
            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.Styles.Unit    unit5        = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit    unit6        = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit    unit7        = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners corners3     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners4     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners5     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners6     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners7     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners8     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners9     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners10    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners11    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners12    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners13    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners14    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners15    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners16    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners17    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners18    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners19    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners20    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners21    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners22    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners23    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners24    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners25    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners26    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners27    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries    chartSeries1 = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners corners28    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners29    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners30    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners31    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners32    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries    chartSeries2 = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners corners33    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners34    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners35    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners36    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners37    = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(103)))), ((int)(((byte)(136)))), ((int)(((byte)(190)))));
            this.radChart1.Appearance.Corners                 = corners1;
            this.radChart1.Appearance.FillStyle.MainColor     = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(250)))), ((int)(((byte)(251)))));
            this.radChart1.ChartTitle.Appearance.Border.Width = 0F;
            this.radChart1.ChartTitle.Appearance.Corners      = corners2;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 3F;
            unit2.Value = 10F;
            unit3.Value = 14F;
            unit4.Value = 0F;
            this.radChart1.ChartTitle.Appearance.Dimensions.Margins = new Telerik.Charting.Styles.ChartMargins(unit1, unit2, unit3, unit4);
            unit5.Value = 3F;
            unit6.Value = 5F;
            unit7.Value = 0F;
            this.radChart1.ChartTitle.Appearance.Dimensions.Paddings            = new Telerik.Charting.Styles.ChartPaddings(unit5, unit6, unit5, unit7);
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.TopLeft;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(102)))));
            this.radChart1.ChartTitle.TextBlock.Text                      = "Bar";
            this.radChart1.DataGroupColumn                                = null;
            this.radChart1.Legend.Appearance.Border.Color                 = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.Legend.Appearance.Corners                      = corners5;
            this.radChart1.Legend.Appearance.FillStyle.MainColor          = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(241)))), ((int)(((byte)(255)))));
            this.radChart1.Legend.Appearance.ItemAppearance.Corners       = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners   = corners8;
            this.radChart1.Legend.Marker.Appearance.Corners               = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners            = corners10;
            this.radChart1.Location = new System.Drawing.Point(12, 12);
            this.radChart1.Name     = "radChart1";
            this.radChart1.PlotArea.Appearance.Corners             = corners11;
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(250)))), ((int)(((byte)(251)))));
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners     = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color             = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners      = corners14;
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners           = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners    = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners = corners17;
            this.radChart1.PlotArea.XAxis.MaxValue         = 7;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners     = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color             = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible      = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color             = System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(190)))), ((int)(((byte)(223)))));
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners      = corners19;
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners           = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners    = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners = corners22;
            this.radChart1.PlotArea.YAxis.Step = 20;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 7;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners      = corners30;
            chartSeries1.Appearance.PointMark.Corners            = corners31;
            chartSeries1.Appearance.TextAppearance.Corners       = corners32;
            chartSeries1.Name = "Series 1";
            chartSeries2.Appearance.Corners = corners33;
            chartSeries2.Appearance.EmptyValue.PointMark.Corners = corners34;
            chartSeries2.Appearance.LabelAppearance.Corners      = corners35;
            chartSeries2.Appearance.PointMark.Corners            = corners36;
            chartSeries2.Appearance.TextAppearance.Corners       = corners37;
            chartSeries2.Name = "Series 2";
            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(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #12
0
        /// <summary>
        /// Required designer variable.
        /// </summary>
        //private System.ComponentModel.IContainer components = null;

        #region Windows Form Designer generated code

        /// <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.Corners corners1     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners2     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners3     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners4     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners5     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners6     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners7     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners8     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners9     = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners10    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners11    = new Telerik.Charting.Styles.Corners();
            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.Styles.Corners corners12    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners13    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners14    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners15    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners16    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners17    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners18    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners19    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners20    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners21    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners22    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners23    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners24    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners25    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners26    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners27    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries    chartSeries1 = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners corners28    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners29    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners30    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners31    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners32    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries    chartSeries2 = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners corners33    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners34    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners35    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners36    = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners corners37    = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color                              = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(124)))), ((int)(((byte)(24)))));
            this.radChart1.Appearance.Border.PenStyle                           = System.Drawing.Drawing2D.DashStyle.Dash;
            this.radChart1.Appearance.Corners                                   = corners1;
            this.radChart1.Appearance.FillStyle.FillType                        = Telerik.Charting.Styles.FillType.Hatch;
            this.radChart1.Appearance.FillStyle.MainColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(158)))), ((int)(((byte)(205)))), ((int)(((byte)(70)))));
            this.radChart1.Appearance.FillStyle.SecondColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(190)))), ((int)(((byte)(48)))));
            this.radChart1.ChartTitle.Appearance.Border.Visible                 = false;
            this.radChart1.ChartTitle.Appearance.Corners                        = corners2;
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Empty;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.TopLeft;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(60)))), ((int)(((byte)(60)))));
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font  = new System.Drawing.Font("Arial", 21.75F);
            this.radChart1.DataGroupColumn = null;
            this.radChart1.DefaultType     = Telerik.Charting.ChartSeriesType.Bezier;
            this.radChart1.Legend.Appearance.Border.Color                            = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(247)))), ((int)(((byte)(128)))));
            this.radChart1.Legend.Appearance.Corners                                 = corners5;
            this.radChart1.Legend.Appearance.FillStyle.MainColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(71)))), ((int)(((byte)(71)))), ((int)(((byte)(71)))));
            this.radChart1.Legend.Appearance.ItemAppearance.Corners                  = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners            = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners              = corners8;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(160)))));
            this.radChart1.Legend.Marker.Appearance.Corners                          = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners                       = corners10;
            this.radChart1.Location = new System.Drawing.Point(25, 23);
            this.radChart1.Name     = "radChart1";
            this.radChart1.PlotArea.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(201)))), ((int)(((byte)(233)))), ((int)(((byte)(142)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 24F;
            unit2.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit2.Value = 22F;
            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)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
            this.radChart1.PlotArea.Appearance.FillStyle.SecondColor = System.Drawing.Color.Black;
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Ultra";
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(231)))), ((int)(((byte)(140)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners             = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(87)))), ((int)(((byte)(82)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners              = corners14;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(9)))), ((int)(((byte)(11)))), ((int)(((byte)(4)))));
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners                   = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners            = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners         = corners17;
            this.radChart1.PlotArea.XAxis.Step             = 20;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(231)))), ((int)(((byte)(140)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(87)))), ((int)(((byte)(82)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle             = System.Drawing.Drawing2D.DashStyle.Solid;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(220)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible              = false;
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(154)))), ((int)(((byte)(130)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Visible                   = false;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(9)))), ((int)(((byte)(11)))), ((int)(((byte)(4)))));
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.MaxValue = 70;
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners     = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners      = corners24;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners           = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners    = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 7;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Border.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(170)))), ((int)(((byte)(3)))));
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners        = corners29;
            chartSeries1.Appearance.LabelAppearance.Corners             = corners30;
            chartSeries1.Appearance.PointMark.Corners                   = corners31;
            chartSeries1.Appearance.TextAppearance.Corners              = corners32;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(159)))));
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.Bezier;
            chartSeries2.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(170)))), ((int)(((byte)(3)))));
            chartSeries2.Appearance.Corners      = corners33;
            chartSeries2.Appearance.EmptyValue.PointMark.Corners        = corners34;
            chartSeries2.Appearance.LabelAppearance.Corners             = corners35;
            chartSeries2.Appearance.PointMark.Corners                   = corners36;
            chartSeries2.Appearance.TextAppearance.Corners              = corners37;
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(159)))));
            chartSeries2.Name = "Series 2";
            chartSeries2.Type = Telerik.Charting.ChartSeriesType.Bezier;
            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.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #13
0
        /// <summary>
        /// Required designer variable.
        /// </summary>
        //private System.ComponentModel.IContainer components = null;

        #region Windows Form Designer generated code

        /// <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.Corners  corners1         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners2         = new Telerik.Charting.Styles.Corners();
            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.Corners  corners3         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners4         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners5         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Unit     unit4            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit5            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit6            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit7            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners  corners6         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners7         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners8         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners9         = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners10        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners11        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Unit     unit8            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit9            = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit10           = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit     unit11           = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners  corners12        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners13        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners14        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners15        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners16        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners17        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners18        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners19        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners20        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners21        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners22        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners23        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners24        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners25        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners26        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners27        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeries     chartSeries1     = new Telerik.Charting.ChartSeries();
            Telerik.Charting.Styles.Corners  corners28        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners29        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners30        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners31        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners32        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem1 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners33        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners34        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners35        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners36        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners37        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem2 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners38        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners39        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners40        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners41        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners42        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem3 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners43        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners44        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners45        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners46        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners47        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.ChartSeriesItem chartSeriesItem4 = new Telerik.Charting.ChartSeriesItem();
            Telerik.Charting.Styles.Corners  corners48        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners49        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners50        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners51        = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.Corners  corners52        = new Telerik.Charting.Styles.Corners();
#pragma warning disable 618
            this.radChart1      = new Telerik.WinControls.UI.RadChart();
            this.radChart1.Skin = "Default2006";
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Corners = corners1;
            this.radChart1.Appearance.FillStyle.FillSettings.GradientMode = Telerik.Charting.Styles.GradientFillStyle.Center;
            this.radChart1.Appearance.FillStyle.FillType      = Telerik.Charting.Styles.FillType.Gradient;
            this.radChart1.Appearance.FillStyle.MainColor     = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(211)))), ((int)(((byte)(65)))));
            this.radChart1.Appearance.FillStyle.SecondColor   = System.Drawing.Color.FromArgb(((int)(((byte)(61)))), ((int)(((byte)(113)))), ((int)(((byte)(0)))));
            this.radChart1.ChartTitle.Appearance.Border.Width = 0F;
            this.radChart1.ChartTitle.Appearance.Corners      = corners2;
            unit1.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit1.Value = 1F;
            unit2.Value = 10F;
            unit3.Value = 14F;
            this.radChart1.ChartTitle.Appearance.Dimensions.Margins             = new Telerik.Charting.Styles.ChartMargins(unit1, unit2, unit3, unit2);
            this.radChart1.ChartTitle.Appearance.FillStyle.MainColor            = System.Drawing.Color.Transparent;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.TopLeft;
            this.radChart1.ChartTitle.Marker.Appearance.Corners                 = corners3;
            this.radChart1.ChartTitle.TextBlock.Appearance.Corners              = corners4;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Font  = new System.Drawing.Font("Microsoft Sans Serif", 14F);
            this.radChart1.DataGroupColumn = null;
            this.radChart1.DefaultType     = Telerik.Charting.ChartSeriesType.Gantt;
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(131)))), ((int)(((byte)(171)))), ((int)(((byte)(83)))));
            this.radChart1.Legend.Appearance.Corners      = corners5;
            unit4.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit4.Value = 1F;
            unit5.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit5.Value = 1F;
            unit6.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit6.Value = 1F;
            unit7.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit7.Value = 1F;
            this.radChart1.Legend.Appearance.Dimensions.Paddings                     = new Telerik.Charting.Styles.ChartPaddings(unit4, unit5, unit6, unit7);
            this.radChart1.Legend.Appearance.FillStyle.MainColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.Legend.Appearance.ItemAppearance.Corners                  = corners6;
            this.radChart1.Legend.Appearance.ItemMarkerAppearance.Corners            = corners7;
            this.radChart1.Legend.Appearance.ItemTextAppearance.Corners              = corners8;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.radChart1.Legend.Marker.Appearance.Corners    = corners9;
            this.radChart1.Legend.TextBlock.Appearance.Corners = corners10;
            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)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.Appearance.Corners      = corners11;
            unit8.Type   = Telerik.Charting.Styles.UnitType.Percentage;
            unit8.Value  = 24F;
            unit9.Type   = Telerik.Charting.Styles.UnitType.Percentage;
            unit9.Value  = 22F;
            unit10.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit10.Value = 12F;
            unit11.Type  = Telerik.Charting.Styles.UnitType.Percentage;
            unit11.Value = 10F;
            this.radChart1.PlotArea.Appearance.Dimensions.Margins  = new Telerik.Charting.Styles.ChartMargins(unit8, unit9, unit10, unit11);
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor = System.Drawing.Color.Transparent;
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.Skin = "Apple";
            this.radChart1.SeriesOrientation = Telerik.Charting.ChartSeriesOrientation.Horizontal;
            this.radChart1.PlotArea.XAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.XAxis.Appearance.LabelAppearance.Corners                  = corners13;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color                          = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.Corners                   = corners14;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color      = System.Drawing.Color.White;
            this.radChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font       = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.radChart1.PlotArea.XAxis.AxisLabel.Appearance.Corners                        = corners15;
            this.radChart1.PlotArea.XAxis.AxisLabel.Marker.Appearance.Corners                 = corners16;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.Corners              = corners17;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.PlotArea.XAxis.MaxValue         = 4;
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.XAxis.Step             = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis.Appearance.LabelAppearance.Corners             = corners18;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.Corners              = corners19;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.PlotArea.YAxis.Appearance.TextAppearance.TextProperties.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.radChart1.PlotArea.YAxis.AxisLabel.Appearance.Corners                   = corners20;
            this.radChart1.PlotArea.YAxis.AxisLabel.Marker.Appearance.Corners            = corners21;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.Corners         = corners22;
            this.radChart1.PlotArea.YAxis.MaxValue          = 4;
            this.radChart1.PlotArea.YAxis.Step              = 0.5;
            this.radChart1.PlotArea.YAxis2.Appearance.Color = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis2.Appearance.LabelAppearance.Corners             = corners23;
            this.radChart1.PlotArea.YAxis2.Appearance.MajorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis2.Appearance.MajorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis2.Appearance.MinorGridLines.Color                = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis2.Appearance.MinorTick.Color                     = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.Corners              = corners24;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.White;
            this.radChart1.PlotArea.YAxis2.Appearance.TextAppearance.TextProperties.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.radChart1.PlotArea.YAxis2.AxisLabel.Appearance.Corners                   = corners25;
            this.radChart1.PlotArea.YAxis2.AxisLabel.Marker.Appearance.Corners            = corners26;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.Corners         = corners27;
            this.radChart1.PlotArea.YAxis2.MaxValue = 4;
            this.radChart1.PlotArea.YAxis2.MinValue = 1;
            this.radChart1.PlotArea.YAxis2.Step     = 1;
            chartSeries1.Appearance.Border.Color    = System.Drawing.Color.Empty;
            chartSeries1.Appearance.Corners         = corners28;
            chartSeries1.Appearance.EmptyValue.PointMark.Corners        = corners29;
            chartSeries1.Appearance.FillStyle.MainColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
            chartSeries1.Appearance.FillStyle.SecondColor               = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(217)))), ((int)(((byte)(238)))));
            chartSeries1.Appearance.LabelAppearance.Corners             = corners30;
            chartSeries1.Appearance.PointMark.Corners                   = corners31;
            chartSeries1.Appearance.PointMark.FillStyle.MainColor       = System.Drawing.Color.FromArgb(((int)(((byte)(213)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
            chartSeries1.Appearance.PointMark.FillStyle.SecondColor     = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(217)))), ((int)(((byte)(238)))));
            chartSeries1.Appearance.TextAppearance.Corners              = corners32;
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.White;
            chartSeries1.Appearance.TextAppearance.TextProperties.Font  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            chartSeriesItem1.Appearance.Corners                 = corners33;
            chartSeriesItem1.Label.Appearance.Corners           = corners34;
            chartSeriesItem1.Label.Marker.Appearance.Corners    = corners35;
            chartSeriesItem1.Label.TextBlock.Appearance.Corners = corners36;
            chartSeriesItem1.PointAppearance.Corners            = corners37;
            chartSeriesItem1.YValue                             = 1;
            chartSeriesItem2.Appearance.Corners                 = corners38;
            chartSeriesItem2.Label.Appearance.Corners           = corners39;
            chartSeriesItem2.Label.Marker.Appearance.Corners    = corners40;
            chartSeriesItem2.Label.TextBlock.Appearance.Corners = corners41;
            chartSeriesItem2.PointAppearance.Corners            = corners42;
            chartSeriesItem2.YValue                             = 2;
            chartSeriesItem3.Appearance.Corners                 = corners43;
            chartSeriesItem3.Label.Appearance.Corners           = corners44;
            chartSeriesItem3.Label.Marker.Appearance.Corners    = corners45;
            chartSeriesItem3.Label.TextBlock.Appearance.Corners = corners46;
            chartSeriesItem3.PointAppearance.Corners            = corners47;
            chartSeriesItem3.YValue                             = 3;
            chartSeriesItem4.Appearance.Corners                 = corners48;
            chartSeriesItem4.Label.Appearance.Corners           = corners49;
            chartSeriesItem4.Label.Marker.Appearance.Corners    = corners50;
            chartSeriesItem4.Label.TextBlock.Appearance.Corners = corners51;
            chartSeriesItem4.PointAppearance.Corners            = corners52;
            chartSeriesItem4.YValue                             = 4;
            chartSeries1.Items.AddRange(new Telerik.Charting.ChartSeriesItem[] {
                chartSeriesItem1,
                chartSeriesItem2,
                chartSeriesItem3,
                chartSeriesItem4
            });
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.Gantt;
            this.radChart1.Series.Add(chartSeries1);
            this.radChart1.SeriesOrientation = Telerik.Charting.ChartSeriesOrientation.Horizontal;
            this.radChart1.Size     = new System.Drawing.Size(400, 300);
            this.radChart1.TabIndex = 0;
            //
            // Form1
            //

            this.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1232, 822);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #14
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Telerik.Charting.Styles.ChartMargins           chartMargins1 = new Telerik.Charting.Styles.ChartMargins();
            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.Styles.ChartMargins           chartMargins2 = new Telerik.Charting.Styles.ChartMargins();
            Telerik.Charting.Styles.Unit                   unit5         = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Corners                corners1      = new Telerik.Charting.Styles.Corners();
            Telerik.Charting.Styles.ChartMargins           chartMargins3 = new Telerik.Charting.Styles.ChartMargins();
            Telerik.Charting.Styles.Unit                   unit6         = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit                   unit7         = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit                   unit8         = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.Styles.Unit                   unit9         = new Telerik.Charting.Styles.Unit();
            Telerik.Charting.ChartSeries                   chartSeries1  = new Telerik.Charting.ChartSeries();
            Telerik.Charting.ChartSeries                   chartSeries2  = new Telerik.Charting.ChartSeries();
            System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
#pragma warning disable 618
            this.radChart1            = new Telerik.WinControls.UI.RadChart();
            this.radButton1           = new Telerik.WinControls.UI.RadButton();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.panel                = new Telerik.QuickStart.WinControls.RadCustomPanel();
            this.pictureBox1          = new System.Windows.Forms.PictureBox();
            this.radButton7           = new Telerik.WinControls.UI.RadButton();
            this.radButton5           = new Telerik.WinControls.UI.RadButton();
            this.radButton3           = new Telerik.WinControls.UI.RadButton();
            this.radButton4           = new Telerik.WinControls.UI.RadButton();
            this.radLabel1            = new Telerik.WinControls.UI.RadLabel();
            this.roundRectShape1      = new Telerik.WinControls.RoundRectShape();
            this.trackBarUThumbShape1 = new Telerik.WinControls.UI.TrackBarUThumbShape();
            this.radLabel2            = new Telerik.WinControls.UI.RadLabel();
            this.pictureBox2          = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panel)).BeginInit();
            this.panel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            this.SuspendLayout();
            //
            // radChart1
            //
            this.radChart1.Appearance.Border.Color            = System.Drawing.Color.Silver;
            this.radChart1.Appearance.FillStyle.MainColor     = System.Drawing.Color.WhiteSmoke;
            this.radChart1.ChartTitle.Appearance.Border.Width = 1F;
            unit1.Value          = 14F;
            chartMargins1.Bottom = unit1;
            unit2.Value          = 10F;
            chartMargins1.Left   = unit2;
            unit3.Value          = 10F;
            chartMargins1.Right  = unit3;
            unit4.Value          = 14F;
            chartMargins1.Top    = unit4;
            this.radChart1.ChartTitle.Appearance.Dimensions.Margins             = chartMargins1;
            this.radChart1.ChartTitle.Appearance.Position.AlignedPosition       = Telerik.Charting.Styles.AlignedPositions.Top;
            this.radChart1.ChartTitle.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Gray;
            this.radChart1.ChartTitle.TextBlock.Text      = "Secondary Y-Axis";
            this.radChart1.Legend.Appearance.Border.Color = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(227)))), ((int)(((byte)(227)))));
            unit5.Value         = 15F;
            chartMargins2.Right = unit5;
            this.radChart1.Legend.Appearance.Dimensions.Margins = chartMargins2;
            this.radChart1.Legend.Appearance.ItemTextAppearance.TextProperties.Font = new System.Drawing.Font("Arial", 9.75F);
            this.radChart1.Location = new System.Drawing.Point(263, 47);
            this.radChart1.Name     = "radChart1";
            this.radChart1.PlotArea.Appearance.Border.Color = System.Drawing.Color.Silver;
            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;
            unit6.Value          = 35F;
            chartMargins3.Bottom = unit6;
            unit7.Value          = 35F;
            chartMargins3.Left   = unit7;
            unit8.Value          = 100F;
            chartMargins3.Right  = unit8;
            unit9.Value          = 50F;
            chartMargins3.Top    = unit9;
            this.radChart1.PlotArea.Appearance.Dimensions.Margins         = chartMargins3;
            this.radChart1.PlotArea.Appearance.FillStyle.FillType         = Telerik.Charting.Styles.FillType.Solid;
            this.radChart1.PlotArea.Appearance.FillStyle.MainColor        = System.Drawing.Color.White;
            this.radChart1.PlotArea.Appearance.FillStyle.SecondColor      = System.Drawing.Color.White;
            this.radChart1.PlotArea.XAxis.Appearance.Color                = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.XAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.XAxis.Appearance.MajorTick.Color      = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F);
            this.radChart1.PlotArea.XAxis.MinValue         = 1;
            this.radChart1.PlotArea.YAxis.Appearance.Color = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MajorGridLines.Color = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MajorTick.Color      = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.Appearance.MinorGridLines.Color = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.radChart1.PlotArea.YAxis.Appearance.MinorTick.Color      = System.Drawing.Color.Silver;
            this.radChart1.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F);
            this.radChart1.PlotArea.YAxis.MaxValue = 90;
            this.radChart1.PlotArea.YAxis.Step     = 10;
            this.radChart1.PlotArea.YAxis2.AxisLabel.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font("Arial", 10F);
            this.radChart1.PlotArea.YAxis2.MaxValue                     = 100;
            this.radChart1.PlotArea.YAxis2.Step                         = 10;
            chartSeries1.Appearance.FillStyle.MainColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(206)))), ((int)(((byte)(38)))));
            chartSeries1.Appearance.FillStyle.SecondColor               = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(247)))), ((int)(((byte)(221)))));
            chartSeries1.Appearance.PointMark.FillStyle.MainColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(206)))), ((int)(((byte)(38)))));
            chartSeries1.Appearance.PointMark.FillStyle.SecondColor     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(247)))), ((int)(((byte)(221)))));
            chartSeries1.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
            chartSeries1.Appearance.TextAppearance.TextProperties.Font  = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            chartSeries1.Name = "Series 1";
            chartSeries1.Type = Telerik.Charting.ChartSeriesType.Area;
            chartSeries2.Appearance.FillStyle.MainColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
            chartSeries2.Appearance.FillStyle.SecondColor               = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
            chartSeries2.Appearance.PointMark.FillStyle.MainColor       = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(99)))), ((int)(((byte)(99)))));
            chartSeries2.Appearance.PointMark.FillStyle.SecondColor     = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231)))));
            chartSeries2.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.Black;
            chartSeries2.Appearance.TextAppearance.TextProperties.Font  = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            chartSeries2.Name      = "Series 2";
            chartSeries2.Type      = Telerik.Charting.ChartSeriesType.Area;
            chartSeries2.YAxisType = Telerik.Charting.ChartYAxisType.Secondary;
            this.radChart1.Series.AddRange(new Telerik.Charting.ChartSeries[] {
                chartSeries1,
                chartSeries2
            });
            this.radChart1.Size = new System.Drawing.Size(400, 300);
            this.radChart1.Skin = "Apple";
            this.radChart1.SkinsOverrideStyles = true;
            this.radChart1.TabIndex            = 0;
            //
            // radButton1
            //
            this.radButton1.BackColor        = System.Drawing.Color.Transparent;
            this.radButton1.Font             = new System.Drawing.Font("Arial", 14F);
            this.radButton1.ForeColor        = System.Drawing.Color.Black;
            this.radButton1.ImageList        = this.imageList1;
            this.radButton1.ImageScalingSize = new System.Drawing.Size(64, 64);
            this.radButton1.Location         = new System.Drawing.Point(12, 33);
            this.radButton1.Name             = "radButton1";
            //
            //
            //
            this.radButton1.RootElement.ForeColor = System.Drawing.Color.Black;
            this.radButton1.Size              = new System.Drawing.Size(227, 88);
            this.radButton1.TabIndex          = 1;
            this.radButton1.Text              = "Pie";
            this.radButton1.TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButton1.Click            += new System.EventHandler(this.radButton1_Click);
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).Image             = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).Text    = "Pie";
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton1.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(8, 0, 0, 0);
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(0))).NumberOfColors = 1;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(0))).BackColor      = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(this.radButton1.GetChildAt(0).GetChildAt(1))).Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = true;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(1).GetChildAt(1))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(83)))), ((int)(((byte)(62)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Font      = new System.Drawing.Font("Arial", 14F);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(2))).ForeColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(2))).BackColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton1.GetChildAt(0).GetChildAt(2))).Visibility            = Telerik.WinControls.ElementVisibility.Hidden;
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "Bubble.png");
            this.imageList1.Images.SetKeyName(1, "Candlestick.png");
            this.imageList1.Images.SetKeyName(2, "Gant.png");
            this.imageList1.Images.SetKeyName(3, "Pie.png");
            this.imageList1.Images.SetKeyName(4, "SplineArea.png");
            this.imageList1.Images.SetKeyName(5, "SplineLine.png");
            this.imageList1.Images.SetKeyName(6, "StackedArea100.png");
            this.imageList1.Images.SetKeyName(7, "StackedArea.png");
            this.imageList1.Images.SetKeyName(8, "StackedBar100.png");
            this.imageList1.Images.SetKeyName(9, "StackedSplineArea100.png");
            this.imageList1.Images.SetKeyName(10, "StackedSplineArea.png");
            this.imageList1.Images.SetKeyName(11, "StakedBar.png");
            this.imageList1.Images.SetKeyName(12, "Area.png");
            this.imageList1.Images.SetKeyName(13, "Bar.png");
            this.imageList1.Images.SetKeyName(14, "Line.png");
            //
            // panel
            //
            this.panel.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(242)))), ((int)(((byte)(217)))));
            this.panel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
            this.panel.Controls.Add(this.pictureBox1);
            this.panel.Controls.Add(this.radButton7);
            this.panel.Controls.Add(this.radButton5);
            this.panel.Controls.Add(this.radButton3);
            this.panel.Controls.Add(this.radButton4);
            this.panel.Controls.Add(this.radButton1);
            this.panel.Controls.Add(this.radLabel1);
            this.panel.Font       = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.panel.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(111)))), ((int)(((byte)(61)))));
            this.panel.LineBounds = new System.Drawing.Rectangle(10, 30, 240, 30);
            this.panel.Location   = new System.Drawing.Point(5, 5);
            this.panel.Name       = "panel";
            //
            //
            //
            this.panel.RootElement.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(111)))), ((int)(((byte)(61)))));
            this.panel.Size      = new System.Drawing.Size(250, 495);
            this.panel.TabIndex  = 0;
            this.panel.ThemeName = "Examples";
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.panel.GetChildAt(0).GetChildAt(0))).ForeColor       = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.panel.GetChildAt(0).GetChildAt(0))).BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(242)))), ((int)(((byte)(217)))));
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.panel.GetChildAt(0).GetChildAt(1))).GradientStyle = Telerik.WinControls.GradientStyles.Solid;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.panel.GetChildAt(0).GetChildAt(1))).ForeColor     = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.panel.GetChildAt(0).GetChildAt(2))).ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.panel.GetChildAt(0).GetChildAt(2))).Font            = new System.Drawing.Font("Arial", 14F);
            //
            // pictureBox1
            //
            this.pictureBox1.Image    = global::Telerik.Examples.WinControls.Properties.Resources.separator;
            this.pictureBox1.Location = new System.Drawing.Point(16, 28);
            this.pictureBox1.Margin   = new System.Windows.Forms.Padding(0);
            this.pictureBox1.Name     = "pictureBox1";
            this.pictureBox1.Size     = new System.Drawing.Size(227, 6);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 1;
            this.pictureBox1.TabStop  = false;
            //
            // radButton7
            //
            this.radButton7.BackColor        = System.Drawing.Color.Transparent;
            this.radButton7.Font             = new System.Drawing.Font("Arial", 14F);
            this.radButton7.ForeColor        = System.Drawing.Color.Black;
            this.radButton7.ImageList        = this.imageList1;
            this.radButton7.ImageScalingSize = new System.Drawing.Size(64, 64);
            this.radButton7.Location         = new System.Drawing.Point(12, 306);
            this.radButton7.Name             = "radButton7";
            //
            //
            //
            this.radButton7.RootElement.ForeColor = System.Drawing.Color.Black;
            this.radButton7.Size              = new System.Drawing.Size(226, 88);
            this.radButton7.TabIndex          = 4;
            this.radButton7.Text              = "Area";
            this.radButton7.TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButton7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButton7.Click            += new System.EventHandler(this.radButton7_Click);
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton7.GetChildAt(0))).Image             = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton7.GetChildAt(0))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton7.GetChildAt(0))).TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton7.GetChildAt(0))).Text    = "Area";
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton7.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(8, 0, 0, 0);
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(0))).NumberOfColors = 1;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(0))).BackColor      = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(this.radButton7.GetChildAt(0).GetChildAt(1))).Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = true;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(1).GetChildAt(1))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(83)))), ((int)(((byte)(62)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Font      = new System.Drawing.Font("Arial", 14F);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(2))).ForeColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(2))).BackColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton7.GetChildAt(0).GetChildAt(2))).Visibility            = Telerik.WinControls.ElementVisibility.Hidden;
            //
            // radButton5
            //
            this.radButton5.BackColor        = System.Drawing.Color.Transparent;
            this.radButton5.Font             = new System.Drawing.Font("Arial", 14F);
            this.radButton5.ForeColor        = System.Drawing.Color.Black;
            this.radButton5.ImageList        = this.imageList1;
            this.radButton5.ImageScalingSize = new System.Drawing.Size(64, 64);
            this.radButton5.Location         = new System.Drawing.Point(12, 397);
            this.radButton5.Name             = "radButton5";
            //
            //
            //
            this.radButton5.RootElement.ForeColor = System.Drawing.Color.Black;
            this.radButton5.Size              = new System.Drawing.Size(226, 88);
            this.radButton5.TabIndex          = 5;
            this.radButton5.Text              = " Line";
            this.radButton5.TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButton5.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButton5.Click            += new System.EventHandler(this.radButton5_Click);
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton5.GetChildAt(0))).Image             = ((System.Drawing.Image)(resources.GetObject("resource.Image2")));
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton5.GetChildAt(0))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton5.GetChildAt(0))).TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton5.GetChildAt(0))).Text    = " Line";
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton5.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(8, 0, 0, 0);
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(0))).NumberOfColors = 1;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(0))).BackColor      = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(0))).Visibility     = Telerik.WinControls.ElementVisibility.Collapsed;
            ((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(this.radButton5.GetChildAt(0).GetChildAt(1))).Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = true;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(1).GetChildAt(1))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(83)))), ((int)(((byte)(62)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Font      = new System.Drawing.Font("Arial", 14F);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(2))).ForeColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(2))).BackColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton5.GetChildAt(0).GetChildAt(2))).Visibility            = Telerik.WinControls.ElementVisibility.Hidden;
            //
            // radButton3
            //
            this.radButton3.BackColor        = System.Drawing.Color.Transparent;
            this.radButton3.Font             = new System.Drawing.Font("Arial", 14F);
            this.radButton3.ForeColor        = System.Drawing.Color.Black;
            this.radButton3.ImageList        = this.imageList1;
            this.radButton3.ImageScalingSize = new System.Drawing.Size(64, 64);
            this.radButton3.Location         = new System.Drawing.Point(12, 214);
            this.radButton3.Name             = "radButton3";
            //
            //
            //
            this.radButton3.RootElement.ForeColor = System.Drawing.Color.Black;
            this.radButton3.Size              = new System.Drawing.Size(226, 88);
            this.radButton3.TabIndex          = 3;
            this.radButton3.Text              = "Stacked Bar";
            this.radButton3.TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButton3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButton3.Click            += new System.EventHandler(this.radButton3_Click);
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton3.GetChildAt(0))).Image             = ((System.Drawing.Image)(resources.GetObject("resource.Image3")));
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton3.GetChildAt(0))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton3.GetChildAt(0))).TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton3.GetChildAt(0))).Text    = "Stacked Bar";
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton3.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(8, 0, 0, 0);
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(0))).NumberOfColors = 1;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(0))).BackColor      = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(this.radButton3.GetChildAt(0).GetChildAt(1))).Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = true;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(1).GetChildAt(1))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(83)))), ((int)(((byte)(62)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Font      = new System.Drawing.Font("Arial", 14F);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(2))).ForeColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(2))).BackColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton3.GetChildAt(0).GetChildAt(2))).Visibility            = Telerik.WinControls.ElementVisibility.Hidden;
            //
            // radButton4
            //
            this.radButton4.BackColor        = System.Drawing.Color.Transparent;
            this.radButton4.Font             = new System.Drawing.Font("Arial", 14F);
            this.radButton4.ForeColor        = System.Drawing.Color.Black;
            this.radButton4.ImageList        = this.imageList1;
            this.radButton4.ImageScalingSize = new System.Drawing.Size(64, 64);
            this.radButton4.Location         = new System.Drawing.Point(12, 124);
            this.radButton4.Name             = "radButton4";
            //
            //
            //
            this.radButton4.RootElement.ForeColor = System.Drawing.Color.Black;
            this.radButton4.Size              = new System.Drawing.Size(226, 88);
            this.radButton4.TabIndex          = 2;
            this.radButton4.Text              = "Bar";
            this.radButton4.TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            this.radButton4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.radButton4.Click            += new System.EventHandler(this.radButton4_Click);
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton4.GetChildAt(0))).Image             = ((System.Drawing.Image)(resources.GetObject("resource.Image4")));
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton4.GetChildAt(0))).TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton4.GetChildAt(0))).TextAlignment     = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton4.GetChildAt(0))).Text    = "Bar";
            ((Telerik.WinControls.UI.RadButtonElement)(this.radButton4.GetChildAt(0))).Padding = new System.Windows.Forms.Padding(8, 0, 0, 0);
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(0))).NumberOfColors = 1;
            ((Telerik.WinControls.Primitives.FillPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(0))).BackColor      = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Layouts.ImageAndTextLayoutPanel)(this.radButton4.GetChildAt(0).GetChildAt(1))).Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(1).GetChildAt(1))).StretchHorizontally = true;
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(1).GetChildAt(1))).ForeColor           = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(83)))), ((int)(((byte)(62)))));
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Font      = new System.Drawing.Font("Arial", 14F);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Padding   = new System.Windows.Forms.Padding(10, 0, 0, 0);
            ((Telerik.WinControls.Primitives.TextPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(1).GetChildAt(1))).Alignment = System.Drawing.ContentAlignment.MiddleLeft;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(2))).ForeColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(2))).BackColor             = System.Drawing.Color.Transparent;
            ((Telerik.WinControls.Primitives.BorderPrimitive)(this.radButton4.GetChildAt(0).GetChildAt(2))).Visibility            = Telerik.WinControls.ElementVisibility.Hidden;
            //
            // radLabel1
            //
            this.radLabel1.BackColor = System.Drawing.Color.Transparent;
            this.radLabel1.Font      = new System.Drawing.Font("Arial", 14F);
            this.radLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(77)))), ((int)(((byte)(0)))));
            this.radLabel1.Location  = new System.Drawing.Point(16, 3);
            this.radLabel1.Name      = "radLabel1";
            //
            //
            //
            this.radLabel1.RootElement.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(77)))), ((int)(((byte)(0)))));
            this.radLabel1.Size     = new System.Drawing.Size(181, 26);
            this.radLabel1.TabIndex = 1;
            this.radLabel1.Text     = "Choose Chart Type:";
            //
            // roundRectShape1
            //
            this.roundRectShape1.BottomLeftRounded  = true;
            this.roundRectShape1.BottomRightRounded = true;
            this.roundRectShape1.TopLeftRounded     = true;
            this.roundRectShape1.TopRightRounded    = true;
            //
            // radLabel2
            //
            this.radLabel2.BackColor = System.Drawing.Color.Transparent;
            this.radLabel2.Font      = new System.Drawing.Font("Arial", 14F);
            this.radLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(77)))), ((int)(((byte)(0)))));
            this.radLabel2.Location  = new System.Drawing.Point(261, 8);
            this.radLabel2.Name      = "radLabel2";
            //
            //
            //
            this.radLabel2.RootElement.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(193)))), ((int)(((byte)(77)))), ((int)(((byte)(0)))));
            this.radLabel2.Size     = new System.Drawing.Size(82, 26);
            this.radLabel2.TabIndex = 2;
            this.radLabel2.Text     = "Preview:";
            //
            // pictureBox2
            //
            this.pictureBox2.Image    = global::Telerik.Examples.WinControls.Properties.Resources.separator;
            this.pictureBox2.Location = new System.Drawing.Point(259, 33);
            this.pictureBox2.Name     = "pictureBox2";
            this.pictureBox2.Size     = new System.Drawing.Size(440, 6);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox2.TabIndex = 6;
            this.pictureBox2.TabStop  = false;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.pictureBox2);
            this.Controls.Add(this.radLabel2);
            this.Controls.Add(this.panel);
            this.Controls.Add(this.radChart1);
            this.Name = "Form1";
            this.Size = new System.Drawing.Size(1001, 753);
            ((System.ComponentModel.ISupportInitialize)(this.radChart1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panel)).EndInit();
            this.panel.ResumeLayout(false);
            this.panel.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }