public CenterGravity()
        {
            InitializeComponent();

            Chart chart = new Chart();
            ChartArea area = new ChartArea();
            area.AxisX.Title = "t";
            area.AxisX.Minimum = 0;
            area.AxisX.MajorGrid.LineColor = Color.LightGray;
            area.AxisY.Title = "Movement";
            area.AxisY.MajorGrid.LineColor = Color.LightGray;
            chart.ChartAreas.Add(area);
            _serie = new Series();
            _serie.ChartType = SeriesChartType.Line;
            _serie.MarkerStyle = MarkerStyle.Diamond;
            _serie.MarkerSize = 9;
            _serie.Color = Color.LimeGreen;
            chart.Series.Add(_serie);

            WindowsFormsHost host = new WindowsFormsHost();
            host.Child = chart;
            movlive.Children.Add(host);

            _cog = new cog(400, 400);
            coglive.Children.Add(_cog);

            _first = true;

            MainController.GetInstance.DataController.AddSensorDataListener(this);
        }
        public ChartPanel(MetingType type, SeriesChartType charttype)
            : base()
        {
            this.type = type;
            this.ChartType = charttype;

            this.chart = new Chart();
            this.chartArea = new ChartArea();
            this.chart.Titles.Add(new Title(type.ToString()));

            this.Location = new System.Drawing.Point(0, 0);

            this.Size = new System.Drawing.Size(400, 250);
            this.Controls.Add(chart);

            this.series = createSerie();
            this.chartArea.Name = "chartArea";

            this.chart.Size = new System.Drawing.Size(400, 250);

            this.chart.Dock = DockStyle.Fill;
            this.chart.Series.Add(series);
            this.chart.Text = "chart";

            this.chart.ChartAreas.Add(chartArea);
        }
예제 #3
0
        private Chart CreatePieChart(Legend legend, Title title, Dictionary<string, int> dpc)
        {
            var chart = new Chart();
            chart.Size = new Size(600, 450);
            chart.Titles.Add(title);
            var chartArea = new ChartArea();

            chart.ChartAreas.Add(chartArea);

            var series = new Series();
            series.Name = "series";
            series.ChartType = SeriesChartType.Pie;

            //chart.Legends.Add(legend);
            chart.Series.Add(series);

            foreach (var entry in dpc)
            {
                if(entry.Value > 0)
                    chart.Series["series"].Points.AddXY(entry.Key, entry.Value);
            }

            chart.Dock = DockStyle.Fill;
            return chart;
        }
예제 #4
0
        /// <summary>
        /// Initialises a new instance of the class
        /// </summary>
        public MyChartControl()
        {
            InitializeComponent();
            _candles = new List<OHLC>();
            _mainChartArea = chartCtrl.ChartAreas[Constants.CandleAreaName];

            chartCtrl.MouseWheel += chartCtrl_MouseWheel;

            chartCtrl.MouseEnter += (s, e) =>
            {
                if (!chartCtrl.Focused)
                    chartCtrl.Focus();
            };
            chartCtrl.MouseLeave += (s, e) =>
            {
                if (chartCtrl.Focused)
                {
                    chartCtrl.Parent.Focus();
                }
                _mainChartArea.CursorX.Position = _mainChartArea.CursorY.Position = -10;
                _priceAnnotation.X = _priceAnnotation.Y = -10;
                lblInfo.Text = string.Empty;
            };
            chartCtrl.MouseMove += chartCtrl_MouseMove;

            InitChart();
        }
예제 #5
0
        private void Init()
        {
            ChartArea chartArea = new ChartArea();
            Legend legend = new Legend();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();

            chartArea.Name = "ChartArea1";
            this.ChartAreas.Add(chartArea);
            legend.Name = "Legend1";
            this.Legends.Add(legend);

            Series.Clear();
            m_series = new Series
            {
                Name = "Series1",
                Color = System.Drawing.Color.Green,
                IsVisibleInLegend = false,
                IsXValueIndexed = true,
                ChartType = SeriesChartType.Line
            };
            Series.Add(m_series);

            for (int i = 10; i < 23; i++)
            {
                m_series.Points.AddXY(i, f(i));
            }
        }
        /* Adds one tab containing a chart to this.progressTabControl for each member in chartName.
         * Returns a list of the added charts.
         */
        private List<Chart> AddChartsToProgressControl(List<string> chartNames)
        {
            int i = 0;
            List<Chart> charts = new List<Chart>();

            foreach (string chartName in chartNames)
            {
                Legend legend = new Legend();
                legend.Name = "legend";
                legend.Docking = Docking.Right;

                ChartArea ca = new ChartArea();
                ca.Name = "chartArea";

                Chart chart = new Chart();
                chart.Legends.Add(legend);
                chart.ChartAreas.Add(ca);
                chart.Name = chartName;
                chart.Dock = DockStyle.Fill;
                chart.Text = chartName;

                TabPage tPage = new TabPage();
                tPage.Name = chartName;
                tPage.Text = chartName;
                tPage.Controls.Add(chart);

                this.progressTabControl.Controls.Add(tPage);

                charts.Add(chart);

                i++;
            }
            return charts;
        }
 public MSChartExtensionZoomDialog(ChartArea sender)
 {
     InitializeComponent();
     ptrChartArea = sender;
     cbAxisType.SelectedIndex = 0;
     cbAxisType_SelectedIndexChanged(this, null);
 }
예제 #8
0
 public void AddPlot(List<double> values, string title = "")
 {
     Chart chart = new Chart();
     Series series = new Series();
     ChartArea chartArea1 = new ChartArea();
     chartArea1.Name = "ChartArea1";
     chart.ChartAreas.Add(chartArea1);
     series.BorderWidth = 2;
     series.BorderDashStyle = ChartDashStyle.Solid;
     series.ChartType = SeriesChartType.Line;
     series.Color = Color.Green;
     for (int i = 0; i < values.Count; i++)
     {
         series.Points.AddXY(i, values[i]);
     }
     chart.BorderlineColor = Color.Red;
     chart.BorderlineWidth = 1;
     chart.Series.Add(series);
     chart.Titles.Add(title);
     chart.Invalidate();
     chart.Palette = ChartColorPalette.Fire;
     chartArea1.AxisY.Minimum = values.Min();
     chartArea1.AxisY.Maximum = values.Max();
     AddChartInRuntime(chart);
 }
예제 #9
0
 internal ChartExtents(ChartArea ptrChartArea, bool justVisible)
 {
     var primary = GetBoundariesOfDataCore(ptrChartArea.AxisX, ptrChartArea.AxisY, justVisible);
     var secondary = GetBoundariesOfDataCore(ptrChartArea.AxisX2, ptrChartArea.AxisY2, justVisible);
     PrimaryExtents = primary;
     SecondaryExtents = secondary;
 }
        public void InitializeChart()
        {
            this.components = new System.ComponentModel.Container();
            ChartArea chartArea1 = new ChartArea();
            Legend legend1 = new Legend() { BackColor = Color.Green, ForeColor = Color.Black, Title = "Salary" };
            Legend legend2 = new Legend() { BackColor = Color.Green, ForeColor = Color.Black, Title = "Salary" };
            barChart = new Chart();

            ((ISupportInitialize)(barChart)).BeginInit();

            SuspendLayout();
            //====Bar Chart
            chartArea1 = new ChartArea();
            chartArea1.Name = "BarChartArea";
            barChart.ChartAreas.Add(chartArea1);
            barChart.Dock = System.Windows.Forms.DockStyle.Fill;
            legend2.Name = "Legend3";
            barChart.Legends.Add(legend2);

            AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            //this.ClientSize = new System.Drawing.Size(284, 262);
            this.Load += new EventHandler(Form3_Load);
            ((ISupportInitialize)(this.barChart)).EndInit();
            this.ResumeLayout(false);
        }
예제 #11
0
        private void GenerateChart(SeriesCreator creator, string filePath)
        {
            IEnumerable<Series> serieses = creator.ToSerieses();

            using (var ch = new Chart())
            {
                ch.Size = new Size(1300, 800);
                ch.AntiAliasing = AntiAliasingStyles.All;
                ch.TextAntiAliasingQuality = TextAntiAliasingQuality.High;
                ch.Palette = ChartColorPalette.BrightPastel;

                ChartArea area = new ChartArea();
                area.AxisX.MajorGrid.Enabled = false;
                area.AxisY.MajorGrid.Enabled = false;
                area.AxisY.Minimum = creator.GetMinimumY();
                ch.ChartAreas.Add(area);

                Legend legend = new Legend();
                legend.Font = new Font("Microsoft Sans Serif", 12, FontStyle.Regular);
                ch.Legends.Add(legend);

                foreach (var s in serieses)
                {
                    ch.Series.Add(s);
                }

                string savePath = filePath + ".png";
                ch.SaveImage(savePath, ChartImageFormat.Png);
            }
        }
        public MultipleGraphics(ResultResearch r)
        {
            InitializeComponent();

            this.research = r;

            SortedDictionary<double, SortedDictionary<double, SubGraphsInfo>>.KeyCollection keys =
                this.research.Result.Keys;
            foreach (double k in keys)
            {
                Chart graphic = new Chart();
                graphic.Titles.Add("Network Size = " + this.research.Size.ToString());

                ChartArea chArea = new ChartArea("Current Level = " + k.ToString());
                chArea.AxisX.Title = "Mu";
                chArea.AxisY.Title = "Order";
                graphic.ChartAreas.Add(chArea);

                Series s = new Series("Current Level = " + k.ToString());
                s.ChartType = SeriesChartType.Line;
                s.Color = Color.Red;
                foreach (KeyValuePair<double, SubGraphsInfo> v in this.research.Result[k])
                {
                    s.Points.Add(new DataPoint(v.Key, v.Value.avgOrder));
                }
                graphic.Series.Add(s);

                graphic.Dock = DockStyle.Fill;
                TabPage page = new TabPage("Current Level = " + k.ToString());
                page.Controls.Add(graphic);
                this.graphicsTab.TabPages.Add(page);

                this.graphics.Add(graphic);
            }
        }
        public PrettyChart()
        {
            var title1 = new Title {Name = "Title1", Text = "<TITLE>"};
            Titles.Add(title1);

            var area = new ChartArea();
            area.AxisY.LabelStyle.Enabled = true;
            area.AxisY.Interval = 1.0;
            area.AxisX.LabelStyle.Enabled = true;
            area.Name = "ChartArea2";

            var legend1 = new Legend {Alignment = StringAlignment.Center, Docking = Docking.Top, Name = "Legend1"};
            Legends.Add(legend1);

            var series2 = new Series
                              {
                                  ChartArea = "ChartArea2",
                                  Color = Color.Blue,
                                  Legend = "Legend1",
                                  Name = "Series2",
                                  XValueType = ChartValueType.Int32
                              };

            ChartAreas.Add(area);
            Series.Add(series2);
            Dock = DockStyle.Fill;
            Location = new Point(0, 0);

            Titles[0].Text = "Age Distribution";
            Series[0].Name = "Number of People";
        }
예제 #14
0
        private Chart AddChartToForm(ChartData chartData)
        {
            var chart = new Chart { Dock = DockStyle.Fill, BackColor = Color.White };
            var title = new Title(chartData.ToString()) { Font = new Font("Verdana", 14.0f) };
            chart.Titles.Add(title);
            chart.Legends.Add(new Legend("Legend"));

            var area = new ChartArea("Main")
            {
                BackColor = Color.White,
                BackSecondaryColor = Color.LightSteelBlue,
                BackGradientStyle = GradientStyle.DiagonalRight,
                AxisY = { Maximum = 100 },
                AxisY2 = { Maximum = 20 }
            };

            area.AxisX.MajorGrid.LineColor = Color.LightSlateGray;
            area.AxisX.TitleFont = new Font("Verdana", 10.0f, FontStyle.Bold);
            area.AxisX.Title = "Date";
            area.AxisY.MajorGrid.LineColor = Color.LightSlateGray;
            area.AxisY.TitleFont = new Font("Verdana", 10.0f, FontStyle.Bold);
            area.AxisY.Title = "Weight";
            area.AxisY2.Title = "Reps";

            chart.ChartAreas.Add(area);

            var seriesColumns1 = new Series("Weights") { ChartType = SeriesChartType.Line, IsValueShownAsLabel = true };
            chart.Series.Add(seriesColumns1);
            var seriesColumns2 = new Series("Reps") { ChartType = SeriesChartType.Line };
            chart.Series.Add(seriesColumns2);

            Controls.Add(chart);

            return chart;
        }
예제 #15
0
        private void CreateChart()
        {
            // Создаём новую область для построения графика
            ChartArea area = new ChartArea
            {
                // Даём ей имя (чтобы потом добавлять графики)
                Name = "myGraph",
                AxisX =
                {
                    // Задаём левую и правую границы оси X
                    Minimum = 0,
                    Maximum = 10,
                    // Определяем шаг сетки
                    MajorGrid = {Interval = 1}
                }
            };

            // Добавляем область в диаграмму
            chart1.ChartAreas.Add(area);
            // Создаём объект для первого графика
            Series series1 = new Series
            {
                ChartArea = "myGraph",
                ChartType = SeriesChartType.Column,
                BorderWidth = 3,
                LegendText = "гистограмма"
            };
            chart1.Series.Add(series1);
        }
예제 #16
0
 public LineChartForm()
 {
     this.chart = new Chart(){Dock = DockStyle.Fill};
     this.area = new ChartArea() {Name = "Area1"};
     this.series = new Series();
     series.ChartType = SeriesChartType.Line;
     series.ChartArea = "Area1";
 }
예제 #17
0
        public override void graphView()
        {
            //MessageBox.Show("ypDayo");

            base.chartClear();
            base.graphView();

            

            ChartArea area = new ChartArea("area1");
            
            area.AxisX.Title = "月";
            area.AxisX.TitleFont = new Font("@MS ゴシック", 10, FontStyle.Bold);

            area.AxisY.Title = "金額";
            area.AxisY.TitleFont = new Font("@MS ゴシック", 10, FontStyle.Bold);
            area.AxisY.TitleAlignment = StringAlignment.Far;
            area.AxisY.TextOrientation = TextOrientation.Stacked;

            graph.Titles.Add(date.Year + "年");

            area.AxisX.MajorGrid.Enabled = false;
            area.AxisY.MajorGrid.Enabled = false;
            graph.ChartAreas.Add(area);

            Legend leg = new Legend(date.Year.ToString());
            leg.Alignment = StringAlignment.Near;
            leg.DockedToChartArea = "area1";
            
            //一つ目
            setSeries(date.Year);
            //比較用
            dateCombo.Text = string.IsNullOrWhiteSpace(dateCombo.Text) ? "未選択" : dateCombo.Text;
            if (dateCombo.Text != "未選択")
            {
                
                
                string select = dateCombo.SelectedItem.ToString();

                setSeries(int.Parse(select));
                dateCombo.SelectedIndexChanged -= DateCombo_SelectedIndexChanged;
                dateCombo.Text = select;
                
            }
            


            area.AxisY.Maximum = double.NaN;

            area.AxisX.Maximum = 12;
            area.AxisX.Minimum = 0;
            area.AxisX.Interval = 1;

            double max = area.AxisY.Maximum;

            area.AxisY.Interval = max / 10;
        }
 private void initialize()
 {
     chart = (Chart)Host.Child;
     var chartArea = new ChartArea();
     chart.ChartAreas.Add(chartArea);
     chart.Series.Add(new Series() { Color = System.Drawing.Color.Red, ChartType = SeriesChartType.Line });
     chart.Series.Add(new Series() { Color = System.Drawing.Color.Blue, ChartType = SeriesChartType.Line });
     chart.Series.Add(new Series() { Color = System.Drawing.Color.Green, ChartType = SeriesChartType.Line });
 }
예제 #19
0
파일: Form1.cs 프로젝트: Ryoko/KalmanFilter
 public void AddChart(string name, double[] val, Color color, ChartArea area)
 {
     var ser = new Series(name) {ChartArea  = area.Name, ChartType = SeriesChartType.Line, Color = color };
     for (int i = 0; i < val.Length; i++)
     {
         ser.Points.AddXY(i, val[i]);
     }
     chart1.Series.Add(ser);
 }
예제 #20
0
파일: Program.cs 프로젝트: Coderik/NGauge
        private static void CreatePlotAndSave(TestItem testItem)
        {
            // Create a Chart
            var chart = new Chart();

            // Chart title
            var chartTitle = new Title(testItem.Label);
            chart.Titles.Add(chartTitle);

            // Create Chart Area
            ChartArea chartArea = new ChartArea();
            chartArea.AxisX.Title = "Milestone title";
            chartArea.AxisY.Title = "ms";
            chartArea.AxisX.IsMarginVisible = false;

            for (int i = 0; i < testItem.MilestoneLabels.Length;i++)
            {
                chartArea.AxisX.CustomLabels.Add(i + 0.5, i + 1.5, testItem.MilestoneLabels[i]);
            }

            // Legend
            Legend legend = new Legend("default");
            legend.Docking = Docking.Bottom;
            chart.Legends.Add(legend);

            // Add Chart Area to the Chart
            chart.ChartAreas.Add(chartArea);

            foreach (var line in testItem.Lines)
            {
                Series series = new Series();
                series.Legend = "default";
                series.LegendText = line.Label;
                series.ChartType = SeriesChartType.Line;
                series.MarkerStyle = MarkerStyle.Circle;
                series.BorderWidth = 2;
                series.MarkerSize = 5;
                for (int i = 0; i < line.Points.Length; i++)
                {
                    series.Points.Add(line.Points[i].GetMinTime());
                }
                chart.Series.Add(series);
            }

            // Set chart control location
            chart.Location = new System.Drawing.Point(16, 48);

            // Set Chart control size
            chart.Size = new System.Drawing.Size(400, 300);
            var fileName = GenerateFileName(testItem);
            var file = new FileStream(fileName, FileMode.Create);
            chart.SaveImage(file, ChartImageFormat.Png);
            file.Close();

            Console.WriteLine(String.Format("Report: \"{0}\" created.", fileName));
        }
예제 #21
0
 public HistoryChart()
 {
     Lines = new List<HistoryChartValueLine>();
     area = new ChartArea()
     {
         AxisY = { Minimum = 0 },
         AxisX = { Minimum = 0 }
     };
     ChartAreas.Add(area);
 }
예제 #22
0
파일: Form1.cs 프로젝트: tobira-code/Qiita
        public Form1()
        {
            InitializeComponent();

            // clear
            chart1.Series.Clear();
            chart1.ChartAreas.Clear();
            chart1.Titles.Clear();

            // chartarea
            ChartArea area1 = new ChartArea("Area1");
            area1.AxisX.Title = "Title1-XAxis";
            area1.AxisY.Title = "Title1-YAxis";

            ChartArea area2 = new ChartArea("Area2");
            area2.AxisX.Title = "Title2-XAxis";
            area2.AxisY.Title = "Title2-YAxis";

            Title title = new Title("Title");
            Title title1 = new Title("Title1");
            Title title2 = new Title("Title2");
            title1.DockedToChartArea = "Area1"; // ChartAreaとの紐付
            title2.DockedToChartArea = "Area2"; // ChartAreaとの紐付

            // series
            Random rdm = new Random();
            Series seriesLine = new Series();
            seriesLine.ChartType = SeriesChartType.Line;
            seriesLine.LegendText = "Legend:Line";
            seriesLine.BorderWidth = 2;
            seriesLine.MarkerStyle = MarkerStyle.Circle;
            seriesLine.MarkerSize = 12;
            for (int i = 0; i < 10; i++)
            {
                seriesLine.Points.Add(new DataPoint(i, rdm.Next(0, 210)));
            }
            seriesLine.ChartArea = "Area1"; // ChartAreaとの紐付

            Series seriesColumn = new Series();
            seriesColumn.LegendText = "Legend:Column";
            seriesColumn.ChartType = SeriesChartType.Column;
            for (int i = 0; i < 10; i++)
            {
                seriesColumn.Points.Add(new DataPoint(i, rdm.Next(0, 210)));
            }
            seriesColumn.ChartArea = "Area2"; // ChartAreaとの紐付

            chart1.Titles.Add(title);
            chart1.Titles.Add(title1);
            chart1.Titles.Add(title2);
            chart1.ChartAreas.Add(area1);
            chart1.ChartAreas.Add(area2);
            chart1.Series.Add(seriesColumn);
            chart1.Series.Add(seriesLine);
        }
예제 #23
0
        public CDisplayGraph(double[] Values)
        {
            SimpleForm NewWindow = new SimpleForm();
            Series SeriesPos = new Series();
            SeriesPos.ShadowOffset = 1;

            for (int IdxValue = 0; IdxValue < Values.Length; IdxValue++)
            {
                SeriesPos.Points.AddY(Values[IdxValue]);
                SeriesPos.Points[IdxValue].Color = Color.Black;
            }

            ChartArea CurrentChartArea = new ChartArea();
            CurrentChartArea.BorderColor = Color.Black;

            NewWindow.chartForSimpleForm.ChartAreas.Add(CurrentChartArea);
            CurrentChartArea.Axes[0].MajorGrid.Enabled = false;
            CurrentChartArea.AxisX.LabelStyle.Format = "N2";

            NewWindow.chartForSimpleForm.TextAntiAliasingQuality = TextAntiAliasingQuality.High;
            CurrentChartArea.BackGradientStyle = GradientStyle.TopBottom;
            CurrentChartArea.BackSecondaryColor = Color.White;

            SeriesPos.ChartType = SeriesChartType.Column;
            NewWindow.chartForSimpleForm.Series.Add(SeriesPos);

            NewWindow.chartForSimpleForm.ChartAreas[0].CursorX.IsUserEnabled = true;
            NewWindow.chartForSimpleForm.ChartAreas[0].CursorX.IsUserSelectionEnabled = true;
            NewWindow.chartForSimpleForm.ChartAreas[0].AxisX.ScaleView.Zoomable = true;
            NewWindow.chartForSimpleForm.ChartAreas[0].AxisX.ScrollBar.IsPositionedInside = true;

              //  if (GlobalInfo.OptionsWindow.checkBoxDisplayHistoStats.Checked)
            {
                //StripLine AverageLine = new StripLine();
                //AverageLine.BackColor = Color.Black;
                //AverageLine.IntervalOffset = Pos.Mean();
                //AverageLine.StripWidth = double.Epsilon;
                //CurrentChartArea.AxisX.StripLines.Add(AverageLine);
                //AverageLine.Text = String.Format("{0:0.###}", AverageLine.IntervalOffset);

                //StripLine StdLine = new StripLine();
                //StdLine.BackColor = Color.FromArgb(64, Color.Black);
                //double Std = Pos.Std();
                //StdLine.IntervalOffset = AverageLine.IntervalOffset - 0.5 * Std;
                //StdLine.StripWidth = Std;
                //CurrentChartArea.AxisX.StripLines.Add(StdLine);
                //AverageLine.StripWidth = 0.0001;
            }

            NewWindow.Show();
            NewWindow.chartForSimpleForm.Update();
            NewWindow.chartForSimpleForm.Show();
            NewWindow.Controls.AddRange(new System.Windows.Forms.Control[] { NewWindow.chartForSimpleForm });
            NewWindow.Show();
        }
예제 #24
0
 private static void ApplyChartSettings(ChartArea area, string dateFormat, int i)
 {
     area.AxisX.MajorGrid.Interval = 15;
     area.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Minutes;
     area.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     area.AxisX.MajorTickMark.Interval = 15;
     area.AxisX.MajorTickMark.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Minutes;
     area.AxisX.LabelStyle.Interval = 0.5;
     area.AxisX.LabelStyle.Format = dateFormat;
     area.AxisX.LabelStyle.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours;
 }
예제 #25
0
        public void Run()
        {
            ChartArea NewArea = new ChartArea();
              //  this.Series = new SeriesCollection();

            this.Histogram = Input[0].CreateHistogram(1, false);

            RedrawPie();

            base.ChartAreas.Add(NewArea);
        }
        public PeopleTab()
        {
            InitializeComponent();

            _fateChart = new ShoChart();
            _personalityChart = new Chart();
            _personalityChartArea = new ChartArea();
            _personalitySeries = new Series();
            InitializeChart();
            InitializePersonalityChart();
        }
예제 #27
0
        void CreateChart(string chartName, string xaxis, string yaxis, Color primaryColor, int length)
        {
            Name = chartName;
            BackColor = Control.DefaultBackColor;
            Palette = ChartColorPalette.BrightPastel;
            //PaletteCustomColors =

            mainArea = new ChartArea();
            mainArea.Name = "mainArea";
            mainArea.BackColor = Control.DefaultBackColor;
            ChartAreas.Add(mainArea);

            mainSeries = new Series("mainSeries");
            mainSeries.XValueType = ChartValueType.Int32;
            mainSeries.ChartType = SeriesChartType.Area;
            mainSeries.ChartArea = "mainArea";
            mainSeries.MarkerStyle = MarkerStyle.Circle;
            mainSeries.MarkerSize = 0;
            mainSeries.BorderWidth = 2;
            //srs.Color = ;
            mainSeries.Color = Color.FromArgb((int)(primaryColor.A * .64d), primaryColor.R, primaryColor.G, primaryColor.B);
            mainSeries.MarkerColor = primaryColor;
            mainSeries.BorderColor = primaryColor;
            mainArea.AxisX = new Axis()
            {
                Maximum = length,
                Minimum = 0,
                LabelStyle = new LabelStyle()
                {
                    TruncatedLabels = true
                },
                IntervalOffsetType = DateTimeIntervalType.Number,
                IntervalType = DateTimeIntervalType.Number,
                IsMarksNextToAxis = true,
                IsStartedFromZero = true,
                TextOrientation = TextOrientation.Stacked,
                Name = xaxis
            };
            /*area.AxisY = new Axis()
            {
                MaximumAutoSize = float.NaN
            };*/
            mainArea.AxisY.Maximum = 2000;

            for (int i = 0; i < length; ++i)
                mainSeries.Points.AddXY(i, 0);

            Series.Add(mainSeries);
            //srs.AxisLabel = xaxis;
            //ChartArea area = new ChartArea("mainChart");

            //ChartAreas.Add(
        }
예제 #28
0
        private void BuildChartPie()
        {
            ChartArea chartArea1 = new ChartArea();
            chartArea1.Area3DStyle.IsClustered = true;
            chartArea1.Area3DStyle.IsRightAngleAxes = false;
            chartArea1.Area3DStyle.Perspective = 10;
            chartArea1.Area3DStyle.PointGapDepth = 0;
            chartArea1.Area3DStyle.Rotation = 0;
            chartArea1.Area3DStyle.WallWidth = 0;
            chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
            chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
            chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            chartArea1.BackColor = System.Drawing.Color.Transparent;
            chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
            chartArea1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            chartArea1.BorderWidth = 0;
            chartArea1.Name = "Default";
            chartArea1.ShadowColor = System.Drawing.Color.Transparent;
            this.chartPie.ChartAreas.Add(chartArea1);

            Legend legend1 = new Legend();
            legend1.Alignment = System.Drawing.StringAlignment.Center;
            legend1.BackColor = System.Drawing.Color.Transparent;
            legend1.Docking = Docking.Bottom;
            legend1.Enabled = true;
            legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
            legend1.IsTextAutoFit = true;
            legend1.Name = "Default";
            this.chartPie.Legends.Add(legend1);

            Title title1 = new Title();
            title1.Font = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
            title1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
            title1.Name = "Title";
            title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            title1.ShadowOffset = 3;
            title1.Text = "销量前十的产品统计饼图";
            this.chartPie.Titles.Add(title1);

            Series series1 = new Series();
            series1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
            series1.ChartArea = "Default";
            series1["PieLabelStyle"] = "Outside";
            series1["PieDrawingStyle"] = "Concave";
            series1.ChartType = SeriesChartType.Pie;
            series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
            series1.Legend = "Default";
            series1.Name = "Default";
            this.chartPie.Series.Add(series1);
        }
예제 #29
0
 private Chart InitChart()
 {
     var ch = new Chart();
     var chartArea = new ChartArea("Plots");
     chartArea.AxisY.IsStartedFromZero = false;
     chartArea.AxisY.MajorGrid.LineColor = Color.FromArgb(255, 185, 185, 185);
     chartArea.AxisY.MajorGrid.LineDashStyle = ChartDashStyle.Dash;
     chartArea.AxisX.MajorGrid.LineColor = Color.FromArgb(255, 185, 185, 185);
     chartArea.AxisX.MajorGrid.LineDashStyle = ChartDashStyle.Dash;
     ch.ChartAreas.Add(chartArea);
     return ch;
 }
예제 #30
0
        /// <summary>
        /// Creates Y axis for the specified series.
        /// </summary>
        /// <param name="chart">Chart control.</param>
        /// <param name="area">Original chart area.</param>
        /// <param name="series">Series.</param>
        /// <param name="axisOffset">New Y axis offset in relative coordinates.</param>
        /// <param name="labelsSize">Extar space for new Y axis labels in relative coordinates.</param>
        public void CreateYAxis(Chart chart, ChartArea area, Series series, float axisOffset, float labelsSize)
        {
            // Create new chart area for original series
            ChartArea areaSeries = chart.ChartAreas.Add("ChartArea_" + series.Name);
            areaSeries.BackColor = Color.Transparent;
            areaSeries.BorderColor = Color.Transparent;
            areaSeries.Position.FromRectangleF(area.Position.ToRectangleF());
            areaSeries.InnerPlotPosition.FromRectangleF(area.InnerPlotPosition.ToRectangleF());
            areaSeries.AxisX.MajorGrid.Enabled = false;
            areaSeries.AxisX.MajorTickMark.Enabled = false;
            areaSeries.AxisX.LabelStyle.Enabled = false;
            areaSeries.AxisY.MajorGrid.Enabled = false;
            areaSeries.AxisY.MajorTickMark.Enabled = false;
            areaSeries.AxisY.LabelStyle.Enabled = false;
            areaSeries.AxisY.IsStartedFromZero = area.AxisY.IsStartedFromZero;

            series.ChartArea = areaSeries.Name;

            // Create new chart area for axis
            ChartArea areaAxis = chart.ChartAreas.Add("AxisY_" + series.ChartArea);
            areaAxis.BackColor = Color.Transparent;
            areaAxis.BorderColor = Color.Transparent;
            areaAxis.Position.FromRectangleF(chart.ChartAreas[series.ChartArea].Position.ToRectangleF());
            areaAxis.InnerPlotPosition.FromRectangleF(chart.ChartAreas[series.ChartArea].InnerPlotPosition.ToRectangleF());

            // Create a copy of specified series
            Series seriesCopy = chart.Series.Add(series.Name + "_Copy");
            seriesCopy.ChartType = series.ChartType;
            foreach(DataPoint point in series.Points)
            {
                seriesCopy.Points.AddXY(point.XValue, point.YValues[0]);
            }

            // Hide copied series
            seriesCopy.IsVisibleInLegend = false;
            seriesCopy.Color = Color.Transparent;
            seriesCopy.BorderColor = Color.Transparent;
            seriesCopy.ChartArea = areaAxis.Name;

            // Disable drid lines & tickmarks
            areaAxis.AxisX.LineWidth = 0;
            areaAxis.AxisX.MajorGrid.Enabled = false;
            areaAxis.AxisX.MajorTickMark.Enabled = false;
            areaAxis.AxisX.LabelStyle.Enabled = false;
            areaAxis.AxisY.MajorGrid.Enabled = false;
            areaAxis.AxisY.IsStartedFromZero = area.AxisY.IsStartedFromZero;
            areaAxis.AxisY.LabelStyle.Font = area.AxisY.LabelStyle.Font;

            // Adjust area position
            areaAxis.Position.X -= axisOffset;
            areaAxis.InnerPlotPosition.X += labelsSize;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 400);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2600);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1700);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3000);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 200);
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1600);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2400);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2500);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2800);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1000);
     System.Windows.Forms.DataVisualization.Charting.Series    series3     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2100);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2100);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2500);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1500);
     this.label9        = new System.Windows.Forms.Label();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label3        = new System.Windows.Forms.Label();
     this.MajorInterval = new System.Windows.Forms.ComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.MinorInterval = new System.Windows.Forms.ComboBox();
     this.label1        = new System.Windows.Forms.Label();
     this.Base          = new System.Windows.Forms.ComboBox();
     this.Logaritmic    = new System.Windows.Forms.CheckBox();
     this.Chart1        = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 14);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to use a logarithmic scale and a logarithmic base.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label3,
         this.MajorInterval,
         this.label2,
         this.MinorInterval,
         this.label1,
         this.Base,
         this.Logaritmic
     });
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(4, 64);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(160, 23);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "Ma&jor Interval:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // MajorInterval
     //
     this.MajorInterval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.MajorInterval.Items.AddRange(new object[] {
         "1",
         "2",
         "3"
     });
     this.MajorInterval.Location              = new System.Drawing.Point(168, 64);
     this.MajorInterval.Name                  = "MajorInterval";
     this.MajorInterval.Size                  = new System.Drawing.Size(112, 22);
     this.MajorInterval.TabIndex              = 4;
     this.MajorInterval.SelectedIndexChanged += new System.EventHandler(this.MajorInterval_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(4, 96);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 23);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Mi&nor Interval:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // MinorInterval
     //
     this.MinorInterval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.MinorInterval.Items.AddRange(new object[] {
         "1",
         "2",
         "5"
     });
     this.MinorInterval.Location              = new System.Drawing.Point(168, 96);
     this.MinorInterval.Name                  = "MinorInterval";
     this.MinorInterval.Size                  = new System.Drawing.Size(112, 22);
     this.MinorInterval.TabIndex              = 6;
     this.MinorInterval.SelectedIndexChanged += new System.EventHandler(this.MinorInterval_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 32);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(156, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Logarithmic &Base:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Base
     //
     this.Base.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Base.Items.AddRange(new object[] {
         "10",
         "2",
         "e"
     });
     this.Base.Location              = new System.Drawing.Point(168, 32);
     this.Base.Name                  = "Base";
     this.Base.Size                  = new System.Drawing.Size(112, 22);
     this.Base.TabIndex              = 2;
     this.Base.SelectedIndexChanged += new System.EventHandler(this.Base_SelectedIndexChanged);
     //
     // Logaritmic
     //
     this.Logaritmic.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.Logaritmic.Location        = new System.Drawing.Point(12, 8);
     this.Logaritmic.Name            = "Logaritmic";
     this.Logaritmic.Size            = new System.Drawing.Size(168, 16);
     this.Logaritmic.TabIndex        = 0;
     this.Logaritmic.Text            = "&Logarithmic:";
     this.Logaritmic.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.Logaritmic.CheckedChanged += new System.EventHandler(this.Logaritmic_CheckedChanged);
     //
     // Chart1
     //
     this.Chart1.BackColor                    = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackSecondaryColor           = System.Drawing.Color.White;
     this.Chart1.BackGradientStyle            = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor              = System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     this.Chart1.BorderlineDashStyle          = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth              = 2;
     this.Chart1.BorderSkin.SkinStyle         = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.IsClustered       = true;
     chartArea1.Area3DStyle.Perspective       = 10;
     chartArea1.Area3DStyle.IsRightAngleAxes  = false;
     chartArea1.Area3DStyle.WallWidth         = 0;
     chartArea1.Area3DStyle.Inclination       = 15;
     chartArea1.Area3DStyle.Rotation          = 10;
     chartArea1.AxisX.ArrowStyle              = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea1.AxisX.IsLabelAutoFit          = false;
     chartArea1.AxisX.LabelStyle.Font         = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format       = "N0";
     chartArea1.AxisX.LineColor               = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.MajorGrid.LineColor     = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.MinorGrid.LineColor     = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.TitleFont               = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX2.Enabled                = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisX2.MajorGrid.Enabled      = false;
     chartArea1.AxisY.ArrowStyle              = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea1.AxisY.IsLabelAutoFit          = false;
     chartArea1.AxisY.LabelStyle.Font         = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format       = "N0";
     chartArea1.AxisY.LineColor               = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MajorGrid.LineColor     = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MajorTickMark.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MinorGrid.Enabled       = true;
     chartArea1.AxisY.MinorGrid.LineColor     = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MinorTickMark.Enabled   = true;
     chartArea1.AxisY.MinorTickMark.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY2.Enabled                = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY2.MajorGrid.Enabled      = false;
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.IsTextAutoFit = false;
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 60);
     this.Chart1.Name     = "Chart1";
     this.Chart1.Palette  = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel;
     series1.BorderColor  = System.Drawing.Color.FromArgb(((System.Byte)(180)), ((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     series1.Name         = "Series1";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series2.Name = "Series2";
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series3.Name = "Series3";
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     series3.Points.Add(dataPoint13);
     series3.Points.Add(dataPoint14);
     series3.Points.Add(dataPoint15);
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     this.Chart1.Click   += new System.EventHandler(this.Chart1_Click);
     //
     // LogarithmicScale
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.Chart1,
         this.panel1,
         this.label9
     });
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "LogarithmicScale";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.LogarithmicScale_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #32
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     System.Windows.Forms.DataVisualization.Charting.LineAnnotation lineAnnotation2 = new System.Windows.Forms.DataVisualization.Charting.LineAnnotation();
     System.Windows.Forms.DataVisualization.Charting.ChartArea      chartArea2      = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend         legend2         = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series         series2         = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title          title2          = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.loadPricesButton   = new System.Windows.Forms.Button();
     this.notifyIcon1        = new System.Windows.Forms.NotifyIcon(this.components);
     this.showValues         = new System.Windows.Forms.CheckBox();
     this.tabControl1        = new System.Windows.Forms.TabControl();
     this.tabPage1           = new System.Windows.Forms.TabPage();
     this.chart              = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.tabPage2           = new System.Windows.Forms.TabPage();
     this.label2             = new System.Windows.Forms.Label();
     this.label1             = new System.Windows.Forms.Label();
     this.minSavePercTextBox = new System.Windows.Forms.TextBox();
     this.tabPage3           = new System.Windows.Forms.TabPage();
     this.configurationTab   = new System.Windows.Forms.TextBox();
     this.tabPage4           = new System.Windows.Forms.TabPage();
     this.statsBox           = new System.Windows.Forms.RichTextBox();
     this.statusLabel        = new System.Windows.Forms.Label();
     this.button3            = new System.Windows.Forms.Button();
     this.button2            = new System.Windows.Forms.Button();
     this.buttonExecute      = new System.Windows.Forms.Button();
     this.loadTAButton       = new System.Windows.Forms.Button();
     this.timeFast           = new System.Windows.Forms.Timer(this.components);
     this.debugView          = new System.Windows.Forms.ListBox();
     this.funcListLabel      = new System.Windows.Forms.TextBox();
     this.nodelayCheckbox    = new System.Windows.Forms.CheckBox();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
     this.tabPage2.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.SuspendLayout();
     //
     // loadPricesButton
     //
     this.loadPricesButton.AllowDrop             = true;
     this.loadPricesButton.AutoSizeMode          = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.loadPricesButton.BackColor             = System.Drawing.SystemColors.Menu;
     this.loadPricesButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.loadPricesButton.Cursor = System.Windows.Forms.Cursors.Arrow;
     this.loadPricesButton.FlatAppearance.BorderColor        = System.Drawing.Color.DimGray;
     this.loadPricesButton.FlatAppearance.BorderSize         = 2;
     this.loadPricesButton.FlatAppearance.CheckedBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.loadPricesButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Cyan;
     this.loadPricesButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.loadPricesButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.loadPricesButton.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.loadPricesButton.ForeColor = System.Drawing.Color.Navy;
     this.loadPricesButton.Location  = new System.Drawing.Point(611, 29);
     this.loadPricesButton.Margin    = new System.Windows.Forms.Padding(7);
     this.loadPricesButton.Name      = "loadPricesButton";
     this.loadPricesButton.Size      = new System.Drawing.Size(103, 30);
     this.loadPricesButton.TabIndex  = 0;
     this.loadPricesButton.Text      = "load prices";
     this.loadPricesButton.UseVisualStyleBackColor = false;
     this.loadPricesButton.Click += new System.EventHandler(this.LoadPricesButtonClick);
     //
     // notifyIcon1
     //
     this.notifyIcon1.BalloonTipIcon    = System.Windows.Forms.ToolTipIcon.Info;
     this.notifyIcon1.BalloonTipText    = "ef vf df dd fg";
     this.notifyIcon1.BalloonTipTitle   = "d gfhth rhgh";
     this.notifyIcon1.Icon              = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text              = "notifyIcon1";
     this.notifyIcon1.Visible           = true;
     this.notifyIcon1.MouseClick       += new System.Windows.Forms.MouseEventHandler(this.TrayClick);
     this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon1MouseDoubleClick);
     //
     // showValues
     //
     this.showValues.AutoSize              = true;
     this.showValues.BackColor             = System.Drawing.Color.RoyalBlue;
     this.showValues.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.showValues.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.showValues.ForeColor = System.Drawing.Color.OldLace;
     this.showValues.Location  = new System.Drawing.Point(143, 24);
     this.showValues.Margin    = new System.Windows.Forms.Padding(0);
     this.showValues.Name      = "showValues";
     this.showValues.Size      = new System.Drawing.Size(83, 20);
     this.showValues.TabIndex  = 1;
     this.showValues.Text      = "showValues";
     this.showValues.UseVisualStyleBackColor = false;
     this.showValues.CheckedChanged         += new System.EventHandler(this.CheckBox1CheckedChanged);
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)));
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Controls.Add(this.tabPage4);
     this.tabControl1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.tabControl1.Location      = new System.Drawing.Point(1, 0);
     this.tabControl1.Margin        = new System.Windows.Forms.Padding(9);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.Padding       = new System.Drawing.Point(9, 3);
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(609, 464);
     this.tabControl1.TabIndex      = 2;
     //
     // tabPage1
     //
     this.tabPage1.BackColor             = System.Drawing.SystemColors.Control;
     this.tabPage1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.tabPage1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabPage1.Controls.Add(this.chart);
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(601, 435);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Preload";
     //
     // chart
     //
     lineAnnotation2.Name = "LineAnnotation1";
     this.chart.Annotations.Add(lineAnnotation2);
     this.chart.AntiAliasing                         = System.Windows.Forms.DataVisualization.Charting.AntiAliasingStyles.Graphics;
     this.chart.BackColor                            = System.Drawing.Color.Ivory;
     this.chart.BackGradientStyle                    = System.Windows.Forms.DataVisualization.Charting.GradientStyle.Center;
     this.chart.BackgroundImageLayout                = System.Windows.Forms.ImageLayout.Center;
     this.chart.BackImageAlignment                   = System.Windows.Forms.DataVisualization.Charting.ChartImageAlignmentStyle.Bottom;
     this.chart.BackImageTransparentColor            = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.chart.BackSecondaryColor                   = System.Drawing.Color.Transparent;
     this.chart.BorderlineColor                      = System.Drawing.Color.OrangeRed;
     this.chart.BorderlineDashStyle                  = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     this.chart.BorderlineWidth                      = 4;
     this.chart.BorderSkin.BackColor                 = System.Drawing.Color.Maroon;
     this.chart.BorderSkin.BackGradientStyle         = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart.BorderSkin.BackHatchStyle            = System.Windows.Forms.DataVisualization.Charting.ChartHatchStyle.Cross;
     this.chart.BorderSkin.BackImageAlignment        = System.Windows.Forms.DataVisualization.Charting.ChartImageAlignmentStyle.Center;
     this.chart.BorderSkin.BackImageTransparentColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.chart.BorderSkin.BackSecondaryColor        = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.chart.BorderSkin.BorderColor               = System.Drawing.Color.MediumBlue;
     this.chart.BorderSkin.BorderDashStyle           = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.DashDot;
     this.chart.BorderSkin.BorderWidth               = 3;
     this.chart.BorderSkin.PageColor                 = System.Drawing.Color.Turquoise;
     this.chart.BorderSkin.SkinStyle                 = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea2.Area3DStyle.IsRightAngleAxes         = false;
     chartArea2.Area3DStyle.LightStyle               = System.Windows.Forms.DataVisualization.Charting.LightStyle.Realistic;
     chartArea2.Area3DStyle.WallWidth                = 0;
     chartArea2.AxisX.ArrowStyle                     = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Lines;
     chartArea2.AxisX.LineDashStyle                  = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     chartArea2.AxisX.ScaleView.MinSizeType          = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea2.BackGradientStyle                    = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea2.BackHatchStyle                       = System.Windows.Forms.DataVisualization.Charting.ChartHatchStyle.DarkDownwardDiagonal;
     chartArea2.BackImageAlignment                   = System.Windows.Forms.DataVisualization.Charting.ChartImageAlignmentStyle.Top;
     chartArea2.Name = "ChartArea1";
     this.chart.ChartAreas.Add(chartArea2);
     this.chart.Cursor          = System.Windows.Forms.Cursors.Default;
     this.chart.ImeMode         = System.Windows.Forms.ImeMode.NoControl;
     legend2.BackImageWrapMode  = System.Windows.Forms.DataVisualization.Charting.ChartImageWrapMode.Unscaled;
     legend2.BackSecondaryColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     legend2.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     legend2.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     legend2.BorderWidth        = 5;
     legend2.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     legend2.IsTextAutoFit = false;
     legend2.Name          = "xxx";
     legend2.TitleFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chart.Legends.Add(legend2);
     this.chart.Location     = new System.Drawing.Point(-2, 6);
     this.chart.Margin       = new System.Windows.Forms.Padding(0);
     this.chart.Name         = "chart";
     this.chart.Palette      = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Bright;
     series2.ChartArea       = "ChartArea1";
     series2.ChartType       = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series2.Legend          = "xxx";
     series2.Name            = "Series1";
     series2.YValuesPerPoint = 6;
     this.chart.Series.Add(series2);
     this.chart.Size     = new System.Drawing.Size(594, 432);
     this.chart.TabIndex = 5;
     this.chart.Text     = "chart1";
     this.chart.TextAntiAliasingQuality = System.Windows.Forms.DataVisualization.Charting.TextAntiAliasingQuality.SystemDefault;
     title2.Name = "Title1";
     this.chart.Titles.Add(title2);
     this.chart.PostPaint += new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(this.Chart_PostPaint);
     this.chart.Click     += new System.EventHandler(this.ChartClick);
     //
     // tabPage2
     //
     this.tabPage2.BackColor             = System.Drawing.SystemColors.ButtonShadow;
     this.tabPage2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.tabPage2.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabPage2.Controls.Add(this.label2);
     this.tabPage2.Controls.Add(this.label1);
     this.tabPage2.Controls.Add(this.minSavePercTextBox);
     this.tabPage2.Controls.Add(this.showValues);
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(601, 435);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "options";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(26, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 17);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Show input values";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(1, 56);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(139, 17);
     this.label1.TabIndex = 3;
     this.label1.Text     = "MinSaveHitPercent (%)";
     //
     // minSavePercTextBox
     //
     this.minSavePercTextBox.BackColor    = System.Drawing.SystemColors.MenuHighlight;
     this.minSavePercTextBox.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.minSavePercTextBox.Cursor       = System.Windows.Forms.Cursors.UpArrow;
     this.minSavePercTextBox.ForeColor    = System.Drawing.SystemColors.Info;
     this.minSavePercTextBox.Location     = new System.Drawing.Point(143, 54);
     this.minSavePercTextBox.Name         = "minSavePercTextBox";
     this.minSavePercTextBox.Size         = new System.Drawing.Size(100, 20);
     this.minSavePercTextBox.TabIndex     = 2;
     this.minSavePercTextBox.Text         = "86";
     this.minSavePercTextBox.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // tabPage3
     //
     this.tabPage3.BackColor       = System.Drawing.Color.Maroon;
     this.tabPage3.BackgroundImage = global::FinancePermutator.Properties.Resources._86015670;
     this.tabPage3.Controls.Add(this.configurationTab);
     this.tabPage3.Location = new System.Drawing.Point(4, 25);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage3.Size     = new System.Drawing.Size(601, 435);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "configuration";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // configurationTab
     //
     this.configurationTab.AcceptsReturn  = true;
     this.configurationTab.AcceptsTab     = true;
     this.configurationTab.AccessibleRole = System.Windows.Forms.AccessibleRole.Table;
     this.configurationTab.BackColor      = System.Drawing.Color.LightSteelBlue;
     this.configurationTab.BorderStyle    = System.Windows.Forms.BorderStyle.FixedSingle;
     this.configurationTab.Font           = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.configurationTab.ForeColor      = System.Drawing.Color.DarkSlateBlue;
     this.configurationTab.ImeMode        = System.Windows.Forms.ImeMode.NoControl;
     this.configurationTab.Location       = new System.Drawing.Point(0, 0);
     this.configurationTab.Margin         = new System.Windows.Forms.Padding(0);
     this.configurationTab.Multiline      = true;
     this.configurationTab.Name           = "configurationTab";
     this.configurationTab.ScrollBars     = System.Windows.Forms.ScrollBars.Vertical;
     this.configurationTab.Size           = new System.Drawing.Size(598, 432);
     this.configurationTab.TabIndex       = 0;
     this.configurationTab.Text           = resources.GetString("configurationTab.Text");
     //
     // tabPage4
     //
     this.tabPage4.BackColor             = System.Drawing.Color.CornflowerBlue;
     this.tabPage4.BackgroundImage       = global::FinancePermutator.Properties.Resources.nuke;
     this.tabPage4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.tabPage4.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabPage4.Controls.Add(this.statsBox);
     this.tabPage4.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabPage4.ForeColor   = System.Drawing.SystemColors.Info;
     this.tabPage4.Location    = new System.Drawing.Point(4, 25);
     this.tabPage4.Name        = "tabPage4";
     this.tabPage4.Padding     = new System.Windows.Forms.Padding(3);
     this.tabPage4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.tabPage4.Size        = new System.Drawing.Size(601, 435);
     this.tabPage4.TabIndex    = 3;
     this.tabPage4.Text        = "stats";
     //
     // statsBox
     //
     this.statsBox.BackColor = System.Drawing.SystemColors.GrayText;
     this.statsBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.statsBox.ForeColor = System.Drawing.Color.Azure;
     this.statsBox.Location  = new System.Drawing.Point(4, 3);
     this.statsBox.Name      = "statsBox";
     this.statsBox.Size      = new System.Drawing.Size(587, 424);
     this.statsBox.TabIndex  = 0;
     this.statsBox.Text      = "Networks done: 2\nSuccess: 0\nNumber of broken data: 3\nBad networks: 1";
     //
     // statusLabel
     //
     this.statusLabel.BackColor   = System.Drawing.Color.LightGoldenrodYellow;
     this.statusLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.statusLabel.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.statusLabel.Font        = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.statusLabel.ForeColor   = System.Drawing.Color.MidnightBlue;
     this.statusLabel.Location    = new System.Drawing.Point(10, 473);
     this.statusLabel.MaximumSize = new System.Drawing.Size(0, 19);
     this.statusLabel.MinimumSize = new System.Drawing.Size(800, 0);
     this.statusLabel.Name        = "statusLabel";
     this.statusLabel.Size        = new System.Drawing.Size(800, 19);
     this.statusLabel.TabIndex    = 6;
     this.statusLabel.Text        = "idle";
     //
     // button3
     //
     this.button3.BackColor    = System.Drawing.SystemColors.ButtonFace;
     this.button3.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.button3.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button3.FlatAppearance.BorderColor        = System.Drawing.Color.DimGray;
     this.button3.FlatAppearance.BorderSize         = 2;
     this.button3.FlatAppearance.CheckedBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.button3.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Cyan;
     this.button3.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.button3.ForeColor = System.Drawing.Color.Navy;
     this.button3.Location  = new System.Drawing.Point(611, 171);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(103, 35);
     this.button3.TabIndex  = 4;
     this.button3.Text      = "clear log";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.ExecuteButtonClick);
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.button2.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.button2.FlatAppearance.BorderColor        = System.Drawing.Color.DimGray;
     this.button2.FlatAppearance.BorderSize         = 2;
     this.button2.FlatAppearance.CheckedBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.button2.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Cyan;
     this.button2.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.button2.ForeColor = System.Drawing.Color.Navy;
     this.button2.Location  = new System.Drawing.Point(611, 136);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(103, 29);
     this.button2.TabIndex  = 3;
     this.button2.Text      = "clear";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.CreateNetworkButtonClick);
     //
     // buttonExecute
     //
     this.buttonExecute.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.buttonExecute.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.buttonExecute.Enabled   = false;
     this.buttonExecute.FlatAppearance.BorderColor        = System.Drawing.Color.DimGray;
     this.buttonExecute.FlatAppearance.BorderSize         = 2;
     this.buttonExecute.FlatAppearance.CheckedBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.buttonExecute.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Cyan;
     this.buttonExecute.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.buttonExecute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonExecute.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.buttonExecute.ForeColor = System.Drawing.Color.Navy;
     this.buttonExecute.Location  = new System.Drawing.Point(611, 103);
     this.buttonExecute.Name      = "buttonExecute";
     this.buttonExecute.Size      = new System.Drawing.Size(103, 28);
     this.buttonExecute.TabIndex  = 2;
     this.buttonExecute.Text      = "execute";
     this.buttonExecute.UseVisualStyleBackColor = false;
     this.buttonExecute.Click += new System.EventHandler(this.GenerateTrainButtonClick);
     //
     // loadTAButton
     //
     this.loadTAButton.AllowDrop    = true;
     this.loadTAButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.loadTAButton.BackColor    = System.Drawing.SystemColors.Control;
     this.loadTAButton.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.loadTAButton.FlatAppearance.BorderColor        = System.Drawing.Color.DimGray;
     this.loadTAButton.FlatAppearance.BorderSize         = 2;
     this.loadTAButton.FlatAppearance.CheckedBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.loadTAButton.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Cyan;
     this.loadTAButton.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.loadTAButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.loadTAButton.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.loadTAButton.ForeColor = System.Drawing.Color.Navy;
     this.loadTAButton.Location  = new System.Drawing.Point(611, 67);
     this.loadTAButton.Margin    = new System.Windows.Forms.Padding(7);
     this.loadTAButton.Name      = "loadTAButton";
     this.loadTAButton.Size      = new System.Drawing.Size(103, 30);
     this.loadTAButton.TabIndex  = 1;
     this.loadTAButton.Text      = "load talib";
     this.loadTAButton.UseVisualStyleBackColor = false;
     this.loadTAButton.Click += new System.EventHandler(this.LoadTaLib);
     //
     // timeFast
     //
     this.timeFast.Enabled  = true;
     this.timeFast.Interval = 750;
     this.timeFast.Tick    += new System.EventHandler(this.TimeFastTick);
     //
     // debugView
     //
     this.debugView.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.debugView.BorderStyle         = System.Windows.Forms.BorderStyle.FixedSingle;
     this.debugView.DrawMode            = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.debugView.Font                = new System.Drawing.Font("DejaVu Sans Mono", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.debugView.ForeColor           = System.Drawing.Color.DarkOliveGreen;
     this.debugView.HorizontalScrollbar = true;
     this.debugView.ItemHeight          = 11;
     this.debugView.Items.AddRange(new object[] {
         "Functions:",
         " Atan ",
         "  arg 0 startIdx: 0 ",
         "  arg 1 endIdx: 7 ",
         "  arg 2 inReal: System.Double[] %Close% 8",
         "  arg 3 outBegIdx: 0 ",
         "  arg 4 outNBElement: 0 ",
         "  arg 5 outReal: System.Double[] ",
         " Tan ",
         "  arg 0 startIdx: 0 ",
         "  arg 1 endIdx: 7 ",
         "  arg 2 inReal: System.Double[] %Open% 8",
         "  arg 3 outBegIdx: 0 ",
         "  arg 4 outNBElement: 0 ",
         "  arg 5 outReal: System.Double[] ",
         "",
         "InputDimension: 13"
     });
     this.debugView.Location            = new System.Drawing.Point(717, 22);
     this.debugView.Margin              = new System.Windows.Forms.Padding(0);
     this.debugView.Name                = "debugView";
     this.debugView.ScrollAlwaysVisible = true;
     this.debugView.Size                = new System.Drawing.Size(695, 431);
     this.debugView.TabIndex            = 3;
     this.debugView.DrawItem           += new System.Windows.Forms.DrawItemEventHandler(this.DebugView_Draw);
     //
     // funcListLabel
     //
     this.funcListLabel.BackColor   = System.Drawing.SystemColors.ButtonFace;
     this.funcListLabel.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.funcListLabel.Cursor      = System.Windows.Forms.Cursors.Default;
     this.funcListLabel.Font        = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.funcListLabel.ForeColor   = System.Drawing.Color.Blue;
     this.funcListLabel.Location    = new System.Drawing.Point(611, 473);
     this.funcListLabel.Margin      = new System.Windows.Forms.Padding(0);
     this.funcListLabel.MaximumSize = new System.Drawing.Size(800, 999);
     this.funcListLabel.MinimumSize = new System.Drawing.Size(800, 12);
     this.funcListLabel.Name        = "funcListLabel";
     this.funcListLabel.Size        = new System.Drawing.Size(800, 15);
     this.funcListLabel.TabIndex    = 5;
     this.funcListLabel.Text        = "conmtraimer";
     this.funcListLabel.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     this.funcListLabel.WordWrap    = false;
     //
     // nodelayCheckbox
     //
     this.nodelayCheckbox.AutoSize = true;
     this.nodelayCheckbox.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.nodelayCheckbox.Location = new System.Drawing.Point(621, 212);
     this.nodelayCheckbox.Name     = "nodelayCheckbox";
     this.nodelayCheckbox.Size     = new System.Drawing.Size(68, 20);
     this.nodelayCheckbox.TabIndex = 6;
     this.nodelayCheckbox.Text     = "no delay";
     this.nodelayCheckbox.UseVisualStyleBackColor = true;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.BackColor           = System.Drawing.SystemColors.Menu;
     this.BackgroundImage     = global::FinancePermutator.Properties.Resources.nicebg;
     this.ClientSize          = new System.Drawing.Size(1421, 500);
     this.Controls.Add(this.statusLabel);
     this.Controls.Add(this.nodelayCheckbox);
     this.Controls.Add(this.funcListLabel);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.debugView);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.buttonExecute);
     this.Controls.Add(this.loadPricesButton);
     this.Controls.Add(this.loadTAButton);
     this.DoubleBuffered  = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name            = "Form1";
     this.ShowIcon        = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Form1";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.Paint          += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.Resize         += new System.EventHandler(this.Form1Resize);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     this.tabPage4.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series2    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1                = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment    = new System.Windows.Forms.Label();
     this.panel1                = new System.Windows.Forms.Panel();
     this.checkBoxShow3D        = new System.Windows.Forms.CheckBox();
     this.comboMarkerSize       = new System.Windows.Forms.ComboBox();
     this.label3                = new System.Windows.Forms.Label();
     this.comboBoxMarkerShape   = new System.Windows.Forms.ComboBox();
     this.label2                = new System.Windows.Forms.Label();
     this.comboBoxLabelPosition = new System.Windows.Forms.ComboBox();
     this.label1                = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(16, 56);
     this.chart1.Name     = "chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Font         = new System.Drawing.Font("Trebuchet MS", 9F);
     series1.Legend       = "Default";
     series1.MarkerSize   = 10;
     series1.Name         = "Series1";
     series1.ShadowOffset = 1;
     series2.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea    = "Default";
     series2.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series2.Font         = new System.Drawing.Font("Trebuchet MS", 9F);
     series2.Legend       = "Default";
     series2.MarkerSize   = 10;
     series2.Name         = "Series2";
     series2.ShadowOffset = 1;
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 45);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample displays a Point chart. Try setting different marker sizes, shapes an" +
                                        "d point label positions.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBoxShow3D);
     this.panel1.Controls.Add(this.comboMarkerSize);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.comboBoxMarkerShape);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBoxLabelPosition);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(432, 64);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // checkBoxShow3D
     //
     this.checkBoxShow3D.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShow3D.Location        = new System.Drawing.Point(13, 104);
     this.checkBoxShow3D.Name            = "checkBoxShow3D";
     this.checkBoxShow3D.Size            = new System.Drawing.Size(168, 24);
     this.checkBoxShow3D.TabIndex        = 6;
     this.checkBoxShow3D.Text            = "Display chart as 3&D:";
     this.checkBoxShow3D.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShow3D.CheckedChanged += new System.EventHandler(this.checkBoxShow3D_CheckedChanged);
     //
     // comboMarkerSize
     //
     this.comboMarkerSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboMarkerSize.Items.AddRange(new object[] {
         "5",
         "7",
         "10",
         "12",
         "18"
     });
     this.comboMarkerSize.Location              = new System.Drawing.Point(168, 72);
     this.comboMarkerSize.Name                  = "comboMarkerSize";
     this.comboMarkerSize.Size                  = new System.Drawing.Size(120, 22);
     this.comboMarkerSize.TabIndex              = 5;
     this.comboMarkerSize.SelectedIndexChanged += new System.EventHandler(this.comboMarkerSize_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(20, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(144, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Marker Si&ze:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxMarkerShape
     //
     this.comboBoxMarkerShape.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMarkerShape.Items.AddRange(new object[] {
         "Circle & Square",
         "Diamond & Triangle",
         "Cross & Star"
     });
     this.comboBoxMarkerShape.Location              = new System.Drawing.Point(168, 40);
     this.comboBoxMarkerShape.Name                  = "comboBoxMarkerShape";
     this.comboBoxMarkerShape.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxMarkerShape.TabIndex              = 3;
     this.comboBoxMarkerShape.SelectedIndexChanged += new System.EventHandler(this.comboMarkerSize_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(20, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(144, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Marker &Shape:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxLabelPosition
     //
     this.comboBoxLabelPosition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxLabelPosition.Items.AddRange(new object[] {
         "None",
         "TopLeft",
         "Top",
         "TopRight",
         "Right",
         "BottomRight",
         "Bottom",
         "BottomLeft",
         "Left",
         "Center"
     });
     this.comboBoxLabelPosition.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxLabelPosition.Name                  = "comboBoxLabelPosition";
     this.comboBoxLabelPosition.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxLabelPosition.TabIndex              = 1;
     this.comboBoxLabelPosition.SelectedIndexChanged += new System.EventHandler(this.comboMarkerSize_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(20, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Label &Position:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // PointChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "PointChartType";
     this.Size  = new System.Drawing.Size(728, 368);
     this.Load += new System.EventHandler(this.PointChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #34
0
 /// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 =
         new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 =
         new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 216.19999694824219);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 125.80000305175781);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 90);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2.5999999046325684);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 55.700000762939453);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 25.299999237060547);
     System.Windows.Forms.DataVisualization.Charting.Title title1 =
         new System.Windows.Forms.DataVisualization.Charting.Title();
     this._chart1                      = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this._labelSampleComment          = new System.Windows.Forms.Label();
     this._panel1                      = new System.Windows.Forms.Panel();
     this._comboBox3DDrawingStyle      = new System.Windows.Forms.ComboBox();
     this._label3DDrawingStyle         = new System.Windows.Forms.Label();
     this._numericUpDownAngle          = new System.Windows.Forms.NumericUpDown();
     this._labelAngle                  = new System.Windows.Forms.Label();
     this._numericUpDownMinHeight      = new System.Windows.Forms.NumericUpDown();
     this._label4                      = new System.Windows.Forms.Label();
     this._numericUpDownGap            = new System.Windows.Forms.NumericUpDown();
     this._label3                      = new System.Windows.Forms.Label();
     this._comboBoxLabelsPlacement     = new System.Windows.Forms.ComboBox();
     this._labelOutsideLabelsPlacement = new System.Windows.Forms.Label();
     this._checkBoxShow3D              = new System.Windows.Forms.CheckBox();
     this._comboBoxLabelsStyle         = new System.Windows.Forms.ComboBox();
     this._label2                      = new System.Windows.Forms.Label();
     this._comboBoxFunnelStyle         = new System.Windows.Forms.ComboBox();
     this._label1                      = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).BeginInit();
     this._panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownAngle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownMinHeight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownGap)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     this._chart1.BackColor =
         System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(223)), ((System.Byte)(240)));
     this._chart1.BackSecondaryColor = System.Drawing.Color.White;
     this._chart1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this._chart1.BorderlineColor    =
         System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     this._chart1.BorderlineDashStyle        = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this._chart1.BorderlineWidth            = 2;
     this._chart1.BorderSkin.SkinStyle       = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.AxisX.LabelStyle.Font        =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)),
                                                                ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)),
                                                                          ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.LabelStyle.Font =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)),
                                                                ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((System.Byte)(64)),
                                                                          ((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.BackColor          = System.Drawing.Color.Transparent;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)),
                                                                   ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.BorderWidth     = 0;
     chartArea1.Name            = "Default";
     chartArea1.Position.Auto   = false;
     chartArea1.Position.Height = 81F;
     chartArea1.Position.Width  = 89.43796F;
     chartArea1.Position.X      = 5F;
     chartArea1.Position.Y      = 12F;
     chartArea1.ShadowColor     = System.Drawing.Color.Transparent;
     this._chart1.ChartAreas.Add(chartArea1);
     legend1.IsTextAutoFit = false;
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.Name          = "Default";
     this._chart1.Legends.Add(legend1);
     this._chart1.Location = new System.Drawing.Point(16, 40);
     this._chart1.Name     = "_chart1";
     this._chart1.Palette  = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel;
     series1.BorderColor   = System.Drawing.Color.FromArgb(((System.Byte)(180)), ((System.Byte)(26)),
                                                           ((System.Byte)(59)), ((System.Byte)(105)));
     series1.ChartType        = SeriesChartType.Funnel;
     series1.CustomProperties = "FunnelMinPointHeight=1";
     series1.LabelFormat      = "F1";
     series1.Name             = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.IsValueShownAsLabel = true;
     series1.XValueType          = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType          = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this._chart1.Series.Add(series1);
     this._chart1.Size     = new System.Drawing.Size(412, 296);
     this._chart1.TabIndex = 0;
     title1.ForeColor      =
         System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     title1.Font            = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.Position.Auto   = false;
     title1.Position.Height = 6.470197F;
     title1.Position.Width  = 90F;
     title1.Position.Y      = 3F;
     title1.ShadowColor     = System.Drawing.Color.FromArgb(((System.Byte)(32)), ((System.Byte)(0)),
                                                            ((System.Byte)(0)), ((System.Byte)(0)));
     title1.ShadowOffset = 3;
     title1.Text         = "Funnel chart";
     this._chart1.Titles.Add(title1);
     //
     // labelSampleComment
     //
     this._labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                             System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this._labelSampleComment.Location  = new System.Drawing.Point(16, 8);
     this._labelSampleComment.Name      = "_labelSampleComment";
     this._labelSampleComment.Size      = new System.Drawing.Size(702, 24);
     this._labelSampleComment.TabIndex  = 2;
     this._labelSampleComment.Text      = "A Funnel chart is used to display data that adds up to 100%.";
     this._labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this._panel1.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this._comboBox3DDrawingStyle,
         this._label3DDrawingStyle,
         this._numericUpDownAngle,
         this._labelAngle,
         this._numericUpDownMinHeight,
         this._label4,
         this._numericUpDownGap,
         this._label3,
         this._comboBoxLabelsPlacement,
         this._labelOutsideLabelsPlacement,
         this._checkBoxShow3D,
         this._comboBoxLabelsStyle,
         this._label2,
         this._comboBoxFunnelStyle,
         this._label1
     });
     this._panel1.Location = new System.Drawing.Point(432, 48);
     this._panel1.Name     = "_panel1";
     this._panel1.Size     = new System.Drawing.Size(312, 288);
     this._panel1.TabIndex = 0;
     //
     // comboBox3DDrawingStyle
     //
     this._comboBox3DDrawingStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBox3DDrawingStyle.Items.AddRange(new object[]
     {
         "CircularBase",
         "SquareBase"
     });
     this._comboBox3DDrawingStyle.Location              = new System.Drawing.Point(168, 232);
     this._comboBox3DDrawingStyle.Name                  = "_comboBox3DDrawingStyle";
     this._comboBox3DDrawingStyle.Size                  = new System.Drawing.Size(144, 22);
     this._comboBox3DDrawingStyle.TabIndex              = 14;
     this._comboBox3DDrawingStyle.SelectedIndexChanged +=
         new System.EventHandler(this.comboBox3DDrawingStyle_SelectedIndexChanged);
     //
     // label3DDrawingStyle
     //
     this._label3DDrawingStyle.Location  = new System.Drawing.Point(20, 232);
     this._label3DDrawingStyle.Name      = "_label3DDrawingStyle";
     this._label3DDrawingStyle.Size      = new System.Drawing.Size(144, 23);
     this._label3DDrawingStyle.TabIndex  = 13;
     this._label3DDrawingStyle.Text      = "&Drawing Style:";
     this._label3DDrawingStyle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numericUpDownAngle
     //
     this._numericUpDownAngle.Location = new System.Drawing.Point(168, 200);
     this._numericUpDownAngle.Maximum  = new System.Decimal(new int[]
     {
         10,
         0,
         0,
         0
     });
     this._numericUpDownAngle.Minimum = new System.Decimal(new int[]
     {
         10,
         0,
         0,
         -2147483648
     });
     this._numericUpDownAngle.Name     = "_numericUpDownAngle";
     this._numericUpDownAngle.Size     = new System.Drawing.Size(144, 22);
     this._numericUpDownAngle.TabIndex = 12;
     this._numericUpDownAngle.Value    = new System.Decimal(new int[]
     {
         5,
         0,
         0,
         0
     });
     this._numericUpDownAngle.ValueChanged += new System.EventHandler(this.numericUpDownAngle_ValueChanged);
     //
     // labelAngle
     //
     this._labelAngle.Location  = new System.Drawing.Point(20, 200);
     this._labelAngle.Name      = "_labelAngle";
     this._labelAngle.Size      = new System.Drawing.Size(144, 23);
     this._labelAngle.TabIndex  = 11;
     this._labelAngle.Text      = "Rotation &Angle:";
     this._labelAngle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numericUpDownMinHeight
     //
     this._numericUpDownMinHeight.Location = new System.Drawing.Point(168, 136);
     this._numericUpDownMinHeight.Maximum  = new System.Decimal(new int[]
     {
         10,
         0,
         0,
         0
     });
     this._numericUpDownMinHeight.Name          = "_numericUpDownMinHeight";
     this._numericUpDownMinHeight.Size          = new System.Drawing.Size(144, 22);
     this._numericUpDownMinHeight.TabIndex      = 9;
     this._numericUpDownMinHeight.ValueChanged +=
         new System.EventHandler(this.numericUpDownMinHeight_ValueChanged);
     //
     // label4
     //
     this._label4.Location  = new System.Drawing.Point(20, 136);
     this._label4.Name      = "_label4";
     this._label4.Size      = new System.Drawing.Size(144, 23);
     this._label4.TabIndex  = 8;
     this._label4.Text      = "&Min. Point Height:";
     this._label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numericUpDownGap
     //
     this._numericUpDownGap.Location = new System.Drawing.Point(168, 104);
     this._numericUpDownGap.Maximum  = new System.Decimal(new int[]
     {
         5,
         0,
         0,
         0
     });
     this._numericUpDownGap.Name          = "_numericUpDownGap";
     this._numericUpDownGap.Size          = new System.Drawing.Size(144, 22);
     this._numericUpDownGap.TabIndex      = 7;
     this._numericUpDownGap.ValueChanged += new System.EventHandler(this.numericUpDownGap_ValueChanged);
     //
     // label3
     //
     this._label3.Location  = new System.Drawing.Point(20, 104);
     this._label3.Name      = "_label3";
     this._label3.Size      = new System.Drawing.Size(144, 23);
     this._label3.TabIndex  = 6;
     this._label3.Text      = "Points &Gap:";
     this._label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxLabelsPlacement
     //
     this._comboBoxLabelsPlacement.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBoxLabelsPlacement.Items.AddRange(new object[]
     {
         "Right",
         "Left"
     });
     this._comboBoxLabelsPlacement.Location              = new System.Drawing.Point(168, 72);
     this._comboBoxLabelsPlacement.Name                  = "_comboBoxLabelsPlacement";
     this._comboBoxLabelsPlacement.Size                  = new System.Drawing.Size(144, 22);
     this._comboBoxLabelsPlacement.TabIndex              = 5;
     this._comboBoxLabelsPlacement.SelectedIndexChanged +=
         new System.EventHandler(this.comboBoxLabelsPlacement_SelectedIndexChanged);
     //
     // labelOutsideLabelsPlacement
     //
     this._labelOutsideLabelsPlacement.Location  = new System.Drawing.Point(20, 72);
     this._labelOutsideLabelsPlacement.Name      = "_labelOutsideLabelsPlacement";
     this._labelOutsideLabelsPlacement.Size      = new System.Drawing.Size(144, 23);
     this._labelOutsideLabelsPlacement.TabIndex  = 4;
     this._labelOutsideLabelsPlacement.Text      = "Labels &Placement:";
     this._labelOutsideLabelsPlacement.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBoxShow3D
     //
     this._checkBoxShow3D.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._checkBoxShow3D.Location        = new System.Drawing.Point(6, 168);
     this._checkBoxShow3D.Name            = "_checkBoxShow3D";
     this._checkBoxShow3D.Size            = new System.Drawing.Size(176, 24);
     this._checkBoxShow3D.TabIndex        = 10;
     this._checkBoxShow3D.Text            = "Display chart as &3D:";
     this._checkBoxShow3D.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._checkBoxShow3D.CheckedChanged += new System.EventHandler(this.checkBoxShow3D_CheckedChanged);
     //
     // comboBoxLabelsStyle
     //
     this._comboBoxLabelsStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBoxLabelsStyle.Items.AddRange(new object[]
     {
         "OutsideInColumn",
         "Outside",
         "Inside",
         "Disabled"
     });
     this._comboBoxLabelsStyle.Location              = new System.Drawing.Point(168, 40);
     this._comboBoxLabelsStyle.Name                  = "_comboBoxLabelsStyle";
     this._comboBoxLabelsStyle.Size                  = new System.Drawing.Size(144, 22);
     this._comboBoxLabelsStyle.TabIndex              = 3;
     this._comboBoxLabelsStyle.SelectedIndexChanged +=
         new System.EventHandler(this.comboBoxLabelsStyle_SelectedIndexChanged);
     //
     // label2
     //
     this._label2.Location  = new System.Drawing.Point(20, 40);
     this._label2.Name      = "_label2";
     this._label2.Size      = new System.Drawing.Size(144, 23);
     this._label2.TabIndex  = 2;
     this._label2.Text      = "&Labels Style:";
     this._label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxFunnelStyle
     //
     this._comboBoxFunnelStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBoxFunnelStyle.Items.AddRange(new object[]
     {
         "YIsHeight",
         "YIsWidth"
     });
     this._comboBoxFunnelStyle.Location              = new System.Drawing.Point(168, 8);
     this._comboBoxFunnelStyle.Name                  = "_comboBoxFunnelStyle";
     this._comboBoxFunnelStyle.Size                  = new System.Drawing.Size(144, 22);
     this._comboBoxFunnelStyle.TabIndex              = 1;
     this._comboBoxFunnelStyle.SelectedIndexChanged +=
         new System.EventHandler(this.comboBoxFunnelStyle_SelectedIndexChanged);
     //
     // label1
     //
     this._label1.Location  = new System.Drawing.Point(4, 8);
     this._label1.Name      = "_label1";
     this._label1.Size      = new System.Drawing.Size(160, 23);
     this._label1.TabIndex  = 0;
     this._label1.Text      = "Funnel &Style:";
     this._label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // FunnelChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this._panel1,
         this._labelSampleComment,
         this._chart1
     });
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular,
                                         System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "FunnelChartType";
     this.Size  = new System.Drawing.Size(744, 360);
     this.Load += new System.EventHandler(this.PieChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).EndInit();
     this._panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownAngle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownMinHeight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._numericUpDownGap)).EndInit();
     this.ResumeLayout(false);
 }
예제 #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.label9  = new System.Windows.Forms.Label();
     this.panel1  = new System.Windows.Forms.Panel();
     this.label6  = new System.Windows.Forms.Label();
     this.label5  = new System.Windows.Forms.Label();
     this.label4  = new System.Windows.Forms.Label();
     this.label3  = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.Chart1  = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1  = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 8);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 40);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample shows how to assign data to a chart series via data binding and the D" +
                            "ataBindXY method.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 19;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.ArrowStyle             = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea1.AxisX.LabelAutoFitStyle      = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                       | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                      | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.IsStaggered = true;
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.ArrowStyle          = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;
     chartArea1.AxisY.LabelAutoFitStyle   = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                    | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                   | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format   = "#,k";
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location        = new System.Drawing.Point(16, 56);
     this.Chart1.Name            = "Chart1";
     series1.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea           = "Default";
     series1.CustomProperties    = "LabelStyle=Bottom";
     series1.IsValueShownAsLabel = true;
     series1.LabelFormat         = "#,k";
     series1.Legend = "Default";
     series1.Name   = "Default";
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "East and West Region Sales";
     this.Chart1.Titles.Add(title1);
     this.Chart1.Click += new System.EventHandler(this.Chart1_Click);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(24, 360);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(696, 40);
     this.label1.TabIndex = 20;
     this.label1.Text     = "Both X and Y data values are bound to the chart using OleDb and an Access databas" +
                            "e. The data is selected using a simple SQL query. ";
     //
     // DatabaseBindingXY
     //
     this.Controls.Add(this.label1);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "DatabaseBindingXY";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.ArrayBinding_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.label9  = new System.Windows.Forms.Label();
     this.panel1  = new System.Windows.Forms.Panel();
     this.label6  = new System.Windows.Forms.Label();
     this.label5  = new System.Windows.Forms.Label();
     this.label4  = new System.Windows.Forms.Label();
     this.label3  = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.Chart1  = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F);
     this.label9.Location = new System.Drawing.Point(16, 8);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(696, 32);
     this.label9.TabIndex = 0;
     this.label9.Text     = "The DataSourceID property of the chart allows�for design-time and run-time data b" +
                            "inding.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 19;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelAutoFitStyle      = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                       | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                      | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.IsStaggered = true;
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelAutoFitStyle   = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                    | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                   | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series1.Legend       = "Default";
     series1.Name         = "Series 1";
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     title1.Alignment     = System.Drawing.ContentAlignment.TopLeft;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "DataSource Data Binding";
     this.Chart1.Titles.Add(title1);
     //
     // DataSourceBinding
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F);
     this.Name  = "DataSourceBinding";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.ArrayBinding_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37530, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37531, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37532, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37533, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37534, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37535, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37536, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37537, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37539, 4);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37541, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37542, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37543, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37544, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37545, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(37546, 5);
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.label9        = new System.Windows.Forms.Label();
     this.panel1        = new System.Windows.Forms.Panel();
     this.label10       = new System.Windows.Forms.Label();
     this.XIntervalType = new System.Windows.Forms.ComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.label1        = new System.Windows.Forms.Label();
     this.YInterval     = new System.Windows.Forms.ComboBox();
     this.XInterval     = new System.Windows.Forms.ComboBox();
     this.label8        = new System.Windows.Forms.Label();
     this.label7        = new System.Windows.Forms.Label();
     this.label6        = new System.Windows.Forms.Label();
     this.label5        = new System.Windows.Forms.Label();
     this.label4        = new System.Windows.Forms.Label();
     this.label3        = new System.Windows.Forms.Label();
     this.label15       = new System.Windows.Forms.Label();
     this.Chart1        = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to set the cursor interval so that the cursor will \"" +
                            "step\" as it moves across the data view. To move the cursor, left-click on the ch" +
                            "art and drag the mouse.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label10);
     this.panel1.Controls.Add(this.XIntervalType);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.YInterval);
     this.panel1.Controls.Add(this.XInterval);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // label10
     //
     this.label10.Location  = new System.Drawing.Point(32, 40);
     this.label10.Name      = "label10";
     this.label10.Size      = new System.Drawing.Size(136, 23);
     this.label10.TabIndex  = 2;
     this.label10.Text      = "Interval &Type:";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // XIntervalType
     //
     this.XIntervalType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.XIntervalType.Items.AddRange(new object[] {
         "Hours",
         "Days",
         "Weeks"
     });
     this.XIntervalType.Location              = new System.Drawing.Point(168, 40);
     this.XIntervalType.Name                  = "XIntervalType";
     this.XIntervalType.Size                  = new System.Drawing.Size(121, 22);
     this.XIntervalType.TabIndex              = 3;
     this.XIntervalType.SelectedIndexChanged += new System.EventHandler(this.Series_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(32, 72);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(136, 23);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "&Y Interval:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(32, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(136, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&X Interval:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // YInterval
     //
     this.YInterval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.YInterval.Items.AddRange(new object[] {
         "0",
         "1",
         "2"
     });
     this.YInterval.Location              = new System.Drawing.Point(168, 72);
     this.YInterval.Name                  = "YInterval";
     this.YInterval.Size                  = new System.Drawing.Size(121, 22);
     this.YInterval.TabIndex              = 5;
     this.YInterval.SelectedIndexChanged += new System.EventHandler(this.Series_SelectedIndexChanged);
     //
     // XInterval
     //
     this.XInterval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.XInterval.Items.AddRange(new object[] {
         "0",
         "1",
         "2",
         "12"
     });
     this.XInterval.Location              = new System.Drawing.Point(168, 8);
     this.XInterval.Name                  = "XInterval";
     this.XInterval.Size                  = new System.Drawing.Size(121, 22);
     this.XInterval.TabIndex              = 1;
     this.XInterval.SelectedIndexChanged += new System.EventHandler(this.Series_SelectedIndexChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(64, 472);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(100, 23);
     this.label8.TabIndex = 7;
     this.label8.Text     = "Shadow Offset:";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(64, 449);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(100, 23);
     this.label7.TabIndex = 6;
     this.label7.Text     = "Border Style:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                         = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackGradientStyle                 = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor                = System.Drawing.Color.White;
     this.Chart1.BorderlineColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle               = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth                   = 2;
     this.Chart1.BorderSkin.SkinStyle              = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination            = 15;
     chartArea1.Area3DStyle.IsClustered            = true;
     chartArea1.Area3DStyle.IsRightAngleAxes       = false;
     chartArea1.Area3DStyle.Perspective            = 10;
     chartArea1.Area3DStyle.Rotation               = 10;
     chartArea1.Area3DStyle.WallWidth              = 0;
     chartArea1.AxisX.IntervalAutoMode             = System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode.VariableCount;
     chartArea1.AxisX.IsLabelAutoFit               = false;
     chartArea1.AxisX.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format            = "dd/MM";
     chartArea1.AxisX.LabelStyle.Interval          = 0;
     chartArea1.AxisX.LabelStyle.IntervalType      = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Days;
     chartArea1.AxisX.LabelStyle.IsEndLabelVisible = false;
     chartArea1.AxisX.LineColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.Interval           = 1;
     chartArea1.AxisX.MajorGrid.IntervalType       = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Days;
     chartArea1.AxisX.MajorGrid.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorTickMark.Interval       = 1;
     chartArea1.AxisX.MajorTickMark.IntervalType   = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Days;
     chartArea1.AxisX.MinorTickMark.Interval       = 12;
     chartArea1.AxisX.MinorTickMark.IntervalType   = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours;
     chartArea1.AxisX.ScrollBar.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit               = false;
     chartArea1.AxisY.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format            = "N0";
     chartArea1.AxisY.LabelStyle.Interval          = 0;
     chartArea1.AxisY.LabelStyle.IntervalType      = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.LineColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.Interval           = 1;
     chartArea1.AxisY.MajorGrid.IntervalType       = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.MajorGrid.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorTickMark.IntervalType   = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Number;
     chartArea1.AxisY.MinorTickMark.Interval       = 1;
     chartArea1.AxisY.ScrollBar.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor                      = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle              = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor             = System.Drawing.Color.White;
     chartArea1.BorderColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.CursorX.IsUserEnabled          = true;
     chartArea1.CursorX.IsUserSelectionEnabled = true;
     chartArea1.CursorX.SelectionColor         = System.Drawing.SystemColors.Highlight;
     chartArea1.CursorY.IsUserEnabled          = true;
     chartArea1.CursorY.IsUserSelectionEnabled = true;
     chartArea1.CursorY.SelectionColor         = System.Drawing.SystemColors.Highlight;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 60);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Legend       = "Default";
     series1.Name         = "Series1";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.Points.Add(dataPoint8);
     series1.Points.Add(dataPoint9);
     series1.Points.Add(dataPoint10);
     series1.Points.Add(dataPoint11);
     series1.Points.Add(dataPoint12);
     series1.Points.Add(dataPoint13);
     series1.Points.Add(dataPoint14);
     series1.Points.Add(dataPoint15);
     series1.ShadowColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series1.ShadowOffset = 2;
     series1.XValueType   = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Alignment     = System.Drawing.ContentAlignment.MiddleLeft;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Cursor Intervals";
     this.Chart1.Titles.Add(title1);
     //
     // CursorInterval
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "CursorInterval";
     this.Size  = new System.Drawing.Size(728, 376);
     this.Load += new System.EventHandler(this.CursorInterval_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5.6999998092651367);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8.5);
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8);
     System.Windows.Forms.DataVisualization.Charting.Series    series3     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 4);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint16 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint17 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint18 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint19 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint20 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint21 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.chart1                     = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment         = new System.Windows.Forms.Label();
     this.panel1                     = new System.Windows.Forms.Panel();
     this.numericUpDownPointGapDepth = new System.Windows.Forms.NumericUpDown();
     this.numericUpDownPointDepth    = new System.Windows.Forms.NumericUpDown();
     this.label3                     = new System.Windows.Forms.Label();
     this.label4                     = new System.Windows.Forms.Label();
     this.checkClustered             = new System.Windows.Forms.CheckBox();
     this.radioButtonColumn          = new System.Windows.Forms.RadioButton();
     this.radioButtonBar             = new System.Windows.Forms.RadioButton();
     this.label1                     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPointGapDepth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPointDepth)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D         = true;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.PointGapDepth    = 0;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.Cursor    = System.Windows.Forms.Cursors.Hand;
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(16, 53);
     this.chart1.Name     = "chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.Legend       = "Default";
     series1.Name         = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea   = "Default";
     series2.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.Legend      = "Default";
     series2.Name        = "Series2";
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series2.Points.Add(dataPoint11);
     series2.Points.Add(dataPoint12);
     series2.Points.Add(dataPoint13);
     series2.Points.Add(dataPoint14);
     series3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series3.ChartArea   = "Default";
     series3.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series3.Legend      = "Default";
     series3.Name        = "Series3";
     series3.Points.Add(dataPoint15);
     series3.Points.Add(dataPoint16);
     series3.Points.Add(dataPoint17);
     series3.Points.Add(dataPoint18);
     series3.Points.Add(dataPoint19);
     series3.Points.Add(dataPoint20);
     series3.Points.Add(dataPoint21);
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Series.Add(series3);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "3D Cylinder";
     this.chart1.Titles.Add(title1);
     this.chart1.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.chart1_MouseUp);
     this.chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart1_MouseMove);
     this.chart1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart1_MouseDown);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 37);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample demonstrates how to display 3D Bar and Column charts as cylinders. Cy" +
                                        "linders may be applied to an entire data series or to specific points within a s" +
                                        "eries. ";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.numericUpDownPointGapDepth);
     this.panel1.Controls.Add(this.numericUpDownPointDepth);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.checkClustered);
     this.panel1.Controls.Add(this.radioButtonColumn);
     this.panel1.Controls.Add(this.radioButtonBar);
     this.panel1.Location = new System.Drawing.Point(432, 61);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 280);
     this.panel1.TabIndex = 2;
     //
     // numericUpDownPointGapDepth
     //
     this.numericUpDownPointGapDepth.Increment = new decimal(new int[] {
         50,
         0,
         0,
         0
     });
     this.numericUpDownPointGapDepth.Location = new System.Drawing.Point(168, 136);
     this.numericUpDownPointGapDepth.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.numericUpDownPointGapDepth.Name     = "numericUpDownPointGapDepth";
     this.numericUpDownPointGapDepth.Size     = new System.Drawing.Size(56, 22);
     this.numericUpDownPointGapDepth.TabIndex = 6;
     this.numericUpDownPointGapDepth.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.numericUpDownPointGapDepth.ValueChanged += new System.EventHandler(this.numericUpDownPointGapDepth_ValueChanged);
     //
     // numericUpDownPointDepth
     //
     this.numericUpDownPointDepth.Increment = new decimal(new int[] {
         25,
         0,
         0,
         0
     });
     this.numericUpDownPointDepth.Location = new System.Drawing.Point(168, 104);
     this.numericUpDownPointDepth.Maximum  = new decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.numericUpDownPointDepth.Name     = "numericUpDownPointDepth";
     this.numericUpDownPointDepth.Size     = new System.Drawing.Size(56, 22);
     this.numericUpDownPointDepth.TabIndex = 4;
     this.numericUpDownPointDepth.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.numericUpDownPointDepth.ValueChanged += new System.EventHandler(this.numericUpDownPointDepth_ValueChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(18, 136);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(144, 23);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "&Gap Depth:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(10, 104);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(152, 23);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "Point &Depth:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkClustered
     //
     this.checkClustered.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkClustered.Checked         = true;
     this.checkClustered.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkClustered.Location        = new System.Drawing.Point(45, 72);
     this.checkClustered.Name            = "checkClustered";
     this.checkClustered.Size            = new System.Drawing.Size(136, 24);
     this.checkClustered.TabIndex        = 2;
     this.checkClustered.Text            = "C&lustered:";
     this.checkClustered.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkClustered.CheckedChanged += new System.EventHandler(this.checkClustered_CheckedChanged);
     //
     // radioButtonColumn
     //
     this.radioButtonColumn.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.radioButtonColumn.Checked         = true;
     this.radioButtonColumn.Location        = new System.Drawing.Point(13, 40);
     this.radioButtonColumn.Name            = "radioButtonColumn";
     this.radioButtonColumn.Size            = new System.Drawing.Size(168, 24);
     this.radioButtonColumn.TabIndex        = 1;
     this.radioButtonColumn.TabStop         = true;
     this.radioButtonColumn.Text            = "3D &Column Cylinder:";
     this.radioButtonColumn.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.radioButtonColumn.CheckedChanged += new System.EventHandler(this.radioButtonColumn_CheckedChanged);
     //
     // radioButtonBar
     //
     this.radioButtonBar.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.radioButtonBar.Location        = new System.Drawing.Point(29, 8);
     this.radioButtonBar.Name            = "radioButtonBar";
     this.radioButtonBar.Size            = new System.Drawing.Size(152, 24);
     this.radioButtonBar.TabIndex        = 0;
     this.radioButtonBar.Text            = "3D &Bar Cylinder:";
     this.radioButtonBar.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.radioButtonBar.CheckedChanged += new System.EventHandler(this.radioButtonBar_CheckedChanged);
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(16, 349);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(702, 32);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Click on the chart and drag the mouse to rotate the chart.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Cylinder3D
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "Cylinder3D";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.Cylinder3D_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPointGapDepth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPointDepth)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 =
         new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 =
         new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title1 =
         new System.Windows.Forms.DataVisualization.Charting.Title();
     this._chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this._labelSampleComment = new System.Windows.Forms.Label();
     this._panel1             = new System.Windows.Forms.Panel();
     this._comboNumberOfLines = new System.Windows.Forms.ComboBox();
     this._label1             = new System.Windows.Forms.Label();
     this._label3             = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).BeginInit();
     this._panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this._chart1.BackColor          = System.Drawing.Color.WhiteSmoke;
     this._chart1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this._chart1.BackSecondaryColor = System.Drawing.Color.White;
     this._chart1.BorderlineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(26)))),
                                                                     ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this._chart1.BorderlineDashStyle        = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this._chart1.BorderlineWidth            = 2;
     this._chart1.BorderSkin.SkinStyle       = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format = "MMM dd";
     chartArea1.AxisX.LineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                        ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsStartedFromZero = false;
     chartArea1.AxisY.LabelStyle.Font   =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                   ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name            = "Default";
     chartArea1.ShadowColor     = System.Drawing.Color.Transparent;
     this._chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this._chart1.Legends.Add(legend1);
     this._chart1.Location = new System.Drawing.Point(16, 40);
     this._chart1.Name     = "_chart1";
     series1.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                           ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea        = "Default";
     series1.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.ThreeLineBreak;
     series1.CustomProperties = "PriceUpColor=Black";
     series1.IsXValueIndexed  = true;
     series1.Legend           = "Default";
     series1.Name             = "Default";
     series1.XValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Date;
     series1.YValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this._chart1.Series.Add(series1);
     this._chart1.Size     = new System.Drawing.Size(412, 296);
     this._chart1.TabIndex = 0;
     title1.Font           = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))),
                                                           ((int)(((byte)(105)))));
     title1.Name        = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))),
                                                        ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text         = "Three Line Break Chart";
     this._chart1.Titles.Add(title1);
     //
     // labelSampleComment
     //
     this._labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                             System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._labelSampleComment.Location  = new System.Drawing.Point(16, 8);
     this._labelSampleComment.Name      = "_labelSampleComment";
     this._labelSampleComment.Size      = new System.Drawing.Size(702, 26);
     this._labelSampleComment.TabIndex  = 2;
     this._labelSampleComment.Text      = "This sample demonstrates the Three Line Break chart type.";
     this._labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this._panel1.Controls.Add(this._comboNumberOfLines);
     this._panel1.Controls.Add(this._label1);
     this._panel1.Location = new System.Drawing.Point(432, 48);
     this._panel1.Name     = "_panel1";
     this._panel1.Size     = new System.Drawing.Size(296, 280);
     this._panel1.TabIndex = 1;
     //
     // comboNumberOfLines
     //
     this._comboNumberOfLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboNumberOfLines.Items.AddRange(new object[]
     {
         "1",
         "2",
         "3",
         "4",
         "Default"
     });
     this._comboNumberOfLines.Location              = new System.Drawing.Point(168, 16);
     this._comboNumberOfLines.Name                  = "_comboNumberOfLines";
     this._comboNumberOfLines.Size                  = new System.Drawing.Size(104, 22);
     this._comboNumberOfLines.TabIndex              = 0;
     this._comboNumberOfLines.SelectedIndexChanged +=
         new System.EventHandler(this.comboNumberOfLines_SelectedIndexChanged);
     //
     // label1
     //
     this._label1.Location  = new System.Drawing.Point(8, 8);
     this._label1.Name      = "_label1";
     this._label1.Size      = new System.Drawing.Size(152, 32);
     this._label1.TabIndex  = 0;
     this._label1.Text      = "Number of &Lines in Break:";
     this._label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this._label3.Anchor =
         ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top |
                                                System.Windows.Forms.AnchorStyles.Left)
                                               | System.Windows.Forms.AnchorStyles.Right)));
     this._label3.Font     = new System.Drawing.Font("Verdana", 11F);
     this._label3.Location = new System.Drawing.Point(13, 342);
     this._label3.Name     = "_label3";
     this._label3.Size     = new System.Drawing.Size(702, 43);
     this._label3.TabIndex = 25;
     this._label3.Text     = "The sensitivity of the reversal criteria can be adjusted by changing the number o" +
                             "f lines in break.";
     this._label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ThreeLineBreakChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this._label3);
     this.Controls.Add(this._panel1);
     this.Controls.Add(this._labelSampleComment);
     this.Controls.Add(this._chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular,
                                         System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "ThreeLineBreakChartType";
     this.Size  = new System.Drawing.Size(728, 403);
     this.Load += new System.EventHandler(this.ThreeLineBreakChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).EndInit();
     this._panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.2999999523162842);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.7999999523162842);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2.2999999523162842);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.2000000476837158);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.7999999523162842);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1.2000000476837158);
     System.ComponentModel.ComponentResourceManager            resources  = new System.ComponentModel.ComponentResourceManager(typeof(LabelsKeywords));
     this.label9          = new System.Windows.Forms.Label();
     this.panel1          = new System.Windows.Forms.Panel();
     this.AxisLabelsList  = new System.Windows.Forms.ComboBox();
     this.label2          = new System.Windows.Forms.Label();
     this.PointLabelsList = new System.Windows.Forms.ComboBox();
     this.label1          = new System.Windows.Forms.Label();
     this.label6          = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label15         = new System.Windows.Forms.Label();
     this.Chart1          = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label7          = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to use keywords within axis and data point labels.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.AxisLabelsList);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.PointLabelsList);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // AxisLabelsList
     //
     this.AxisLabelsList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.AxisLabelsList.Items.AddRange(new object[] {
         "Month: #VALX{MMM}\\nDay: #VALX{dd}",
         "#VALX{dd}\\n#VALX{MMM}\\n#VALX{yyy}",
         "#INDEX"
     });
     this.AxisLabelsList.Location              = new System.Drawing.Point(8, 80);
     this.AxisLabelsList.Name                  = "AxisLabelsList";
     this.AxisLabelsList.Size                  = new System.Drawing.Size(280, 22);
     this.AxisLabelsList.TabIndex              = 3;
     this.AxisLabelsList.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 58);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(192, 20);
     this.label2.TabIndex = 2;
     this.label2.Text     = "&X Axis Label with Keywords:";
     //
     // PointLabelsList
     //
     this.PointLabelsList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.PointLabelsList.Items.AddRange(new object[] {
         "#PERCENT",
         "Y = #VALY\\nX = #VALX",
         "#VALX{ddd}"
     });
     this.PointLabelsList.Location              = new System.Drawing.Point(8, 24);
     this.PointLabelsList.Name                  = "PointLabelsList";
     this.PointLabelsList.Size                  = new System.Drawing.Size(280, 22);
     this.PointLabelsList.TabIndex              = 1;
     this.PointLabelsList.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(5, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(212, 20);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Data Point &Label with Keywords:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 7;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 6;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 5;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.Enabled               = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.IsStartedFromZero      = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format      = "N2";
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.Maximum                = 2.7999999523162842;
     chartArea1.AxisY.Minimum                = 0.800000011920929;
     chartArea1.AxisY2.Enabled               = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.BorderWidth  = 2;
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series1.Font         = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     series1.Legend       = "Default";
     series1.MarkerColor  = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series1.MarkerSize   = 7;
     series1.MarkerStyle  = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Square;
     series1.Name         = "Series1";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.ShadowOffset = 1;
     series1.XValueType   = System.Windows.Forms.DataVisualization.Charting.ChartValueType.DateTime;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     this.Chart1.Click   += new System.EventHandler(this.Chart1_Click);
     //
     // label7
     //
     this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label7.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location  = new System.Drawing.Point(16, 356);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(704, 60);
     this.label7.TabIndex  = 3;
     this.label7.Text      = resources.GetString("label7.Text");
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // LabelsKeywords
     //
     this.Controls.Add(this.label7);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "LabelsKeywords";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.CustomLabels_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "9,20");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "2,30");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "5,50");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "7,5");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "4,60");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "2,25");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "6,50");
     System.Windows.Forms.DataVisualization.Charting.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.label9 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.checkBoxHideOriginalSeries = new System.Windows.Forms.CheckBox();
     this.comboBoxOriginalChartType  = new System.Windows.Forms.ComboBox();
     this.label2            = new System.Windows.Forms.Label();
     this.comboBoxChartType = new System.Windows.Forms.ComboBox();
     this.label1            = new System.Windows.Forms.Label();
     this.Chart1            = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label3            = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to create a mini-chart for every point on the origin" +
                            "al chart.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBoxHideOriginalSeries);
     this.panel1.Controls.Add(this.comboBoxOriginalChartType);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // checkBoxHideOriginalSeries
     //
     this.checkBoxHideOriginalSeries.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxHideOriginalSeries.Location        = new System.Drawing.Point(15, 72);
     this.checkBoxHideOriginalSeries.Name            = "checkBoxHideOriginalSeries";
     this.checkBoxHideOriginalSeries.Size            = new System.Drawing.Size(168, 24);
     this.checkBoxHideOriginalSeries.TabIndex        = 4;
     this.checkBoxHideOriginalSeries.Text            = "&Hide Original Series:";
     this.checkBoxHideOriginalSeries.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxHideOriginalSeries.CheckedChanged += new System.EventHandler(this.checkBoxHideOriginalSeries_CheckedChanged);
     //
     // comboBoxOriginalChartType
     //
     this.comboBoxOriginalChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxOriginalChartType.Items.AddRange(new object[] {
         "Point",
         "Bubble"
     });
     this.comboBoxOriginalChartType.Location              = new System.Drawing.Point(168, 40);
     this.comboBoxOriginalChartType.Name                  = "comboBoxOriginalChartType";
     this.comboBoxOriginalChartType.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxOriginalChartType.TabIndex              = 3;
     this.comboBoxOriginalChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxOriginalChartType_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(14, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(152, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "&Original Chart Type:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.Items.AddRange(new object[] {
         "None",
         "Column",
         "Pie",
         "Doughnut",
         "Area"
     });
     this.comboBoxChartType.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxChartType.TabIndex              = 1;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(14, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(152, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "In &Point Chart Type:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location     = new System.Drawing.Point(16, 60);
     this.Chart1.Name         = "Chart1";
     series1.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea        = "Default";
     series1.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "BubbleScaleMin=-60";
     series1.Legend           = "Default";
     series1.MarkerSize       = 22;
     series1.Name             = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.ShadowOffset    = 2;
     series1.YValuesPerPoint = 2;
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Mini-Charts!";
     this.Chart1.Titles.Add(title1);
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(16, 368);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(688, 44);
     this.label3.TabIndex = 3;
     this.label3.Text     = "In this example, a separate chart area is created for each data point and then po" +
                            "sitioned on top of the original data point.";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ChartInDataPoint
     //
     this.Controls.Add(this.label3);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "ChartInDataPoint";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.ChartInDataPoint_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.StripLine stripLine1  = new System.Windows.Forms.DataVisualization.Charting.StripLine();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 700);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 400);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 450);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 245);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 568);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 345);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 789);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 834);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 382);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 599);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 123);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 223);
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.StripEndColor   = new System.Windows.Forms.ComboBox();
     this.StripColor      = new System.Windows.Forms.ComboBox();
     this.HatchStyle      = new System.Windows.Forms.ComboBox();
     this.Gradient        = new System.Windows.Forms.ComboBox();
     this.LineColor       = new System.Windows.Forms.ComboBox();
     this.StripLinesStyle = new System.Windows.Forms.ComboBox();
     this.LineWidth       = new System.Windows.Forms.ComboBox();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.label6          = new System.Windows.Forms.Label();
     this.label7          = new System.Windows.Forms.Label();
     this.label9          = new System.Windows.Forms.Label();
     this.panel1          = new System.Windows.Forms.Panel();
     this.label1          = new System.Windows.Forms.Label();
     this.Interval        = new System.Windows.Forms.ComboBox();
     this.label11         = new System.Windows.Forms.Label();
     this.Chart1          = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label10         = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // StripEndColor
     //
     this.StripEndColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.StripEndColor.Items.AddRange(new object[] {
         "DarkRed",
         "Green",
         "Yellow",
         "SlateGray",
         "Gold"
     });
     this.StripEndColor.Location              = new System.Drawing.Point(168, 120);
     this.StripEndColor.Name                  = "StripEndColor";
     this.StripEndColor.Size                  = new System.Drawing.Size(121, 22);
     this.StripEndColor.TabIndex              = 9;
     this.StripEndColor.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // StripColor
     //
     this.StripColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.StripColor.Items.AddRange(new object[] {
         "Red",
         "Gainsboro",
         "Khaki",
         "LightSteelBlue"
     });
     this.StripColor.Location              = new System.Drawing.Point(168, 48);
     this.StripColor.Name                  = "StripColor";
     this.StripColor.Size                  = new System.Drawing.Size(121, 22);
     this.StripColor.TabIndex              = 3;
     this.StripColor.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // HatchStyle
     //
     this.HatchStyle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.HatchStyle.Location              = new System.Drawing.Point(168, 96);
     this.HatchStyle.Name                  = "HatchStyle";
     this.HatchStyle.Size                  = new System.Drawing.Size(121, 22);
     this.HatchStyle.TabIndex              = 7;
     this.HatchStyle.SelectedIndexChanged += new System.EventHandler(this.HatchControlChanged);
     //
     // Gradient
     //
     this.Gradient.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Gradient.Location              = new System.Drawing.Point(168, 72);
     this.Gradient.Name                  = "Gradient";
     this.Gradient.Size                  = new System.Drawing.Size(121, 22);
     this.Gradient.TabIndex              = 5;
     this.Gradient.SelectedIndexChanged += new System.EventHandler(this.GradienControlChanged);
     //
     // LineColor
     //
     this.LineColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.LineColor.Items.AddRange(new object[] {
         "MidnightBlue",
         "Green",
         "Black",
         "Red"
     });
     this.LineColor.Location              = new System.Drawing.Point(168, 184);
     this.LineColor.Name                  = "LineColor";
     this.LineColor.Size                  = new System.Drawing.Size(121, 22);
     this.LineColor.TabIndex              = 13;
     this.LineColor.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // StripLinesStyle
     //
     this.StripLinesStyle.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.StripLinesStyle.Location              = new System.Drawing.Point(168, 160);
     this.StripLinesStyle.Name                  = "StripLinesStyle";
     this.StripLinesStyle.Size                  = new System.Drawing.Size(121, 22);
     this.StripLinesStyle.TabIndex              = 11;
     this.StripLinesStyle.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // LineWidth
     //
     this.LineWidth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.LineWidth.Items.AddRange(new object[] {
         "1",
         "2",
         "3",
         "4",
         "5"
     });
     this.LineWidth.Location              = new System.Drawing.Point(168, 208);
     this.LineWidth.Name                  = "LineWidth";
     this.LineWidth.Size                  = new System.Drawing.Size(121, 22);
     this.LineWidth.TabIndex              = 15;
     this.LineWidth.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(20, 50);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(148, 16);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Back &Color:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(20, 122);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(148, 16);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "S&econdary Back Color:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(20, 74);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(148, 16);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "&Gradient Style:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(20, 98);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(148, 16);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "&Hatch Style:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(19, 162);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(148, 16);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Border &Style:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(18, 186);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(148, 16);
     this.label7.TabIndex  = 12;
     this.label7.Text      = "&Border Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 8);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to set the appearance properties of the StripLine ob" +
                            "ject.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.Interval);
     this.panel1.Controls.Add(this.StripLinesStyle);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.Gradient);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.HatchStyle);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.LineWidth);
     this.panel1.Controls.Add(this.StripEndColor);
     this.panel1.Controls.Add(this.StripColor);
     this.panel1.Controls.Add(this.LineColor);
     this.panel1.Controls.Add(this.label11);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 296);
     this.panel1.TabIndex = 2;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(20, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(148, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Strip &Interval:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Interval
     //
     this.Interval.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Interval.Items.AddRange(new object[] {
         "2",
         "3",
         "4",
         "5"
     });
     this.Interval.Location              = new System.Drawing.Point(168, 8);
     this.Interval.Name                  = "Interval";
     this.Interval.Size                  = new System.Drawing.Size(121, 22);
     this.Interval.TabIndex              = 1;
     this.Interval.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
     //
     // label11
     //
     this.label11.Location  = new System.Drawing.Point(18, 211);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(148, 16);
     this.label11.TabIndex  = 14;
     this.label11.Text      = "Border Si&ze:";
     this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     stripLine1.BackColor      = System.Drawing.Color.Gainsboro;
     stripLine1.Interval       = 2;
     stripLine1.IntervalOffset = 0.5;
     stripLine1.StripWidth     = 1;
     chartArea1.AxisX.StripLines.Add(stripLine1);
     chartArea1.AxisY.IsLabelAutoFit      = false;
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location      = new System.Drawing.Point(16, 48);
     this.Chart1.Name          = "Chart1";
     series1.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.BorderWidth       = 2;
     series1.ChartArea         = "Default";
     series1.ChartType         = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.Legend            = "Default";
     series1.MarkerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series1.MarkerColor       = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series1.MarkerSize        = 8;
     series1.MarkerStyle       = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series1.Name = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.Points.Add(dataPoint8);
     series1.Points.Add(dataPoint9);
     series1.Points.Add(dataPoint10);
     series1.Points.Add(dataPoint11);
     series1.Points.Add(dataPoint12);
     series1.Points.Add(dataPoint13);
     series1.Points.Add(dataPoint14);
     this.Chart1.Series.Add(series1);
     this.Chart1.Size     = new System.Drawing.Size(412, 306);
     this.Chart1.TabIndex = 1;
     title1.Alignment     = System.Drawing.ContentAlignment.MiddleLeft;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Strip Lines";
     this.Chart1.Titles.Add(title1);
     //
     // label10
     //
     this.label10.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(16, 367);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(702, 34);
     this.label10.TabIndex = 3;
     this.label10.Text     = "Chart interlaced strip lines can also be enabled setting the Axis.IsInterlaced pr" +
                             "operty.";
     this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // StripLines
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.label10);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "StripLines";
     this.Size = new System.Drawing.Size(728, 424);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #43
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series2    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1              = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment  = new System.Windows.Forms.Label();
     this.panel1              = new System.Windows.Forms.Panel();
     this.UsePerspective      = new System.Windows.Forms.CheckBox();
     this.LightingType        = new System.Windows.Forms.ComboBox();
     this.label3              = new System.Windows.Forms.Label();
     this.ShowMarkerLines     = new System.Windows.Forms.CheckBox();
     this.checkBoxShowMargin  = new System.Windows.Forms.CheckBox();
     this.comboBoxLineTension = new System.Windows.Forms.ComboBox();
     this.label2              = new System.Windows.Forms.Label();
     this.comboBoxChartType   = new System.Windows.Forms.ComboBox();
     this.label1              = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D         = true;
     chartArea1.Area3DStyle.Inclination      = 32;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.LightStyle       = System.Windows.Forms.DataVisualization.Charting.LightStyle.Realistic;
     chartArea1.Area3DStyle.Rotation         = 29;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsMarginVisible        = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name            = "Default";
     chartArea1.Position.Auto   = false;
     chartArea1.Position.Height = 96F;
     chartArea1.Position.Width  = 99F;
     chartArea1.Position.Y      = 2F;
     chartArea1.ShadowColor     = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location    = new System.Drawing.Point(16, 48);
     this.chart1.Name        = "chart1";
     series1.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea       = "Default";
     series1.ChartType       = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.SplineRange;
     series1.Color           = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.Legend          = "Default";
     series1.Name            = "Default";
     series1.XValueType      = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValuesPerPoint = 2;
     series1.YValueType      = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea       = "Default";
     series2.ChartType       = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.SplineRange;
     series2.Color           = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.Legend          = "Default";
     series2.Name            = "Series2";
     series2.XValueType      = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.YValuesPerPoint = 2;
     series2.YValueType      = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 0);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 42);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample demonstrates Range and Spline Range chart types. The Spline Range cha" +
                                        "rt supports line tension adjustment. ";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.UsePerspective);
     this.panel1.Controls.Add(this.LightingType);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.ShowMarkerLines);
     this.panel1.Controls.Add(this.checkBoxShowMargin);
     this.panel1.Controls.Add(this.comboBoxLineTension);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 280);
     this.panel1.TabIndex = 2;
     //
     // UsePerspective
     //
     this.UsePerspective.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.UsePerspective.Location        = new System.Drawing.Point(-2, 168);
     this.UsePerspective.Name            = "UsePerspective";
     this.UsePerspective.Size            = new System.Drawing.Size(184, 24);
     this.UsePerspective.TabIndex        = 8;
     this.UsePerspective.Text            = "Use 10% &Perspective:";
     this.UsePerspective.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.UsePerspective.CheckedChanged += new System.EventHandler(this.UsePerspective_CheckedChanged);
     //
     // LightingType
     //
     this.LightingType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.LightingType.Items.AddRange(new object[] {
         "None",
         "Simplistic",
         "Realistic"
     });
     this.LightingType.Location              = new System.Drawing.Point(168, 72);
     this.LightingType.Name                  = "LightingType";
     this.LightingType.Size                  = new System.Drawing.Size(112, 22);
     this.LightingType.TabIndex              = 5;
     this.LightingType.SelectedIndexChanged += new System.EventHandler(this.LightingType_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(28, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(136, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "L&ighting:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ShowMarkerLines
     //
     this.ShowMarkerLines.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.ShowMarkerLines.Location        = new System.Drawing.Point(-2, 136);
     this.ShowMarkerLines.Name            = "ShowMarkerLines";
     this.ShowMarkerLines.Size            = new System.Drawing.Size(184, 24);
     this.ShowMarkerLines.TabIndex        = 7;
     this.ShowMarkerLines.Text            = "Show Marker &Lines:";
     this.ShowMarkerLines.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.ShowMarkerLines.CheckedChanged += new System.EventHandler(this.ShowMarkerLines_CheckedChanged);
     //
     // checkBoxShowMargin
     //
     this.checkBoxShowMargin.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowMargin.Location        = new System.Drawing.Point(-2, 104);
     this.checkBoxShowMargin.Name            = "checkBoxShowMargin";
     this.checkBoxShowMargin.Size            = new System.Drawing.Size(184, 24);
     this.checkBoxShowMargin.TabIndex        = 6;
     this.checkBoxShowMargin.Text            = "Show X Axis &Margin:";
     this.checkBoxShowMargin.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowMargin.CheckedChanged += new System.EventHandler(this.checkBoxShowMargin_CheckedChanged);
     //
     // comboBoxLineTension
     //
     this.comboBoxLineTension.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxLineTension.Items.AddRange(new object[] {
         "1.2",
         "0.8",
         "0.4",
         "0.2"
     });
     this.comboBoxLineTension.Location              = new System.Drawing.Point(168, 40);
     this.comboBoxLineTension.Name                  = "comboBoxLineTension";
     this.comboBoxLineTension.Size                  = new System.Drawing.Size(112, 22);
     this.comboBoxLineTension.TabIndex              = 3;
     this.comboBoxLineTension.SelectedIndexChanged += new System.EventHandler(this.comboBoxLineTension_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(4, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Spline &Tension:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.Items.AddRange(new object[] {
         "Spline Range",
         "Range"
     });
     this.comboBoxChartType.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(112, 22);
     this.comboBoxChartType.TabIndex              = 1;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxLineTension_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(160, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Chart &Type:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Range3D
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "Range3D";
     this.Size  = new System.Drawing.Size(728, 384);
     this.Load += new System.EventHandler(this.Range3D_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 578);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 220);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 890);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 725);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 350);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(6, 100);
     this.label9            = new System.Windows.Forms.Label();
     this.panel1            = new System.Windows.Forms.Panel();
     this.comboBoxChartType = new System.Windows.Forms.ComboBox();
     this.label1            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label15           = new System.Windows.Forms.Label();
     this.Chart1            = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 8);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 40);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to interactively change series data values. Click an" +
                            "d drag the data points within the plot area.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 19;
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.Items.AddRange(new object[] {
         "Point",
         "Line",
         "Spline",
         "Column",
         "Cylinder",
         "Area",
         "SplineArea"
     });
     this.comboBoxChartType.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxChartType.TabIndex              = 9;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(24, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(136, 23);
     this.label1.TabIndex  = 8;
     this.label1.Text      = "Chart &Type:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor              = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackGradientStyle      = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor     = System.Drawing.Color.White;
     this.Chart1.BorderlineColor        = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth        = 2;
     this.Chart1.BorderSkin.SkinStyle   = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D    = true;
     chartArea1.Area3DStyle.Inclination = 15;
     chartArea1.Area3DStyle.IsClustered = true;
     chartArea1.Area3DStyle.LightStyle  = System.Windows.Forms.DataVisualization.Charting.LightStyle.Realistic;
     chartArea1.Area3DStyle.Rotation    = 10;
     chartArea1.Area3DStyle.WallWidth   = 0;
     chartArea1.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.IncreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont)
                                                                                                                  | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.IsStaggered = true;
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.LabelStyle.Enabled = false;
     chartArea1.AxisX2.MajorGrid.Enabled  = false;
     chartArea1.AxisX2.MajorTickMark.Size = 2F;
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor          = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 60);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.LabelFormat  = "N2";
     series1.Legend       = "Default";
     series1.MarkerSize   = 20;
     series1.Name         = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     this.Chart1.Series.Add(series1);
     this.Chart1.Size       = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex   = 0;
     this.Chart1.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.Chart1_MouseUp);
     this.Chart1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Chart1_MouseMove);
     this.Chart1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Chart1_MouseDown);
     //
     // PointsDragging
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "PointsDragging";
     this.Size  = new System.Drawing.Size(728, 376);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #45
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();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     this.chart1       = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.button1      = new System.Windows.Forms.Button();
     this.button3      = new System.Windows.Forms.Button();
     this.button2      = new System.Windows.Forms.Button();
     this.button4      = new System.Windows.Forms.Button();
     this.button5      = new System.Windows.Forms.Button();
     this.button6      = new System.Windows.Forms.Button();
     this.button7      = new System.Windows.Forms.Button();
     this.button8      = new System.Windows.Forms.Button();
     this.button9      = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(12, 12);
     this.chart1.Name     = "chart1";
     this.chart1.Size     = new System.Drawing.Size(669, 394);
     this.chart1.TabIndex = 0;
     this.chart1.Text     = "chart1";
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)));
     this.richTextBox1.Font     = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(186)));
     this.richTextBox1.Location = new System.Drawing.Point(12, 412);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(669, 251);
     this.richTextBox1.TabIndex = 1;
     this.richTextBox1.Text     = "";
     //
     // button1
     //
     this.button1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Location = new System.Drawing.Point(692, 643);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 2;
     this.button1.Text     = "End";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(692, 12);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(156, 25);
     this.button3.TabIndex = 4;
     this.button3.Text     = "F(x) Scanner method";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(776, 643);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(72, 23);
     this.button2.TabIndex = 5;
     this.button2.Text     = "Clear";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button4
     //
     this.button4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button4.Location = new System.Drawing.Point(692, 43);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(156, 23);
     this.button4.TabIndex = 6;
     this.button4.Text     = "F(x) Cord method";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.Location = new System.Drawing.Point(692, 72);
     this.button5.Name     = "button5";
     this.button5.Size     = new System.Drawing.Size(156, 23);
     this.button5.TabIndex = 7;
     this.button5.Text     = "F(x) Secant method";
     this.button5.UseVisualStyleBackColor = true;
     this.button5.Click += new System.EventHandler(this.button5_Click);
     //
     // button6
     //
     this.button6.Location = new System.Drawing.Point(692, 124);
     this.button6.Name     = "button6";
     this.button6.Size     = new System.Drawing.Size(156, 23);
     this.button6.TabIndex = 8;
     this.button6.Text     = "G(x) Scanner method";
     this.button6.UseVisualStyleBackColor = true;
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // button7
     //
     this.button7.Location = new System.Drawing.Point(692, 153);
     this.button7.Name     = "button7";
     this.button7.Size     = new System.Drawing.Size(156, 23);
     this.button7.TabIndex = 9;
     this.button7.Text     = "G(x) Cord method";
     this.button7.UseVisualStyleBackColor = true;
     this.button7.Click += new System.EventHandler(this.button7_Click);
     //
     // button8
     //
     this.button8.Location = new System.Drawing.Point(692, 182);
     this.button8.Name     = "button8";
     this.button8.Size     = new System.Drawing.Size(156, 23);
     this.button8.TabIndex = 10;
     this.button8.Text     = "G(x) Secant method";
     this.button8.UseVisualStyleBackColor = true;
     this.button8.Click += new System.EventHandler(this.button8_Click);
     //
     // button9
     //
     this.button9.Location = new System.Drawing.Point(692, 239);
     this.button9.Name     = "button9";
     this.button9.Size     = new System.Drawing.Size(156, 23);
     this.button9.TabIndex = 11;
     this.button9.Text     = "Turis\r\n";
     this.button9.UseVisualStyleBackColor = true;
     this.button9.Click += new System.EventHandler(this.button9_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(858, 678);
     this.Controls.Add(this.button9);
     this.Controls.Add(this.button8);
     this.Controls.Add(this.button7);
     this.Controls.Add(this.button6);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.chart1);
     this.Name = "Form1";
     this.Text = "Skaitiniai metodai ir Algoritmai";
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     this.label9       = new System.Windows.Forms.Label();
     this.panel1       = new System.Windows.Forms.Panel();
     this.RemoveButton = new System.Windows.Forms.Button();
     this.AddButton    = new System.Windows.Forms.Button();
     this.label8       = new System.Windows.Forms.Label();
     this.label7       = new System.Windows.Forms.Label();
     this.label6       = new System.Windows.Forms.Label();
     this.label5       = new System.Windows.Forms.Label();
     this.label4       = new System.Windows.Forms.Label();
     this.label3       = new System.Windows.Forms.Label();
     this.label15      = new System.Windows.Forms.Label();
     this.Chart1       = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1       = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label9.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 39);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample demonstrates how to add and remove a data series from the Chart contr" +
                            "ol.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.RemoveButton);
     this.panel1.Controls.Add(this.AddButton);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 19;
     //
     // RemoveButton
     //
     this.RemoveButton.BackColor = System.Drawing.SystemColors.Control;
     this.RemoveButton.Location  = new System.Drawing.Point(48, 40);
     this.RemoveButton.Name      = "RemoveButton";
     this.RemoveButton.Size      = new System.Drawing.Size(88, 23);
     this.RemoveButton.TabIndex  = 9;
     this.RemoveButton.Text      = "&Remove";
     this.RemoveButton.UseVisualStyleBackColor = false;
     this.RemoveButton.Click += new System.EventHandler(this.RemoveButton_Click);
     //
     // AddButton
     //
     this.AddButton.BackColor = System.Drawing.SystemColors.Control;
     this.AddButton.Location  = new System.Drawing.Point(48, 4);
     this.AddButton.Name      = "AddButton";
     this.AddButton.Size      = new System.Drawing.Size(88, 23);
     this.AddButton.TabIndex  = 8;
     this.AddButton.Text      = "&Add";
     this.AddButton.UseVisualStyleBackColor = false;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(64, 472);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(100, 23);
     this.label8.TabIndex = 7;
     this.label8.Text     = "Shadow Offset:";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(64, 449);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(100, 23);
     this.label7.TabIndex = 6;
     this.label7.Text     = "Border Style:";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(100, 23);
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor         = System.Drawing.Color.Transparent;
     legend1.DockedToChartArea = "Default";
     legend1.Docking           = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsDockedInsideChartArea = false;
     legend1.IsTextAutoFit           = false;
     legend1.LegendStyle             = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(8, 56);
     this.Chart1.Name     = "Chart1";
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(8, 368);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(702, 45);
     this.label1.TabIndex = 20;
     this.label1.Text     = "This sample also uses serialization to automatically save and load the data and a" +
                            "ppearance properties.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AddingSeries
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "AddingSeries";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.AddingSeries_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.StripLine stripLine1  = new System.Windows.Forms.DataVisualization.Charting.StripLine();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 400);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 700);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 450);
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 350);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 80);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 400);
     System.Windows.Forms.DataVisualization.Charting.Series    series3     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 500);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 120);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 50);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 130);
     this.TheFont           = new System.Windows.Forms.ComboBox();
     this.FontColorCombo    = new System.Windows.Forms.ComboBox();
     this.TitlePosition     = new System.Windows.Forms.ComboBox();
     this.FontSize          = new System.Windows.Forms.ComboBox();
     this.label5            = new System.Windows.Forms.Label();
     this.label6            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.label8            = new System.Windows.Forms.Label();
     this.label9            = new System.Windows.Forms.Label();
     this.panel1            = new System.Windows.Forms.Panel();
     this.label2            = new System.Windows.Forms.Label();
     this.TitleLinePosition = new System.Windows.Forms.ComboBox();
     this.label1            = new System.Windows.Forms.Label();
     this.StrikeoutCheck    = new System.Windows.Forms.CheckBox();
     this.UnderlineCheck    = new System.Windows.Forms.CheckBox();
     this.BoldCheck         = new System.Windows.Forms.CheckBox();
     this.Title             = new System.Windows.Forms.TextBox();
     this.ItalicCheck       = new System.Windows.Forms.CheckBox();
     this.AntiAliasingCheck = new System.Windows.Forms.CheckBox();
     this.Chart1            = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // TheFont
     //
     this.TheFont.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.TheFont.Location              = new System.Drawing.Point(168, 104);
     this.TheFont.Name                  = "TheFont";
     this.TheFont.Size                  = new System.Drawing.Size(116, 22);
     this.TheFont.TabIndex              = 7;
     this.TheFont.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontColorCombo
     //
     this.FontColorCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontColorCombo.Location              = new System.Drawing.Point(168, 168);
     this.FontColorCombo.Name                  = "FontColorCombo";
     this.FontColorCombo.Size                  = new System.Drawing.Size(116, 22);
     this.FontColorCombo.TabIndex              = 11;
     this.FontColorCombo.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // TitlePosition
     //
     this.TitlePosition.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.TitlePosition.Location              = new System.Drawing.Point(168, 40);
     this.TitlePosition.Name                  = "TitlePosition";
     this.TitlePosition.Size                  = new System.Drawing.Size(116, 22);
     this.TitlePosition.TabIndex              = 3;
     this.TitlePosition.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontSize
     //
     this.FontSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontSize.Items.AddRange(new object[] {
         "8",
         "10",
         "12",
         "14",
         "16"
     });
     this.FontSize.Location              = new System.Drawing.Point(168, 136);
     this.FontSize.Name                  = "FontSize";
     this.FontSize.Size                  = new System.Drawing.Size(116, 22);
     this.FontSize.TabIndex              = 9;
     this.FontSize.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(20, 107);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(144, 16);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "&Font:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(20, 43);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(144, 16);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "Horizontal &Alignment:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(20, 171);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(144, 16);
     this.label7.TabIndex  = 10;
     this.label7.Text      = "Font &Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(20, 139);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(144, 16);
     this.label8.TabIndex  = 8;
     this.label8.Text      = "Font &Size:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to set a StripLine object\'s title.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.TitleLinePosition);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.StrikeoutCheck);
     this.panel1.Controls.Add(this.UnderlineCheck);
     this.panel1.Controls.Add(this.BoldCheck);
     this.panel1.Controls.Add(this.Title);
     this.panel1.Controls.Add(this.ItalicCheck);
     this.panel1.Controls.Add(this.TitlePosition);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.TheFont);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.FontSize);
     this.panel1.Controls.Add(this.FontColorCombo);
     this.panel1.Controls.Add(this.AntiAliasingCheck);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 360);
     this.panel1.TabIndex = 2;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(20, 7);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(144, 16);
     this.label2.TabIndex  = 0;
     this.label2.Text      = "Title &Text:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // TitleLinePosition
     //
     this.TitleLinePosition.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.TitleLinePosition.Location              = new System.Drawing.Point(168, 72);
     this.TitleLinePosition.Name                  = "TitleLinePosition";
     this.TitleLinePosition.Size                  = new System.Drawing.Size(116, 22);
     this.TitleLinePosition.TabIndex              = 5;
     this.TitleLinePosition.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(20, 75);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 16);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "&Vertical Alignment:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // StrikeoutCheck
     //
     this.StrikeoutCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.StrikeoutCheck.Location        = new System.Drawing.Point(19, 296);
     this.StrikeoutCheck.Name            = "StrikeoutCheck";
     this.StrikeoutCheck.Size            = new System.Drawing.Size(162, 24);
     this.StrikeoutCheck.TabIndex        = 15;
     this.StrikeoutCheck.Text            = "S&trikeout:";
     this.StrikeoutCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.StrikeoutCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // UnderlineCheck
     //
     this.UnderlineCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.UnderlineCheck.Location        = new System.Drawing.Point(19, 264);
     this.UnderlineCheck.Name            = "UnderlineCheck";
     this.UnderlineCheck.Size            = new System.Drawing.Size(162, 24);
     this.UnderlineCheck.TabIndex        = 14;
     this.UnderlineCheck.Text            = "&Underline:";
     this.UnderlineCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.UnderlineCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // BoldCheck
     //
     this.BoldCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.BoldCheck.Location        = new System.Drawing.Point(19, 232);
     this.BoldCheck.Name            = "BoldCheck";
     this.BoldCheck.Size            = new System.Drawing.Size(162, 24);
     this.BoldCheck.TabIndex        = 13;
     this.BoldCheck.Text            = "&Bold:";
     this.BoldCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.BoldCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // Title
     //
     this.Title.Location     = new System.Drawing.Point(168, 4);
     this.Title.Name         = "Title";
     this.Title.Size         = new System.Drawing.Size(116, 22);
     this.Title.TabIndex     = 1;
     this.Title.Text         = "Strip Line Title";
     this.Title.TextChanged += new System.EventHandler(this.ControlChange);
     //
     // ItalicCheck
     //
     this.ItalicCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.ItalicCheck.Location        = new System.Drawing.Point(19, 200);
     this.ItalicCheck.Name            = "ItalicCheck";
     this.ItalicCheck.Size            = new System.Drawing.Size(162, 24);
     this.ItalicCheck.TabIndex        = 12;
     this.ItalicCheck.Text            = "&Italic:";
     this.ItalicCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.ItalicCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // AntiAliasingCheck
     //
     this.AntiAliasingCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.AntiAliasingCheck.Checked         = true;
     this.AntiAliasingCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.AntiAliasingCheck.Location        = new System.Drawing.Point(16, 328);
     this.AntiAliasingCheck.Name            = "AntiAliasingCheck";
     this.AntiAliasingCheck.Size            = new System.Drawing.Size(162, 24);
     this.AntiAliasingCheck.TabIndex        = 16;
     this.AntiAliasingCheck.Text            = "Anti Alia&sing:";
     this.AntiAliasingCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.AntiAliasingCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.PointGapDepth    = 0;
     chartArea1.Area3DStyle.Rotation         = 5;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     stripLine1.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
     stripLine1.Interval       = 3;
     stripLine1.IntervalOffset = 0.5;
     stripLine1.StripWidth     = 2;
     chartArea1.AxisX.StripLines.Add(stripLine1);
     chartArea1.AxisX2.MajorGrid.Enabled  = false;
     chartArea1.AxisY.IsLabelAutoFit      = false;
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.MajorGrid.Enabled  = false;
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Enabled   = false;
     legend1.Name      = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.BorderWidth  = 3;
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.Legend       = "Default";
     series1.Name         = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.ShadowColor = System.Drawing.Color.Transparent;
     series1.XValueType  = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType  = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderWidth = 3;
     series2.ChartArea   = "Default";
     series2.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series2.Legend      = "Default";
     series2.Name        = "Series2";
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series3.BorderWidth = 3;
     series3.ChartArea   = "Default";
     series3.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series3.Legend      = "Default";
     series3.Name        = "Series3";
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     series3.Points.Add(dataPoint13);
     series3.Points.Add(dataPoint14);
     series3.Points.Add(dataPoint15);
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     //
     // StripLineTitle
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "StripLineTitle";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #48
0
 /// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 =
         new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 =
         new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5.6999998092651367);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3.2000000476837158);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6.5);
     System.Windows.Forms.DataVisualization.Charting.Series series2 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint16 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint17 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint18 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.Series series3 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint19 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 4);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint20 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint21 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint22 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint23 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint24 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint25 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint26 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint27 =
         new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.Title title1 =
         new System.Windows.Forms.DataVisualization.Charting.Title();
     this._chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this._labelSampleComment = new System.Windows.Forms.Label();
     this._panel1             = new System.Windows.Forms.Panel();
     this._checkClustered     = new System.Windows.Forms.CheckBox();
     this._rotation           = new System.Windows.Forms.NumericUpDown();
     this._inclination        = new System.Windows.Forms.NumericUpDown();
     this._label2             = new System.Windows.Forms.Label();
     this._label1             = new System.Windows.Forms.Label();
     this._rightAngleAxis     = new System.Windows.Forms.CheckBox();
     this._checkBoxShowMargin = new System.Windows.Forms.CheckBox();
     this._radioButtonColumn  = new System.Windows.Forms.RadioButton();
     this._radioButtonBar     = new System.Windows.Forms.RadioButton();
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).BeginInit();
     this._panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._rotation)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._inclination)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     this._chart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))),
                                                            ((int)(((byte)(240)))));
     this._chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this._chart1.BorderlineColor   = System.Drawing.Color.FromArgb(((int)(((byte)(26)))),
                                                                    ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this._chart1.BorderlineDashStyle        = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this._chart1.BorderlineWidth            = 2;
     this._chart1.BorderSkin.SkinStyle       = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D         = true;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelStyle.Font =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))),
                                                          ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                   ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this._chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this._chart1.Legends.Add(legend1);
     this._chart1.Location = new System.Drawing.Point(16, 58);
     this._chart1.Name     = "_chart1";
     series1.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                           ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea = "Default";
     series1.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))),
                                                       ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.Legend = "Default";
     series1.Name   = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.Points.Add(dataPoint8);
     series1.Points.Add(dataPoint9);
     series2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                         ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea = "Default";
     series2.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))),
                                                       ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.Legend = "Default";
     series2.Name   = "Series2";
     series2.Points.Add(dataPoint10);
     series2.Points.Add(dataPoint11);
     series2.Points.Add(dataPoint12);
     series2.Points.Add(dataPoint13);
     series2.Points.Add(dataPoint14);
     series2.Points.Add(dataPoint15);
     series2.Points.Add(dataPoint16);
     series2.Points.Add(dataPoint17);
     series2.Points.Add(dataPoint18);
     series3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                         ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series3.ChartArea = "Default";
     series3.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(224)))),
                                                       ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series3.Legend = "Default";
     series3.Name   = "Series3";
     series3.Points.Add(dataPoint19);
     series3.Points.Add(dataPoint20);
     series3.Points.Add(dataPoint21);
     series3.Points.Add(dataPoint22);
     series3.Points.Add(dataPoint23);
     series3.Points.Add(dataPoint24);
     series3.Points.Add(dataPoint25);
     series3.Points.Add(dataPoint26);
     series3.Points.Add(dataPoint27);
     this._chart1.Series.Add(series1);
     this._chart1.Series.Add(series2);
     this._chart1.Series.Add(series3);
     this._chart1.Size     = new System.Drawing.Size(412, 296);
     this._chart1.TabIndex = 1;
     title1.Font           = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))),
                                                           ((int)(((byte)(105)))));
     title1.Name        = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))),
                                                        ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text         = "3D Bar and Column charts.";
     this._chart1.Titles.Add(title1);
     //
     // labelSampleComment
     //
     this._labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                             System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this._labelSampleComment.Name     = "_labelSampleComment";
     this._labelSampleComment.Size     = new System.Drawing.Size(702, 42);
     this._labelSampleComment.TabIndex = 0;
     this._labelSampleComment.Text     =
         "This sample demonstrates 3D Column and Bar charts. It also shows chart area rotat" +
         "ion and isometric projection,�as well as clustering of�series. ";
     this._labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this._panel1.Controls.Add(this._checkClustered);
     this._panel1.Controls.Add(this._rotation);
     this._panel1.Controls.Add(this._inclination);
     this._panel1.Controls.Add(this._label2);
     this._panel1.Controls.Add(this._label1);
     this._panel1.Controls.Add(this._rightAngleAxis);
     this._panel1.Controls.Add(this._checkBoxShowMargin);
     this._panel1.Controls.Add(this._radioButtonColumn);
     this._panel1.Controls.Add(this._radioButtonBar);
     this._panel1.Location = new System.Drawing.Point(432, 66);
     this._panel1.Name     = "_panel1";
     this._panel1.Size     = new System.Drawing.Size(292, 288);
     this._panel1.TabIndex = 2;
     //
     // checkClustered
     //
     this._checkClustered.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._checkClustered.Checked         = true;
     this._checkClustered.CheckState      = System.Windows.Forms.CheckState.Checked;
     this._checkClustered.Location        = new System.Drawing.Point(37, 136);
     this._checkClustered.Name            = "_checkClustered";
     this._checkClustered.Size            = new System.Drawing.Size(144, 24);
     this._checkClustered.TabIndex        = 4;
     this._checkClustered.Text            = "&Clustered:";
     this._checkClustered.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._checkClustered.CheckedChanged += new System.EventHandler(this.checkClustered_CheckedChanged);
     //
     // Rotation
     //
     this._rotation.Increment = new decimal(new int[]
     {
         10,
         0,
         0,
         0
     });
     this._rotation.Location = new System.Drawing.Point(168, 200);
     this._rotation.Maximum  = new decimal(new int[]
     {
         1000,
         0,
         0,
         0
     });
     this._rotation.Minimum = new decimal(new int[]
     {
         1000,
         0,
         0,
         -2147483648
     });
     this._rotation.Name     = "_rotation";
     this._rotation.Size     = new System.Drawing.Size(56, 22);
     this._rotation.TabIndex = 8;
     this._rotation.Value    = new decimal(new int[]
     {
         15,
         0,
         0,
         0
     });
     this._rotation.ValueChanged += new System.EventHandler(this.Rotation_ValueChanged);
     //
     // Inclination
     //
     this._inclination.Increment = new decimal(new int[]
     {
         10,
         0,
         0,
         0
     });
     this._inclination.Location = new System.Drawing.Point(168, 168);
     this._inclination.Maximum  = new decimal(new int[]
     {
         1000,
         0,
         0,
         0
     });
     this._inclination.Minimum = new decimal(new int[]
     {
         1000,
         0,
         0,
         -2147483648
     });
     this._inclination.Name     = "_inclination";
     this._inclination.Size     = new System.Drawing.Size(56, 22);
     this._inclination.TabIndex = 6;
     this._inclination.Value    = new decimal(new int[]
     {
         15,
         0,
         0,
         0
     });
     this._inclination.ValueChanged += new System.EventHandler(this.Inclination_ValueChanged);
     //
     // label2
     //
     this._label2.Location  = new System.Drawing.Point(61, 200);
     this._label2.Name      = "_label2";
     this._label2.Size      = new System.Drawing.Size(104, 23);
     this._label2.TabIndex  = 7;
     this._label2.Text      = "Rotate &Y:";
     this._label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this._label1.Location  = new System.Drawing.Point(69, 168);
     this._label1.Name      = "_label1";
     this._label1.Size      = new System.Drawing.Size(96, 23);
     this._label1.TabIndex  = 5;
     this._label1.Text      = "Rotate &X:";
     this._label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // RightAngleAxis
     //
     this._rightAngleAxis.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._rightAngleAxis.Location        = new System.Drawing.Point(37, 104);
     this._rightAngleAxis.Name            = "_rightAngleAxis";
     this._rightAngleAxis.Size            = new System.Drawing.Size(144, 24);
     this._rightAngleAxis.TabIndex        = 3;
     this._rightAngleAxis.Text            = "&Right Angle Axes:";
     this._rightAngleAxis.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._rightAngleAxis.CheckedChanged += new System.EventHandler(this.RightAngleAxis_CheckedChanged);
     //
     // checkBoxShowMargin
     //
     this._checkBoxShowMargin.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._checkBoxShowMargin.Checked         = true;
     this._checkBoxShowMargin.CheckState      = System.Windows.Forms.CheckState.Checked;
     this._checkBoxShowMargin.Location        = new System.Drawing.Point(5, 72);
     this._checkBoxShowMargin.Name            = "_checkBoxShowMargin";
     this._checkBoxShowMargin.Size            = new System.Drawing.Size(176, 24);
     this._checkBoxShowMargin.TabIndex        = 2;
     this._checkBoxShowMargin.Text            = "Show X Axis &Margin:";
     this._checkBoxShowMargin.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._checkBoxShowMargin.CheckedChanged += new System.EventHandler(this.checkBoxShowMargin_CheckedChanged);
     //
     // radioButtonColumn
     //
     this._radioButtonColumn.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._radioButtonColumn.Checked         = true;
     this._radioButtonColumn.Location        = new System.Drawing.Point(27, 40);
     this._radioButtonColumn.Name            = "_radioButtonColumn";
     this._radioButtonColumn.Size            = new System.Drawing.Size(152, 24);
     this._radioButtonColumn.TabIndex        = 1;
     this._radioButtonColumn.TabStop         = true;
     this._radioButtonColumn.Text            = "3D C&olumn Chart:";
     this._radioButtonColumn.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._radioButtonColumn.CheckedChanged += new System.EventHandler(this.radioButtonColumn_CheckedChanged);
     //
     // radioButtonBar
     //
     this._radioButtonBar.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this._radioButtonBar.Location        = new System.Drawing.Point(43, 8);
     this._radioButtonBar.Name            = "_radioButtonBar";
     this._radioButtonBar.Size            = new System.Drawing.Size(136, 24);
     this._radioButtonBar.TabIndex        = 0;
     this._radioButtonBar.Text            = "3D &Bar Chart:";
     this._radioButtonBar.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._radioButtonBar.CheckedChanged += new System.EventHandler(this.radioButtonBar_CheckedChanged);
     //
     // BarColumn3D
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this._panel1);
     this.Controls.Add(this._labelSampleComment);
     this.Controls.Add(this._chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular,
                                         System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "BarColumn3D";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.BarColumn3D_Load);
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).EndInit();
     this._panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._rotation)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._inclination)).EndInit();
     this.ResumeLayout(false);
 }
예제 #49
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend2    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Title     title2     = new System.Windows.Forms.DataVisualization.Charting.Title();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend3    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Title     title3     = new System.Windows.Forms.DataVisualization.Charting.Title();
     System.ComponentModel.ComponentResourceManager            resources  = new System.ComponentModel.ComponentResourceManager(typeof(FormTagReader));
     this.listView_Data          = new System.Windows.Forms.ListView();
     this.columnHeader_Epc       = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Antenna   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_TimeStamp = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Rssi      = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Phase     = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Doppler   = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_Velocity  = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader_TagCount  = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.chart_Rssi             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.chart_Phase            = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.chart_Doppler          = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label_EPC                        = new System.Windows.Forms.Label();
     this.comboBoxEPCs                     = new System.Windows.Forms.ComboBox();
     this.label_Antenna                    = new System.Windows.Forms.Label();
     this.comboBoxAntennas                 = new System.Windows.Forms.ComboBox();
     this.menuStrip1                       = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Save           = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Copy           = new System.Windows.Forms.ToolStripMenuItem();
     this.debugToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Connect        = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Start          = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Stop           = new System.Windows.Forms.ToolStripMenuItem();
     this.settingsToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Settings       = new System.Windows.Forms.ToolStripMenuItem();
     this.viewToolStripMenuItem            = new System.Windows.Forms.ToolStripMenuItem();
     this.quickAccessToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.readerSettingsToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_Help           = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_About          = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStrip_QuickAccess            = new System.Windows.Forms.ToolStrip();
     this.toolStripButton_Save             = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1              = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton_Connect          = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Start            = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Stop             = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Clear            = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Refresh          = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2              = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton_Settings         = new System.Windows.Forms.ToolStripButton();
     this.statusStrip1                     = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel_Message     = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripProgressBar             = new System.Windows.Forms.ToolStripProgressBar();
     this.toolStripStatusLabel_NameReport  = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_TotalReport = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_NameEvent   = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_TotalEvent  = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_RunTime     = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStrip_ReaderSettings         = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel_Address           = new System.Windows.Forms.ToolStripLabel();
     this.toolStripTextBox_Address         = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripLabel_Power             = new System.Windows.Forms.ToolStripLabel();
     this.toolStripTextBox_Power           = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripLabel_Frequency         = new System.Windows.Forms.ToolStripLabel();
     this.toolStripComboBox_Frequency      = new System.Windows.Forms.ToolStripComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.chart_Rssi)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart_Phase)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart_Doppler)).BeginInit();
     this.menuStrip1.SuspendLayout();
     this.toolStrip_QuickAccess.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.toolStrip_ReaderSettings.SuspendLayout();
     this.SuspendLayout();
     //
     // listView_Data
     //
     this.listView_Data.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.listView_Data.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader_Epc,
         this.columnHeader_Antenna,
         this.columnHeader_TimeStamp,
         this.columnHeader_Rssi,
         this.columnHeader_Phase,
         this.columnHeader_Doppler,
         this.columnHeader_Velocity,
         this.columnHeader_TagCount
     });
     this.listView_Data.Font      = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listView_Data.GridLines = true;
     this.listView_Data.Location  = new System.Drawing.Point(12, 48);
     this.listView_Data.Name      = "listView_Data";
     this.listView_Data.Size      = new System.Drawing.Size(897, 245);
     this.listView_Data.TabIndex  = 9;
     this.listView_Data.UseCompatibleStateImageBehavior = false;
     this.listView_Data.View = System.Windows.Forms.View.Details;
     //
     // columnHeader_Epc
     //
     this.columnHeader_Epc.Text  = "EPC";
     this.columnHeader_Epc.Width = 120;
     //
     // columnHeader_Antenna
     //
     this.columnHeader_Antenna.Text      = "Antenna";
     this.columnHeader_Antenna.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // columnHeader_TimeStamp
     //
     this.columnHeader_TimeStamp.Text      = "TimeStamp";
     this.columnHeader_TimeStamp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_TimeStamp.Width     = 120;
     //
     // columnHeader_Rssi
     //
     this.columnHeader_Rssi.Text      = "Rssi";
     this.columnHeader_Rssi.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_Rssi.Width     = 120;
     //
     // columnHeader_Phase
     //
     this.columnHeader_Phase.Text      = "Phase";
     this.columnHeader_Phase.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_Phase.Width     = 120;
     //
     // columnHeader_Doppler
     //
     this.columnHeader_Doppler.Text      = "Doppler Shift";
     this.columnHeader_Doppler.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_Doppler.Width     = 120;
     //
     // columnHeader_Velocity
     //
     this.columnHeader_Velocity.Text      = "Velocity";
     this.columnHeader_Velocity.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_Velocity.Width     = 120;
     //
     // columnHeader_TagCount
     //
     this.columnHeader_TagCount.Text      = "TagCount";
     this.columnHeader_TagCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.columnHeader_TagCount.Width     = 120;
     //
     // chart_Rssi
     //
     this.chart_Rssi.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.chart_Rssi.BackColor            = System.Drawing.Color.Transparent;
     this.chart_Rssi.BorderlineColor      = System.Drawing.Color.Transparent;
     chartArea1.AxisX.MajorGrid.LineWidth = 0;
     chartArea1.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.MajorGrid.LineWidth = 0;
     chartArea1.AxisY.Maximum             = -20D;
     chartArea1.AxisY.Minimum             = -70D;
     chartArea1.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor   = System.Drawing.Color.Transparent;
     chartArea1.BorderColor = System.Drawing.Color.Transparent;
     chartArea1.Name        = "ChartArea1";
     this.chart_Rssi.ChartAreas.Add(chartArea1);
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Docking   = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.Name      = "Legend1";
     this.chart_Rssi.Legends.Add(legend1);
     this.chart_Rssi.Location = new System.Drawing.Point(12, 329);
     this.chart_Rssi.Name     = "chart_Rssi";
     this.chart_Rssi.Size     = new System.Drawing.Size(283, 236);
     this.chart_Rssi.TabIndex = 13;
     this.chart_Rssi.Text     = "chart_Rssi";
     title1.Name = "Title_Rssi";
     title1.Text = "RSSI";
     this.chart_Rssi.Titles.Add(title1);
     //
     // chart_Phase
     //
     this.chart_Phase.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.chart_Phase.BackColor           = System.Drawing.Color.Transparent;
     this.chart_Phase.BorderlineColor     = System.Drawing.Color.Transparent;
     chartArea2.AxisX.MajorGrid.LineWidth = 0;
     chartArea2.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea2.AxisY.MajorGrid.LineWidth = 0;
     chartArea2.AxisY.Maximum             = 6.3D;
     chartArea2.AxisY.Minimum             = 0D;
     chartArea2.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea2.BackColor = System.Drawing.Color.Transparent;
     chartArea2.Name      = "ChartArea2";
     this.chart_Phase.ChartAreas.Add(chartArea2);
     legend2.BackColor = System.Drawing.Color.Transparent;
     legend2.Docking   = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend2.Name      = "Legend2";
     this.chart_Phase.Legends.Add(legend2);
     this.chart_Phase.Location = new System.Drawing.Point(319, 329);
     this.chart_Phase.Name     = "chart_Phase";
     this.chart_Phase.Size     = new System.Drawing.Size(283, 236);
     this.chart_Phase.TabIndex = 14;
     this.chart_Phase.Text     = "chart_Phase";
     title2.Name = "Title_Phase";
     title2.Text = "Phase";
     this.chart_Phase.Titles.Add(title2);
     //
     // chart_Doppler
     //
     this.chart_Doppler.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.chart_Doppler.BackColor         = System.Drawing.Color.Transparent;
     this.chart_Doppler.BorderlineColor   = System.Drawing.Color.Transparent;
     chartArea3.AxisX.MajorGrid.LineWidth = 0;
     chartArea3.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea3.AxisY.MajorGrid.LineWidth = 0;
     chartArea3.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea3.BackColor   = System.Drawing.Color.Transparent;
     chartArea3.BorderColor = System.Drawing.Color.Transparent;
     chartArea3.Name        = "ChartArea3";
     this.chart_Doppler.ChartAreas.Add(chartArea3);
     legend3.BackColor = System.Drawing.Color.Transparent;
     legend3.Docking   = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend3.Name      = "Legend3";
     this.chart_Doppler.Legends.Add(legend3);
     this.chart_Doppler.Location = new System.Drawing.Point(626, 329);
     this.chart_Doppler.Name     = "chart_Doppler";
     this.chart_Doppler.Size     = new System.Drawing.Size(283, 236);
     this.chart_Doppler.TabIndex = 15;
     this.chart_Doppler.Text     = "chart_Doppler";
     title3.Name = "Title_Doppler";
     title3.Text = "Doppler Shift";
     this.chart_Doppler.Titles.Add(title3);
     //
     // label_EPC
     //
     this.label_EPC.AutoSize = true;
     this.label_EPC.Font     = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label_EPC.Location = new System.Drawing.Point(12, 300);
     this.label_EPC.Name     = "label_EPC";
     this.label_EPC.Size     = new System.Drawing.Size(31, 15);
     this.label_EPC.TabIndex = 16;
     this.label_EPC.Text     = "EPC:";
     //
     // comboBoxEPCs
     //
     this.comboBoxEPCs.FormattingEnabled = true;
     this.comboBoxEPCs.Location          = new System.Drawing.Point(49, 298);
     this.comboBoxEPCs.Name     = "comboBoxEPCs";
     this.comboBoxEPCs.Size     = new System.Drawing.Size(174, 20);
     this.comboBoxEPCs.TabIndex = 17;
     //
     // label_Antenna
     //
     this.label_Antenna.AutoSize = true;
     this.label_Antenna.Font     = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label_Antenna.Location = new System.Drawing.Point(261, 300);
     this.label_Antenna.Name     = "label_Antenna";
     this.label_Antenna.Size     = new System.Drawing.Size(58, 15);
     this.label_Antenna.TabIndex = 18;
     this.label_Antenna.Text     = "Antenna:";
     //
     // comboBoxAntennas
     //
     this.comboBoxAntennas.FormattingEnabled = true;
     this.comboBoxAntennas.Location          = new System.Drawing.Point(325, 298);
     this.comboBoxAntennas.Name     = "comboBoxAntennas";
     this.comboBoxAntennas.Size     = new System.Drawing.Size(121, 20);
     this.comboBoxAntennas.TabIndex = 19;
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem,
         this.debugToolStripMenuItem,
         this.settingsToolStripMenuItem
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(921, 24);
     this.menuStrip1.TabIndex = 20;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.ToolStripMenuItem_Save,
         this.ToolStripMenuItem_Copy
     });
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
     this.fileToolStripMenuItem.Text = "File";
     //
     // ToolStripMenuItem_Save
     //
     this.ToolStripMenuItem_Save.Image  = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItem_Save.Image")));
     this.ToolStripMenuItem_Save.Name   = "ToolStripMenuItem_Save";
     this.ToolStripMenuItem_Save.Size   = new System.Drawing.Size(102, 22);
     this.ToolStripMenuItem_Save.Text   = "Save";
     this.ToolStripMenuItem_Save.Click += new System.EventHandler(this.button_Export_Click);
     //
     // ToolStripMenuItem_Copy
     //
     this.ToolStripMenuItem_Copy.Name = "ToolStripMenuItem_Copy";
     this.ToolStripMenuItem_Copy.Size = new System.Drawing.Size(102, 22);
     this.ToolStripMenuItem_Copy.Text = "Copy";
     //
     // debugToolStripMenuItem
     //
     this.debugToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.ToolStripMenuItem_Connect,
         this.ToolStripMenuItem_Start,
         this.ToolStripMenuItem_Stop
     });
     this.debugToolStripMenuItem.Name = "debugToolStripMenuItem";
     this.debugToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
     this.debugToolStripMenuItem.Text = "Debug";
     //
     // ToolStripMenuItem_Connect
     //
     this.ToolStripMenuItem_Connect.Image  = global::TagReader.Properties.Resources.ic_link;
     this.ToolStripMenuItem_Connect.Name   = "ToolStripMenuItem_Connect";
     this.ToolStripMenuItem_Connect.Size   = new System.Drawing.Size(119, 22);
     this.ToolStripMenuItem_Connect.Text   = "Connect";
     this.ToolStripMenuItem_Connect.Click += new System.EventHandler(this.button_Connect_Click);
     //
     // ToolStripMenuItem_Start
     //
     this.ToolStripMenuItem_Start.Image  = global::TagReader.Properties.Resources.play;
     this.ToolStripMenuItem_Start.Name   = "ToolStripMenuItem_Start";
     this.ToolStripMenuItem_Start.Size   = new System.Drawing.Size(119, 22);
     this.ToolStripMenuItem_Start.Text   = "Start";
     this.ToolStripMenuItem_Start.Click += new System.EventHandler(this.button_Start_Click);
     //
     // ToolStripMenuItem_Stop
     //
     this.ToolStripMenuItem_Stop.Image  = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItem_Stop.Image")));
     this.ToolStripMenuItem_Stop.Name   = "ToolStripMenuItem_Stop";
     this.ToolStripMenuItem_Stop.Size   = new System.Drawing.Size(119, 22);
     this.ToolStripMenuItem_Stop.Text   = "Stop";
     this.ToolStripMenuItem_Stop.Click += new System.EventHandler(this.button_Stop_Click);
     //
     // settingsToolStripMenuItem
     //
     this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.ToolStripMenuItem_Settings,
         this.viewToolStripMenuItem,
         this.ToolStripMenuItem_Help,
         this.ToolStripMenuItem_About
     });
     this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
     this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
     this.settingsToolStripMenuItem.Text = "Settings";
     //
     // ToolStripMenuItem_Settings
     //
     this.ToolStripMenuItem_Settings.Image  = global::TagReader.Properties.Resources.settings;
     this.ToolStripMenuItem_Settings.Name   = "ToolStripMenuItem_Settings";
     this.ToolStripMenuItem_Settings.Size   = new System.Drawing.Size(116, 22);
     this.ToolStripMenuItem_Settings.Text   = "Settings";
     this.ToolStripMenuItem_Settings.Click += new System.EventHandler(this.button_Settings_Click);
     //
     // viewToolStripMenuItem
     //
     this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.quickAccessToolStripMenuItem,
         this.readerSettingsToolStripMenuItem
     });
     this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
     this.viewToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
     this.viewToolStripMenuItem.Text = "View";
     //
     // quickAccessToolStripMenuItem
     //
     this.quickAccessToolStripMenuItem.Checked    = true;
     this.quickAccessToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this.quickAccessToolStripMenuItem.Name       = "quickAccessToolStripMenuItem";
     this.quickAccessToolStripMenuItem.Size       = new System.Drawing.Size(155, 22);
     this.quickAccessToolStripMenuItem.Text       = "Quick Access";
     this.quickAccessToolStripMenuItem.Click     += new System.EventHandler(this.quickAccessToolStripMenuItem_Click);
     //
     // readerSettingsToolStripMenuItem
     //
     this.readerSettingsToolStripMenuItem.Checked    = true;
     this.readerSettingsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
     this.readerSettingsToolStripMenuItem.Name       = "readerSettingsToolStripMenuItem";
     this.readerSettingsToolStripMenuItem.Size       = new System.Drawing.Size(155, 22);
     this.readerSettingsToolStripMenuItem.Text       = "Reader Settings";
     this.readerSettingsToolStripMenuItem.Click     += new System.EventHandler(this.readerSettingsToolStripMenuItem_Click);
     //
     // ToolStripMenuItem_Help
     //
     this.ToolStripMenuItem_Help.Name = "ToolStripMenuItem_Help";
     this.ToolStripMenuItem_Help.Size = new System.Drawing.Size(116, 22);
     this.ToolStripMenuItem_Help.Text = "Help";
     //
     // ToolStripMenuItem_About
     //
     this.ToolStripMenuItem_About.Image  = global::TagReader.Properties.Resources.about;
     this.ToolStripMenuItem_About.Name   = "ToolStripMenuItem_About";
     this.ToolStripMenuItem_About.Size   = new System.Drawing.Size(116, 22);
     this.ToolStripMenuItem_About.Text   = "About";
     this.ToolStripMenuItem_About.Click += new System.EventHandler(this.ToolStripMenuItem_About_Click);
     //
     // toolStrip_QuickAccess
     //
     this.toolStrip_QuickAccess.Dock = System.Windows.Forms.DockStyle.None;
     this.toolStrip_QuickAccess.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton_Save,
         this.toolStripSeparator1,
         this.toolStripButton_Connect,
         this.toolStripButton_Start,
         this.toolStripButton_Stop,
         this.toolStripButton_Clear,
         this.toolStripButton_Refresh,
         this.toolStripSeparator2,
         this.toolStripButton_Settings
     });
     this.toolStrip_QuickAccess.Location = new System.Drawing.Point(0, 22);
     this.toolStrip_QuickAccess.Name     = "toolStrip_QuickAccess";
     this.toolStrip_QuickAccess.Size     = new System.Drawing.Size(438, 25);
     this.toolStrip_QuickAccess.TabIndex = 21;
     this.toolStrip_QuickAccess.Text     = "toolStrip1";
     //
     // toolStripButton_Save
     //
     this.toolStripButton_Save.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Save.Image")));
     this.toolStripButton_Save.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Save.Name   = "toolStripButton_Save";
     this.toolStripButton_Save.Size   = new System.Drawing.Size(51, 22);
     this.toolStripButton_Save.Tag    = "";
     this.toolStripButton_Save.Text   = "Save";
     this.toolStripButton_Save.Click += new System.EventHandler(this.button_Export_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton_Connect
     //
     this.toolStripButton_Connect.Image = global::TagReader.Properties.Resources.ic_link;
     this.toolStripButton_Connect.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Connect.Name   = "toolStripButton_Connect";
     this.toolStripButton_Connect.Size   = new System.Drawing.Size(72, 22);
     this.toolStripButton_Connect.Text   = "Connect";
     this.toolStripButton_Connect.Click += new System.EventHandler(this.button_Connect_Click);
     //
     // toolStripButton_Start
     //
     this.toolStripButton_Start.Image = global::TagReader.Properties.Resources.play;
     this.toolStripButton_Start.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Start.Name   = "toolStripButton_Start";
     this.toolStripButton_Start.Size   = new System.Drawing.Size(51, 22);
     this.toolStripButton_Start.Text   = "Start";
     this.toolStripButton_Start.Click += new System.EventHandler(this.button_Start_Click);
     //
     // toolStripButton_Stop
     //
     this.toolStripButton_Stop.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_Stop.Image")));
     this.toolStripButton_Stop.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Stop.Name   = "toolStripButton_Stop";
     this.toolStripButton_Stop.Size   = new System.Drawing.Size(51, 22);
     this.toolStripButton_Stop.Text   = "Stop";
     this.toolStripButton_Stop.Click += new System.EventHandler(this.button_Stop_Click);
     //
     // toolStripButton_Clear
     //
     this.toolStripButton_Clear.Image = global::TagReader.Properties.Resources.delete;
     this.toolStripButton_Clear.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Clear.Name   = "toolStripButton_Clear";
     this.toolStripButton_Clear.Size   = new System.Drawing.Size(54, 22);
     this.toolStripButton_Clear.Text   = "Clear";
     this.toolStripButton_Clear.Click += new System.EventHandler(this.button_Clear_Click);
     //
     // toolStripButton_Refresh
     //
     this.toolStripButton_Refresh.Image = global::TagReader.Properties.Resources.refresh;
     this.toolStripButton_Refresh.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Refresh.Name   = "toolStripButton_Refresh";
     this.toolStripButton_Refresh.Size   = new System.Drawing.Size(66, 22);
     this.toolStripButton_Refresh.Text   = "Refresh";
     this.toolStripButton_Refresh.Click += new System.EventHandler(this.toolStripButton_Refresh_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton_Settings
     //
     this.toolStripButton_Settings.Image = global::TagReader.Properties.Resources.settings;
     this.toolStripButton_Settings.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Settings.Name   = "toolStripButton_Settings";
     this.toolStripButton_Settings.Size   = new System.Drawing.Size(69, 22);
     this.toolStripButton_Settings.Text   = "Settings";
     this.toolStripButton_Settings.Click += new System.EventHandler(this.button_Settings_Click);
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel_Message,
         this.toolStripProgressBar,
         this.toolStripStatusLabel_NameReport,
         this.toolStripStatusLabel_TotalReport,
         this.toolStripStatusLabel_NameEvent,
         this.toolStripStatusLabel_TotalEvent,
         this.toolStripStatusLabel_RunTime
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 568);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(921, 22);
     this.statusStrip1.TabIndex = 22;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // toolStripStatusLabel_Message
     //
     this.toolStripStatusLabel_Message.Name      = "toolStripStatusLabel_Message";
     this.toolStripStatusLabel_Message.Size      = new System.Drawing.Size(537, 17);
     this.toolStripStatusLabel_Message.Spring    = true;
     this.toolStripStatusLabel_Message.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripProgressBar
     //
     this.toolStripProgressBar.Name = "toolStripProgressBar";
     this.toolStripProgressBar.Size = new System.Drawing.Size(100, 16);
     //
     // toolStripStatusLabel_NameReport
     //
     this.toolStripStatusLabel_NameReport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripStatusLabel_NameReport.Name         = "toolStripStatusLabel_NameReport";
     this.toolStripStatusLabel_NameReport.Size         = new System.Drawing.Size(71, 17);
     this.toolStripStatusLabel_NameReport.Text         = "Total Report";
     //
     // toolStripStatusLabel_TotalReport
     //
     this.toolStripStatusLabel_TotalReport.Name = "toolStripStatusLabel_TotalReport";
     this.toolStripStatusLabel_TotalReport.Size = new System.Drawing.Size(13, 17);
     this.toolStripStatusLabel_TotalReport.Text = "0";
     //
     // toolStripStatusLabel_NameEvent
     //
     this.toolStripStatusLabel_NameEvent.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripStatusLabel_NameEvent.Name         = "toolStripStatusLabel_NameEvent";
     this.toolStripStatusLabel_NameEvent.Size         = new System.Drawing.Size(65, 17);
     this.toolStripStatusLabel_NameEvent.Text         = "Total Event";
     //
     // toolStripStatusLabel_TotalEvent
     //
     this.toolStripStatusLabel_TotalEvent.Name = "toolStripStatusLabel_TotalEvent";
     this.toolStripStatusLabel_TotalEvent.Size = new System.Drawing.Size(13, 17);
     this.toolStripStatusLabel_TotalEvent.Text = "0";
     //
     // toolStripStatusLabel_RunTime
     //
     this.toolStripStatusLabel_RunTime.Image = global::TagReader.Properties.Resources.alarm;
     this.toolStripStatusLabel_RunTime.Name  = "toolStripStatusLabel_RunTime";
     this.toolStripStatusLabel_RunTime.Size  = new System.Drawing.Size(74, 17);
     this.toolStripStatusLabel_RunTime.Text  = "Run Time";
     //
     // toolStrip_ReaderSettings
     //
     this.toolStrip_ReaderSettings.Dock = System.Windows.Forms.DockStyle.None;
     this.toolStrip_ReaderSettings.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripLabel_Address,
         this.toolStripTextBox_Address,
         this.toolStripLabel_Power,
         this.toolStripTextBox_Power,
         this.toolStripLabel_Frequency,
         this.toolStripComboBox_Frequency
     });
     this.toolStrip_ReaderSettings.Location = new System.Drawing.Point(438, 22);
     this.toolStrip_ReaderSettings.Name     = "toolStrip_ReaderSettings";
     this.toolStrip_ReaderSettings.Size     = new System.Drawing.Size(428, 25);
     this.toolStrip_ReaderSettings.TabIndex = 23;
     this.toolStrip_ReaderSettings.Text     = "toolStrip2";
     //
     // toolStripLabel_Address
     //
     this.toolStripLabel_Address.Name = "toolStripLabel_Address";
     this.toolStripLabel_Address.Size = new System.Drawing.Size(52, 22);
     this.toolStripLabel_Address.Text = "Address:";
     //
     // toolStripTextBox_Address
     //
     this.toolStripTextBox_Address.Name = "toolStripTextBox_Address";
     this.toolStripTextBox_Address.Size = new System.Drawing.Size(120, 25);
     this.toolStripTextBox_Address.Text = "192.168.1.222";
     //
     // toolStripLabel_Power
     //
     this.toolStripLabel_Power.Name = "toolStripLabel_Power";
     this.toolStripLabel_Power.Size = new System.Drawing.Size(43, 22);
     this.toolStripLabel_Power.Text = "Power:";
     //
     // toolStripTextBox_Power
     //
     this.toolStripTextBox_Power.Name = "toolStripTextBox_Power";
     this.toolStripTextBox_Power.Size = new System.Drawing.Size(50, 25);
     this.toolStripTextBox_Power.Text = "32.5";
     //
     // toolStripLabel_Frequency
     //
     this.toolStripLabel_Frequency.Name = "toolStripLabel_Frequency";
     this.toolStripLabel_Frequency.Size = new System.Drawing.Size(65, 22);
     this.toolStripLabel_Frequency.Text = "Frequency:";
     //
     // toolStripComboBox_Frequency
     //
     this.toolStripComboBox_Frequency.Items.AddRange(new object[] {
         "920.625",
         "920.875",
         "921.125",
         "921.375",
         "921.625",
         "921.875",
         "922.125",
         "922.375",
         "922.625",
         "922.875",
         "923.125",
         "923.375",
         "923.625",
         "923.875",
         "924.125",
         "924.375"
     });
     this.toolStripComboBox_Frequency.Name = "toolStripComboBox_Frequency";
     this.toolStripComboBox_Frequency.Size = new System.Drawing.Size(80, 25);
     this.toolStripComboBox_Frequency.Text = "924.375";
     //
     // FormTagReader
     //
     this.AutoScaleDimensions   = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode         = System.Windows.Forms.AutoScaleMode.Font;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize            = new System.Drawing.Size(921, 590);
     this.Controls.Add(this.toolStrip_ReaderSettings);
     this.Controls.Add(this.statusStrip1);
     this.Controls.Add(this.toolStrip_QuickAccess);
     this.Controls.Add(this.comboBoxAntennas);
     this.Controls.Add(this.label_Antenna);
     this.Controls.Add(this.comboBoxEPCs);
     this.Controls.Add(this.label_EPC);
     this.Controls.Add(this.chart_Doppler);
     this.Controls.Add(this.chart_Phase);
     this.Controls.Add(this.chart_Rssi);
     this.Controls.Add(this.listView_Data);
     this.Controls.Add(this.menuStrip1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip1;
     this.Name          = "FormTagReader";
     this.Text          = "TagReader";
     this.Resize       += new System.EventHandler(this.Form_TagReader_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.chart_Rssi)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart_Phase)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart_Doppler)).EndInit();
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.toolStrip_QuickAccess.ResumeLayout(false);
     this.toolStrip_QuickAccess.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.toolStrip_ReaderSettings.ResumeLayout(false);
     this.toolStrip_ReaderSettings.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series2    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series3    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.label9 = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.checkBoxUseMultipleYAxis = new System.Windows.Forms.CheckBox();
     this.Chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to display a data series using multiple Y axes. ";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBoxUseMultipleYAxis);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // checkBoxUseMultipleYAxis
     //
     this.checkBoxUseMultipleYAxis.Location        = new System.Drawing.Point(48, 8);
     this.checkBoxUseMultipleYAxis.Name            = "checkBoxUseMultipleYAxis";
     this.checkBoxUseMultipleYAxis.Size            = new System.Drawing.Size(172, 24);
     this.checkBoxUseMultipleYAxis.TabIndex        = 0;
     this.checkBoxUseMultipleYAxis.Text            = "Use Multiple &Y Axis: ";
     this.checkBoxUseMultipleYAxis.CheckedChanged += new System.EventHandler(this.checkBoxUseMultipleYAxis_CheckedChanged);
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IntervalAutoMode       = System.Windows.Forms.DataVisualization.Charting.IntervalAutoMode.VariableCount;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format      = "MM/dd";
     chartArea1.AxisX.LabelStyle.Interval    = 0;
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorTickMark.Size     = 2F;
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.IsStartedFromZero      = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LabelStyle.Format      = "N0";
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.BorderWidth  = 2;
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series1.Legend       = "Default";
     series1.Name         = "Series1";
     series1.ShadowColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series1.ShadowOffset = 2;
     series2.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.BorderWidth  = 2;
     series2.ChartArea    = "Default";
     series2.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series2.Legend       = "Default";
     series2.Name         = "Series2";
     series2.ShadowColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series2.ShadowOffset = 2;
     series3.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series3.BorderWidth  = 2;
     series3.ChartArea    = "Default";
     series3.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
     series3.Legend       = "Default";
     series3.Name         = "Series3";
     series3.ShadowColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series3.ShadowOffset = 2;
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size     = new System.Drawing.Size(412, 306);
     this.Chart1.TabIndex = 1;
     //
     // MultipleYAxis
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "MultipleYAxis";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.MultipleYAxis_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #51
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "15,8");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "18,14");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "15,8");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "16,13");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "14,11");
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "9,15");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "8,14");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "12,10");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "9,14");
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, "7,12");
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.chart1                  = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment      = new System.Windows.Forms.Label();
     this.panel1                  = new System.Windows.Forms.Panel();
     this.checkBoxShow3D          = new System.Windows.Forms.CheckBox();
     this.checkBoxShowSizeInLabel = new System.Windows.Forms.CheckBox();
     this.comboBoxMinScale        = new System.Windows.Forms.ComboBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.comboBoxMaxScale        = new System.Windows.Forms.ComboBox();
     this.label3                  = new System.Windows.Forms.Label();
     this.comboBoxMaxSize         = new System.Windows.Forms.ComboBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.comboBoxShape           = new System.Windows.Forms.ComboBox();
     this.label1                  = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D         = true;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location        = new System.Drawing.Point(16, 63);
     this.chart1.Name            = "chart1";
     series1.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea           = "Default";
     series1.ChartType           = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble;
     series1.Color               = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.Font                = new System.Drawing.Font("Trebuchet MS", 9F);
     series1.IsValueShownAsLabel = true;
     series1.Legend              = "Default";
     series1.Name                = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.YValuesPerPoint     = 2;
     series2.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea           = "Default";
     series2.ChartType           = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble;
     series2.Color               = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(255)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series2.Font                = new System.Drawing.Font("Trebuchet MS", 9F);
     series2.IsValueShownAsLabel = true;
     series2.Legend              = "Default";
     series2.Name                = "Series2";
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series2.YValuesPerPoint = 2;
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 0;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Bubble Chart";
     this.chart1.Titles.Add(title1);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 0);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 56);
     this.labelSampleComment.TabIndex = 2;
     this.labelSampleComment.Text     = "This sample displays a Bubble chart that uses different shapes, including an imag" +
                                        "e, for the bubble. It demonstrates how to control the maximum bubble size and sc" +
                                        "ale as well as how to enable 3D.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBoxShow3D);
     this.panel1.Controls.Add(this.checkBoxShowSizeInLabel);
     this.panel1.Controls.Add(this.comboBoxMinScale);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.comboBoxMaxScale);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.comboBoxMaxSize);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBoxShape);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(432, 63);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 280);
     this.panel1.TabIndex = 1;
     //
     // checkBoxShow3D
     //
     this.checkBoxShow3D.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShow3D.Location        = new System.Drawing.Point(13, 170);
     this.checkBoxShow3D.Name            = "checkBoxShow3D";
     this.checkBoxShow3D.Size            = new System.Drawing.Size(168, 24);
     this.checkBoxShow3D.TabIndex        = 9;
     this.checkBoxShow3D.Text            = "Display chart as 3&D:";
     this.checkBoxShow3D.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShow3D.CheckedChanged += new System.EventHandler(this.checkBoxShow3D_CheckedChanged);
     //
     // checkBoxShowSizeInLabel
     //
     this.checkBoxShowSizeInLabel.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowSizeInLabel.Location        = new System.Drawing.Point(-27, 138);
     this.checkBoxShowSizeInLabel.Name            = "checkBoxShowSizeInLabel";
     this.checkBoxShowSizeInLabel.Size            = new System.Drawing.Size(208, 24);
     this.checkBoxShowSizeInLabel.TabIndex        = 8;
     this.checkBoxShowSizeInLabel.Text            = "Show Size in &Labels:";
     this.checkBoxShowSizeInLabel.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowSizeInLabel.CheckedChanged += new System.EventHandler(this.checkBoxShowSizeInLabel_CheckedChanged);
     //
     // comboBoxMinScale
     //
     this.comboBoxMinScale.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMinScale.Items.AddRange(new object[] {
         "Auto",
         "-4",
         "0",
         "4"
     });
     this.comboBoxMinScale.Location              = new System.Drawing.Point(168, 104);
     this.comboBoxMinScale.Name                  = "comboBoxMinScale";
     this.comboBoxMinScale.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxMinScale.TabIndex              = 7;
     this.comboBoxMinScale.SelectedIndexChanged += new System.EventHandler(this.comboBoxMaxScale_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(4, 104);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(160, 23);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Bubble Size M&in. Scale:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxMaxScale
     //
     this.comboBoxMaxScale.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMaxScale.Items.AddRange(new object[] {
         "Auto",
         "20",
         "25",
         "30",
         "40"
     });
     this.comboBoxMaxScale.Location              = new System.Drawing.Point(168, 72);
     this.comboBoxMaxScale.Name                  = "comboBoxMaxScale";
     this.comboBoxMaxScale.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxMaxScale.TabIndex              = 5;
     this.comboBoxMaxScale.SelectedIndexChanged += new System.EventHandler(this.comboBoxMaxScale_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(4, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(160, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Bubble Size Ma&x. Scale:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxMaxSize
     //
     this.comboBoxMaxSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxMaxSize.Items.AddRange(new object[] {
         "5",
         "10",
         "15",
         "20",
         "25"
     });
     this.comboBoxMaxSize.Location              = new System.Drawing.Point(168, 40);
     this.comboBoxMaxSize.Name                  = "comboBoxMaxSize";
     this.comboBoxMaxSize.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxMaxSize.TabIndex              = 3;
     this.comboBoxMaxSize.SelectedIndexChanged += new System.EventHandler(this.comboBoxMaxScale_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(4, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "&Max. Bubble Size:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxShape
     //
     this.comboBoxShape.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxShape.Items.AddRange(new object[] {
         "Circle",
         "Square",
         "Diamond",
         "Triangle",
         "Cross",
         "Image"
     });
     this.comboBoxShape.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxShape.Name                  = "comboBoxShape";
     this.comboBoxShape.Size                  = new System.Drawing.Size(120, 22);
     this.comboBoxShape.TabIndex              = 1;
     this.comboBoxShape.SelectedIndexChanged += new System.EventHandler(this.comboBoxMaxScale_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(160, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Bubble &Shape:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // BubbleChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "BubbleChartType";
     this.Size  = new System.Drawing.Size(728, 392);
     this.Load += new System.EventHandler(this.BubbleChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #52
0
 /// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 =
         new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 =
         new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title1 =
         new System.Windows.Forms.DataVisualization.Charting.Title();
     this._chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this._labelSampleComment = new System.Windows.Forms.Label();
     this._panel1             = new System.Windows.Forms.Panel();
     this._comboBoxSize       = new System.Windows.Forms.ComboBox();
     this._label1             = new System.Windows.Forms.Label();
     this._label3             = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).BeginInit();
     this._panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this._chart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))),
                                                            ((int)(((byte)(193)))));
     this._chart1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this._chart1.BorderlineColor   = System.Drawing.Color.FromArgb(((int)(((byte)(181)))),
                                                                    ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this._chart1.BorderlineDashStyle        = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this._chart1.BorderlineWidth            = 2;
     this._chart1.BorderSkin.SkinStyle       = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelStyle.Font        =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Format = "MMM dd";
     chartArea1.AxisX.LineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                        ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsStartedFromZero = false;
     chartArea1.AxisY.LabelStyle.Font   =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                   ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this._chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this._chart1.Legends.Add(legend1);
     this._chart1.Location = new System.Drawing.Point(16, 37);
     this._chart1.Name     = "_chart1";
     series1.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                           ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea        = "Default";
     series1.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Renko;
     series1.CustomProperties = "PriceUpColor=White";
     series1.IsXValueIndexed  = true;
     series1.Legend           = "Default";
     series1.Name             = "Default";
     series1.XValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Date;
     series1.YValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this._chart1.Series.Add(series1);
     this._chart1.Size     = new System.Drawing.Size(412, 296);
     this._chart1.TabIndex = 0;
     title1.Font           = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))),
                                                           ((int)(((byte)(105)))));
     title1.Name        = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))),
                                                        ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text         = "Renko chart, Box Size 1";
     this._chart1.Titles.Add(title1);
     this._chart1.PrePaint +=
         new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(
             this.chart1_PrePaint);
     //
     // labelSampleComment
     //
     this._labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                             System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._labelSampleComment.Location  = new System.Drawing.Point(16, 8);
     this._labelSampleComment.Name      = "_labelSampleComment";
     this._labelSampleComment.Size      = new System.Drawing.Size(702, 21);
     this._labelSampleComment.TabIndex  = 2;
     this._labelSampleComment.Text      = "This sample demonstrates the Renko chart type.";
     this._labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this._panel1.Controls.Add(this._comboBoxSize);
     this._panel1.Controls.Add(this._label1);
     this._panel1.Location = new System.Drawing.Point(432, 45);
     this._panel1.Name     = "_panel1";
     this._panel1.Size     = new System.Drawing.Size(292, 280);
     this._panel1.TabIndex = 1;
     //
     // comboBoxSize
     //
     this._comboBoxSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBoxSize.Items.AddRange(new object[]
     {
         "0.2",
         "0.5",
         "0.8",
         "1",
         "1.2",
         "1.5",
         "2",
         "Default"
     });
     this._comboBoxSize.Location              = new System.Drawing.Point(168, 8);
     this._comboBoxSize.Name                  = "_comboBoxSize";
     this._comboBoxSize.Size                  = new System.Drawing.Size(104, 22);
     this._comboBoxSize.TabIndex              = 0;
     this._comboBoxSize.SelectedIndexChanged += new System.EventHandler(this.comboBoxSize_SelectedIndexChanged);
     //
     // label1
     //
     this._label1.Location  = new System.Drawing.Point(32, 8);
     this._label1.Name      = "_label1";
     this._label1.Size      = new System.Drawing.Size(128, 23);
     this._label1.TabIndex  = 0;
     this._label1.Text      = "Box &Size:";
     this._label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this._label3.Anchor =
         ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top |
                                                System.Windows.Forms.AnchorStyles.Left)
                                               | System.Windows.Forms.AnchorStyles.Right)));
     this._label3.Font     = new System.Drawing.Font("Verdana", 11F);
     this._label3.Location = new System.Drawing.Point(13, 338);
     this._label3.Name     = "_label3";
     this._label3.Size     = new System.Drawing.Size(702, 24);
     this._label3.TabIndex = 24;
     this._label3.Text     = "Note that you can retrieve the automatically calculated default box size only in " +
                             "the PrePaint event.";
     this._label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // RenkoChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this._label3);
     this.Controls.Add(this._panel1);
     this.Controls.Add(this._labelSampleComment);
     this.Controls.Add(this._chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular,
                                         System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "RenkoChartType";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.RenkoChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).EndInit();
     this._panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1                = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment    = new System.Windows.Forms.Label();
     this.panel1                = new System.Windows.Forms.Panel();
     this.buttonRandomData      = new System.Windows.Forms.Button();
     this.comboBoxNumberOfDays  = new System.Windows.Forms.ComboBox();
     this.label1                = new System.Windows.Forms.Label();
     this.checkBoxWeightedClose = new System.Windows.Forms.CheckBox();
     this.checkBoxMedianPrice   = new System.Windows.Forms.CheckBox();
     this.checkBoxTypicalPrice  = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelAutoFitStyle      = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                       | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                      | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.LabelAutoFitStyle  = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                    | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                   | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.IsStartedFromZero = false;
     chartArea1.AxisY.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                  | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                 | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.LabelAutoFitStyle  = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.StaggeredLabels)
                                                                                                                    | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                   | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor         = System.Drawing.Color.Transparent;
     legend1.DockedToChartArea = "Default";
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location    = new System.Drawing.Point(16, 56);
     this.chart1.Name        = "chart1";
     series1.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea       = "Default";
     series1.ChartType       = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Stock;
     series1.Legend          = "Default";
     series1.Name            = "Input";
     series1.ShadowColor     = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series1.ShadowOffset    = 1;
     series1.YValuesPerPoint = 4;
     this.chart1.Series.Add(series1);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F);
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 40);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample�displays�various price indicators, which provide technical analysis o" +
                                        "n daily market prices that have open and close values.��";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.buttonRandomData);
     this.panel1.Controls.Add(this.comboBoxNumberOfDays);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.checkBoxWeightedClose);
     this.panel1.Controls.Add(this.checkBoxMedianPrice);
     this.panel1.Controls.Add(this.checkBoxTypicalPrice);
     this.panel1.Location = new System.Drawing.Point(432, 64);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 2;
     //
     // buttonRandomData
     //
     this.buttonRandomData.BackColor = System.Drawing.SystemColors.Control;
     this.buttonRandomData.Location  = new System.Drawing.Point(72, 136);
     this.buttonRandomData.Name      = "buttonRandomData";
     this.buttonRandomData.Size      = new System.Drawing.Size(168, 26);
     this.buttonRandomData.TabIndex  = 5;
     this.buttonRandomData.Text      = "Generate Random Data";
     this.buttonRandomData.UseVisualStyleBackColor = false;
     this.buttonRandomData.Click += new System.EventHandler(this.buttonRandomData_Click);
     //
     // comboBoxNumberOfDays
     //
     this.comboBoxNumberOfDays.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxNumberOfDays.Items.AddRange(new object[] {
         "10",
         "20",
         "30",
         "40",
         "50"
     });
     this.comboBoxNumberOfDays.Location              = new System.Drawing.Point(168, 104);
     this.comboBoxNumberOfDays.Name                  = "comboBoxNumberOfDays";
     this.comboBoxNumberOfDays.Size                  = new System.Drawing.Size(112, 22);
     this.comboBoxNumberOfDays.TabIndex              = 4;
     this.comboBoxNumberOfDays.SelectedIndexChanged += new System.EventHandler(this.comboBoxNumberOfDays_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(17, 104);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 23);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Number of &days:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBoxWeightedClose
     //
     this.checkBoxWeightedClose.CheckAlign         = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxWeightedClose.Checked            = true;
     this.checkBoxWeightedClose.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxWeightedClose.Location           = new System.Drawing.Point(13, 72);
     this.checkBoxWeightedClose.Name               = "checkBoxWeightedClose";
     this.checkBoxWeightedClose.Size               = new System.Drawing.Size(168, 24);
     this.checkBoxWeightedClose.TabIndex           = 2;
     this.checkBoxWeightedClose.Text               = "&Weighted Close:";
     this.checkBoxWeightedClose.TextAlign          = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxWeightedClose.CheckStateChanged += new System.EventHandler(this.checkBoxWeightedClose_CheckStateChanged);
     //
     // checkBoxMedianPrice
     //
     this.checkBoxMedianPrice.CheckAlign         = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxMedianPrice.Checked            = true;
     this.checkBoxMedianPrice.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxMedianPrice.Location           = new System.Drawing.Point(13, 40);
     this.checkBoxMedianPrice.Name               = "checkBoxMedianPrice";
     this.checkBoxMedianPrice.Size               = new System.Drawing.Size(168, 24);
     this.checkBoxMedianPrice.TabIndex           = 1;
     this.checkBoxMedianPrice.Text               = "&Median Price:";
     this.checkBoxMedianPrice.TextAlign          = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxMedianPrice.CheckStateChanged += new System.EventHandler(this.checkBoxWeightedClose_CheckStateChanged);
     //
     // checkBoxTypicalPrice
     //
     this.checkBoxTypicalPrice.CheckAlign         = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxTypicalPrice.Checked            = true;
     this.checkBoxTypicalPrice.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxTypicalPrice.Location           = new System.Drawing.Point(13, 8);
     this.checkBoxTypicalPrice.Name               = "checkBoxTypicalPrice";
     this.checkBoxTypicalPrice.Size               = new System.Drawing.Size(168, 24);
     this.checkBoxTypicalPrice.TabIndex           = 0;
     this.checkBoxTypicalPrice.Text               = "&Typical Price:";
     this.checkBoxTypicalPrice.TextAlign          = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxTypicalPrice.CheckStateChanged += new System.EventHandler(this.checkBoxWeightedClose_CheckStateChanged);
     //
     // PriceIndicators
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F);
     this.Name  = "PriceIndicators";
     this.Size  = new System.Drawing.Size(728, 480);
     this.Load += new System.EventHandler(this.TemplateSampleControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #54
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series2    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.checkBoxShow3D     = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                         = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(223)))), ((int)(((byte)(193)))));
     this.chart1.BackGradientStyle                 = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BorderlineColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(64)))), ((int)(((byte)(1)))));
     this.chart1.BorderlineDashStyle               = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth                   = 2;
     this.chart1.BorderSkin.SkinStyle              = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination            = 15;
     chartArea1.Area3DStyle.IsClustered            = true;
     chartArea1.Area3DStyle.IsRightAngleAxes       = false;
     chartArea1.Area3DStyle.Perspective            = 10;
     chartArea1.Area3DStyle.Rotation               = 10;
     chartArea1.Area3DStyle.WallWidth              = 0;
     chartArea1.AxisX.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.IsEndLabelVisible = false;
     chartArea1.AxisX.LineColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsStartedFromZero            = false;
     chartArea1.AxisY.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.OldLace;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name            = "Default";
     chartArea1.Position.Auto   = false;
     chartArea1.Position.Height = 80F;
     chartArea1.Position.Width  = 87F;
     chartArea1.Position.X      = 5F;
     chartArea1.Position.Y      = 6F;
     chartArea1.ShadowColor     = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Alignment       = System.Drawing.StringAlignment.Far;
     legend1.BackColor       = System.Drawing.Color.Transparent;
     legend1.Docking         = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.Font            = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit   = false;
     legend1.LegendStyle     = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name            = "Default";
     legend1.Position.Auto   = false;
     legend1.Position.Height = 9.054053F;
     legend1.Position.Width  = 36.26765F;
     legend1.Position.X      = 54.46494F;
     legend1.Position.Y      = 85F;
     this.chart1.Legends.Add(legend1);
     this.chart1.Location     = new System.Drawing.Point(16, 48);
     this.chart1.Name         = "chart1";
     series1.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea        = "Default";
     series1.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.RangeBar;
     series1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "PointWidth=0.7";
     series1.Legend           = "Default";
     series1.Name             = "Tasks";
     series1.YValuesPerPoint  = 2;
     series2.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea        = "Default";
     series2.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.RangeBar;
     series2.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.CustomProperties = "DrawSideBySide=false, PointWidth=0.2";
     series2.Legend           = "Default";
     series2.Name             = "Progress";
     series2.YValuesPerPoint  = 2;
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Size       = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex   = 0;
     this.chart1.PostPaint += new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(this.chart1_PostPaint);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font      = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location  = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name      = "labelSampleComment";
     this.labelSampleComment.Size      = new System.Drawing.Size(702, 26);
     this.labelSampleComment.TabIndex  = 2;
     this.labelSampleComment.Text      = "This sample demonstrates the Range Bar chart type in both 2D and 3D.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.checkBoxShow3D);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 1;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // checkBoxShow3D
     //
     this.checkBoxShow3D.Location        = new System.Drawing.Point(48, 16);
     this.checkBoxShow3D.Name            = "checkBoxShow3D";
     this.checkBoxShow3D.Size            = new System.Drawing.Size(208, 24);
     this.checkBoxShow3D.TabIndex        = 7;
     this.checkBoxShow3D.Text            = "Display chart as 3&D";
     this.checkBoxShow3D.CheckedChanged += new System.EventHandler(this.checkBoxShow3D_CheckedChanged);
     //
     // RangeBarChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "RangeBarChartType";
     this.Size  = new System.Drawing.Size(728, 376);
     this.Load += new System.EventHandler(this.RangeBarChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.CalloutAnnotation calloutAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.CalloutAnnotation();
     System.Windows.Forms.DataVisualization.Charting.ChartArea         chartArea1         = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend            legend1            = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series            series1            = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint1         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint2         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 40);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint3         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 30);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint4         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 79);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint5         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 91);
     System.Windows.Forms.DataVisualization.Charting.Series            series2            = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint6         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 78);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint7         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 39);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint8         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 67);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint9         = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 34);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint10        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 60);
     System.Windows.Forms.DataVisualization.Charting.Series            series3            = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint11        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 81);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint12        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 55);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint13        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 47);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint14        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 67);
     System.Windows.Forms.DataVisualization.Charting.DataPoint         dataPoint15        = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 87);
     this.label9          = new System.Windows.Forms.Label();
     this.panel1          = new System.Windows.Forms.Panel();
     this.ClipToChartArea = new System.Windows.Forms.CheckBox();
     this.AnnotationY     = new System.Windows.Forms.TextBox();
     this.AnnotationX     = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.AllowMoving     = new System.Windows.Forms.CheckBox();
     this.Chart1          = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1          = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 2;
     this.label9.Text      = "This sample demonstrates the AnnotationPositionChanged event.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.ClipToChartArea);
     this.panel1.Controls.Add(this.AnnotationY);
     this.panel1.Controls.Add(this.AnnotationX);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.AllowMoving);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 1;
     //
     // ClipToChartArea
     //
     this.ClipToChartArea.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.ClipToChartArea.Location        = new System.Drawing.Point(29, 40);
     this.ClipToChartArea.Name            = "ClipToChartArea";
     this.ClipToChartArea.Size            = new System.Drawing.Size(152, 24);
     this.ClipToChartArea.TabIndex        = 1;
     this.ClipToChartArea.Text            = "&Clip To Chart Area:  ";
     this.ClipToChartArea.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.ClipToChartArea.CheckedChanged += new System.EventHandler(this.ClipToChartArea_CheckedChanged);
     //
     // AnnotationY
     //
     this.AnnotationY.Location = new System.Drawing.Point(168, 104);
     this.AnnotationY.Name     = "AnnotationY";
     this.AnnotationY.ReadOnly = true;
     this.AnnotationY.Size     = new System.Drawing.Size(40, 22);
     this.AnnotationY.TabIndex = 5;
     this.AnnotationY.Text     = "0";
     //
     // AnnotationX
     //
     this.AnnotationX.Location = new System.Drawing.Point(168, 72);
     this.AnnotationX.Name     = "AnnotationX";
     this.AnnotationX.ReadOnly = true;
     this.AnnotationX.Size     = new System.Drawing.Size(40, 22);
     this.AnnotationX.TabIndex = 3;
     this.AnnotationX.Text     = "0";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(99, 104);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(64, 23);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "&Y:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(99, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "&X:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label3.Click    += new System.EventHandler(this.label3_Click);
     //
     // AllowMoving
     //
     this.AllowMoving.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.AllowMoving.Checked         = true;
     this.AllowMoving.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.AllowMoving.Location        = new System.Drawing.Point(61, 8);
     this.AllowMoving.Name            = "AllowMoving";
     this.AllowMoving.Size            = new System.Drawing.Size(120, 24);
     this.AllowMoving.TabIndex        = 0;
     this.AllowMoving.Text            = "Allow &Moving:";
     this.AllowMoving.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.AllowMoving.CheckedChanged += new System.EventHandler(this.AllowMoving_CheckedChanged);
     //
     // Chart1
     //
     calloutAnnotation1.AllowMoving    = true;
     calloutAnnotation1.AllowSelecting = true;
     calloutAnnotation1.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     calloutAnnotation1.CalloutStyle   = System.Windows.Forms.DataVisualization.Charting.CalloutStyle.RoundedRectangle;
     calloutAnnotation1.Font           = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     calloutAnnotation1.Name           = "MyAnnotation";
     calloutAnnotation1.Text           = "Select and Reposition Me\\nusing the mouse";
     calloutAnnotation1.X = 0;
     calloutAnnotation1.Y = 0;
     this.Chart1.Annotations.Add(calloutAnnotation1);
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelAutoFitStyle      = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.IncreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont)
                                                                                                                       | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.LabelsAngleStep30)
                                                                                                                      | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font              = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LabelStyle.Interval          = 1;
     chartArea1.AxisX.LabelStyle.IsEndLabelVisible = false;
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.Enabled   = false;
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisX2.IsLabelAutoFit     = false;
     chartArea1.AxisX2.MajorGrid.Enabled  = false;
     chartArea1.AxisX2.Maximum            = 100;
     chartArea1.AxisY.IsLabelAutoFit      = false;
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.Enabled   = false;
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY2.IsLabelAutoFit     = false;
     chartArea1.AxisY2.MajorGrid.Enabled  = false;
     chartArea1.AxisY2.Maximum            = 1000;
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle    = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 48);
     this.Chart1.Name     = "Chart1";
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.Legend       = "Default";
     series1.Name         = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.ShadowOffset      = 1;
     series1.XValueType        = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType        = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.BorderWidth       = 4;
     series2.ChartArea         = "Default";
     series2.ChartType         = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series2.Legend            = "Default";
     series2.MarkerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.MarkerColor       = System.Drawing.Color.Gold;
     series2.MarkerSize        = 8;
     series2.MarkerStyle       = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series2.Name = "Series2";
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series2.ShadowOffset = 1;
     series3.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series3.ChartArea    = "Default";
     series3.Legend       = "Default";
     series3.Name         = "Series3";
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     series3.Points.Add(dataPoint13);
     series3.Points.Add(dataPoint14);
     series3.Points.Add(dataPoint15);
     series3.ShadowOffset = 1;
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 0;
     this.Chart1.AnnotationPositionChanged += new System.EventHandler(this.Chart1_AnnotationPositionChanged);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(16, 360);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(702, 39);
     this.label1.TabIndex = 3;
     this.label1.Text     = "Click on the annotation, and then move it with the mouse. This sample uses the An" +
                            "notationPositionChanged event to update X and Y coordinates to the right of the " +
                            "chart.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PositionChangedEvent
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "PositionChangedEvent";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #56
0
 /// <summary>
 ///     Required method for Designer support - do not modify
 ///     the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 =
         new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend legend1 =
         new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series series1 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series series2 =
         new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title title1 =
         new System.Windows.Forms.DataVisualization.Charting.Title();
     System.ComponentModel.ComponentResourceManager resources =
         new System.ComponentModel.ComponentResourceManager(typeof(FastLineChartType));
     this._chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this._labelSampleComment = new System.Windows.Forms.Label();
     this._panel1             = new System.Windows.Forms.Panel();
     this._comboBoxChartType  = new System.Windows.Forms.ComboBox();
     this._label1             = new System.Windows.Forms.Label();
     this._buttonAddPoints    = new System.Windows.Forms.Button();
     this._label2             = new System.Windows.Forms.Label();
     this._label3             = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).BeginInit();
     this._panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this._chart1.BackColor          = System.Drawing.Color.WhiteSmoke;
     this._chart1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this._chart1.BackSecondaryColor = System.Drawing.Color.White;
     this._chart1.BorderlineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(26)))),
                                                                     ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this._chart1.BorderlineDashStyle        = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this._chart1.BorderlineWidth            = 2;
     this._chart1.BorderSkin.SkinStyle       = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.LabelAutoFitStyle      =
         ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)(((System.Windows.Forms
                                                                                 .DataVisualization.Charting.LabelAutoFitStyles.IncreaseFont | System.Windows.Forms
                                                                                 .DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont)
                                                                                | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap)));
     chartArea1.AxisX.LabelStyle.Font =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.ScrollBar.LineColor = System.Drawing.Color.Black;
     chartArea1.AxisX.ScrollBar.Size      = 10;
     chartArea1.AxisY.LabelStyle.Font     =
         new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))),
                                                                          ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.ScrollBar.LineColor = System.Drawing.Color.Black;
     chartArea1.AxisY.ScrollBar.Size      = 10;
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))),
                                                                   ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BorderDashStyle                = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     chartArea1.CursorX.IsUserEnabled          = true;
     chartArea1.CursorX.IsUserSelectionEnabled = true;
     chartArea1.CursorY.IsUserEnabled          = true;
     chartArea1.CursorY.IsUserSelectionEnabled = true;
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this._chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this._chart1.Legends.Add(legend1);
     this._chart1.Location = new System.Drawing.Point(16, 58);
     this._chart1.Name     = "_chart1";
     series1.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                           ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea   = "Default";
     series1.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series1.Legend      = "Default";
     series1.Name        = "Series1";
     series1.ShadowColor = System.Drawing.Color.Black;
     series2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))),
                                                         ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series2.ChartArea = "Default";
     series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine;
     series2.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(64)))),
                                                       ((int)(((byte)(10)))));
     series2.Legend      = "Default";
     series2.Name        = "Series2";
     series2.ShadowColor = System.Drawing.Color.Black;
     this._chart1.Series.Add(series1);
     this._chart1.Series.Add(series2);
     this._chart1.Size     = new System.Drawing.Size(412, 296);
     this._chart1.TabIndex = 0;
     title1.Font           = new System.Drawing.Font("Trebuchet MS", 12F, System.Drawing.FontStyle.Bold);
     title1.ForeColor      = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))),
                                                           ((int)(((byte)(105)))));
     title1.Name        = "Title1";
     title1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))),
                                                        ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset = 3;
     title1.Text         = "Two series with 20000 points each";
     this._chart1.Titles.Add(title1);
     //
     // labelSampleComment
     //
     this._labelSampleComment.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                             System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this._labelSampleComment.Name     = "_labelSampleComment";
     this._labelSampleComment.Size     = new System.Drawing.Size(702, 45);
     this._labelSampleComment.TabIndex = 2;
     this._labelSampleComment.Text     =
         "The Fast Line and Fast Point chart types significantly reduce the drawing time of" +
         " a series that has many data points. ";
     this._labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this._panel1.Controls.Add(this._comboBoxChartType);
     this._panel1.Controls.Add(this._label1);
     this._panel1.Controls.Add(this._buttonAddPoints);
     this._panel1.Location = new System.Drawing.Point(432, 66);
     this._panel1.Name     = "_panel1";
     this._panel1.Size     = new System.Drawing.Size(292, 288);
     this._panel1.TabIndex = 1;
     //
     // comboBoxChartType
     //
     this._comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._comboBoxChartType.Items.AddRange(new object[]
     {
         "Fast Line",
         "Fast Point"
     });
     this._comboBoxChartType.Location              = new System.Drawing.Point(184, 8);
     this._comboBoxChartType.Name                  = "_comboBoxChartType";
     this._comboBoxChartType.Size                  = new System.Drawing.Size(104, 22);
     this._comboBoxChartType.TabIndex              = 3;
     this._comboBoxChartType.SelectedIndexChanged +=
         new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label1
     //
     this._label1.Location  = new System.Drawing.Point(51, 8);
     this._label1.Name      = "_label1";
     this._label1.Size      = new System.Drawing.Size(112, 23);
     this._label1.TabIndex  = 2;
     this._label1.Text      = "Chart &Type:";
     this._label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // buttonAddPoints
     //
     this._buttonAddPoints.BackColor = System.Drawing.SystemColors.Control;
     this._buttonAddPoints.Location  = new System.Drawing.Point(104, 48);
     this._buttonAddPoints.Name      = "_buttonAddPoints";
     this._buttonAddPoints.Size      = new System.Drawing.Size(184, 23);
     this._buttonAddPoints.TabIndex  = 1;
     this._buttonAddPoints.Text      = "&Add 1000 Data Points";
     this._buttonAddPoints.UseVisualStyleBackColor = false;
     this._buttonAddPoints.Click += new System.EventHandler(this.buttonAddPoints_Click);
     //
     // label2
     //
     this._label2.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                 System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._label2.Location  = new System.Drawing.Point(16, 362);
     this._label2.Name      = "_label2";
     this._label2.Size      = new System.Drawing.Size(702, 72);
     this._label2.TabIndex  = 3;
     this._label2.Text      = resources.GetString("label2.Text");
     this._label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this._label3.Font = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular,
                                                 System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this._label3.Location = new System.Drawing.Point(16, 435);
     this._label3.Name     = "_label3";
     this._label3.Size     = new System.Drawing.Size(702, 27);
     this._label3.TabIndex = 4;
     this._label3.Text     = "To further enhance performance,�disable tooltips, anti-aliasing, and border skins" +
                             ".";
     this._label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // FastLineChartType
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this._label3);
     this.Controls.Add(this._label2);
     this.Controls.Add(this._panel1);
     this.Controls.Add(this._labelSampleComment);
     this.Controls.Add(this._chart1);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular,
                                         System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "FastLineChartType";
     this.Size  = new System.Drawing.Size(728, 511);
     this.Load += new System.EventHandler(this.PieChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this._chart1)).EndInit();
     this._panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 400);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 700);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 450);
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 200);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 350);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 80);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 400);
     System.Windows.Forms.DataVisualization.Charting.Series    series3     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 500);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 120);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 300);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 50);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(5, 130);
     System.Windows.Forms.DataVisualization.Charting.Title     title1      = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.TheFont        = new System.Windows.Forms.ComboBox();
     this.FontColorCombo = new System.Windows.Forms.ComboBox();
     this.FontSize       = new System.Windows.Forms.ComboBox();
     this.label5         = new System.Windows.Forms.Label();
     this.label7         = new System.Windows.Forms.Label();
     this.label8         = new System.Windows.Forms.Label();
     this.label9         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     this.ToolTip        = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.Alignment      = new System.Windows.Forms.ComboBox();
     this.label2         = new System.Windows.Forms.Label();
     this.BorderColor    = new System.Windows.Forms.ComboBox();
     this.label1         = new System.Windows.Forms.Label();
     this.BackColorCom   = new System.Windows.Forms.ComboBox();
     this.Title          = new System.Windows.Forms.TextBox();
     this.Chart1         = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // TheFont
     //
     this.TheFont.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.TheFont.Location              = new System.Drawing.Point(168, 32);
     this.TheFont.Name                  = "TheFont";
     this.TheFont.Size                  = new System.Drawing.Size(121, 22);
     this.TheFont.TabIndex              = 2;
     this.TheFont.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontColorCombo
     //
     this.FontColorCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontColorCombo.Location              = new System.Drawing.Point(168, 88);
     this.FontColorCombo.Name                  = "FontColorCombo";
     this.FontColorCombo.Size                  = new System.Drawing.Size(121, 22);
     this.FontColorCombo.TabIndex              = 6;
     this.FontColorCombo.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontSize
     //
     this.FontSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontSize.Items.AddRange(new object[] {
         "8",
         "10",
         "12",
         "14",
         "16"
     });
     this.FontSize.Location              = new System.Drawing.Point(168, 60);
     this.FontSize.Name                  = "FontSize";
     this.FontSize.Size                  = new System.Drawing.Size(121, 22);
     this.FontSize.TabIndex              = 4;
     this.FontSize.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(8, 35);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(156, 16);
     this.label5.TabIndex  = 1;
     this.label5.Text      = "&Font:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(8, 91);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(156, 16);
     this.label7.TabIndex  = 5;
     this.label7.Text      = "Font &Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(8, 63);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(156, 16);
     this.label8.TabIndex  = 3;
     this.label8.Text      = "Font &Size:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(16, 14);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(702, 34);
     this.label9.TabIndex = 0;
     this.label9.Text     = "This sample shows how to set the chart title\'s text, font and color. Note that th" +
                            "e PrePaint and PostPaint events allow for custom drawing of the chart\'s title. ";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.ToolTip);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.Alignment);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.BorderColor);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.BackColorCom);
     this.panel1.Controls.Add(this.Title);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.TheFont);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.FontSize);
     this.panel1.Controls.Add(this.FontColorCombo);
     this.panel1.Location = new System.Drawing.Point(432, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 296);
     this.panel1.TabIndex = 2;
     //
     // ToolTip
     //
     this.ToolTip.Location     = new System.Drawing.Point(169, 200);
     this.ToolTip.Name         = "ToolTip";
     this.ToolTip.Size         = new System.Drawing.Size(120, 22);
     this.ToolTip.TabIndex     = 14;
     this.ToolTip.Text         = "Title Tooltip";
     this.ToolTip.TextChanged += new System.EventHandler(this.ControlChange);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 204);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(156, 16);
     this.label4.TabIndex  = 13;
     this.label4.Text      = "&ToolTip:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 175);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(156, 16);
     this.label3.TabIndex  = 11;
     this.label3.Text      = "&Alignment:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Alignment
     //
     this.Alignment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.Alignment.Items.AddRange(new object[] {
         "Left",
         "Center",
         "Right"
     });
     this.Alignment.Location              = new System.Drawing.Point(168, 172);
     this.Alignment.Name                  = "Alignment";
     this.Alignment.Size                  = new System.Drawing.Size(121, 22);
     this.Alignment.TabIndex              = 12;
     this.Alignment.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 147);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(156, 16);
     this.label2.TabIndex  = 9;
     this.label2.Text      = "B&order Color:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // BorderColor
     //
     this.BorderColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BorderColor.Items.AddRange(new object[] {
         "None",
         "Red",
         "Green",
         "Blue",
         "Yellow"
     });
     this.BorderColor.Location              = new System.Drawing.Point(168, 144);
     this.BorderColor.Name                  = "BorderColor";
     this.BorderColor.Size                  = new System.Drawing.Size(121, 22);
     this.BorderColor.TabIndex              = 10;
     this.BorderColor.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 119);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(156, 16);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "&Back Color:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // BackColorCom
     //
     this.BackColorCom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.BackColorCom.Items.AddRange(new object[] {
         "None",
         "Red",
         "Green",
         "Blue",
         "Yellow"
     });
     this.BackColorCom.Location              = new System.Drawing.Point(168, 116);
     this.BackColorCom.Name                  = "BackColorCom";
     this.BackColorCom.Size                  = new System.Drawing.Size(121, 22);
     this.BackColorCom.TabIndex              = 8;
     this.BackColorCom.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // Title
     //
     this.Title.Location     = new System.Drawing.Point(8, 4);
     this.Title.Name         = "Title";
     this.Title.Size         = new System.Drawing.Size(280, 22);
     this.Title.TabIndex     = 0;
     this.Title.Text         = "Sales Report\\nYear 2001";
     this.Title.TextChanged += new System.EventHandler(this.ControlChange);
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Enable3D         = true;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.PointGapDepth    = 0;
     chartArea1.Area3DStyle.Rotation         = 5;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.IsMarginVisible        = false;
     chartArea1.AxisX.IsStartedFromZero      = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.TitleFont              = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX2.MajorGrid.Enabled     = false;
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY2.MajorGrid.Enabled     = false;
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor = System.Drawing.Color.Transparent;
     legend1.Enabled   = false;
     legend1.Name      = "Default";
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location = new System.Drawing.Point(16, 60);
     this.Chart1.Name     = "Chart1";
     this.Chart1.Palette  = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel;
     series1.BorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea    = "Default";
     series1.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.SplineArea;
     series1.Color        = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.Legend       = "Default";
     series1.Name         = "Default";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.ShadowColor = System.Drawing.Color.Transparent;
     series1.XValueType  = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType  = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series2.ChartArea   = "Default";
     series2.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.SplineArea;
     series2.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.Legend      = "Default";
     series2.Name        = "Series2";
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series3.ChartArea   = "Default";
     series3.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.SplineArea;
     series3.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series3.Legend      = "Default";
     series3.Name        = "Series3";
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     series3.Points.Add(dataPoint13);
     series3.Points.Add(dataPoint14);
     series3.Points.Add(dataPoint15);
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size     = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex = 1;
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name          = "Title1";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset  = 3;
     title1.Text          = "Sales Report\\nYear 2001";
     this.Chart1.Titles.Add(title1);
     //
     // ChartTitle
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "ChartTitle";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Series    series2    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.panel1  = new System.Windows.Forms.Panel();
     this.label6  = new System.Windows.Forms.Label();
     this.label5  = new System.Windows.Forms.Label();
     this.label4  = new System.Windows.Forms.Label();
     this.label3  = new System.Windows.Forms.Label();
     this.label15 = new System.Windows.Forms.Label();
     this.Chart1  = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1  = new System.Windows.Forms.Label();
     this.label2  = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label6,
         this.label5,
         this.label4,
         this.label3,
         this.label15
     });
     this.panel1.Location = new System.Drawing.Point(400, 48);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(304, 248);
     this.panel1.TabIndex = 19;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(64, 403);
     this.label6.Name     = "label6";
     this.label6.TabIndex = 5;
     this.label6.Text     = "Border Size:";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(64, 380);
     this.label5.Name     = "label5";
     this.label5.TabIndex = 4;
     this.label5.Text     = "Border Color:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(64, 357);
     this.label4.Name     = "label4";
     this.label4.TabIndex = 3;
     this.label4.Text     = "Hatch Style:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(64, 334);
     this.label3.Name     = "label3";
     this.label3.TabIndex = 2;
     this.label3.Text     = "Gradient:";
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(64, 426);
     this.label15.Name     = "label15";
     this.label15.TabIndex = 5;
     this.label15.Text     = "Border Size:";
     //
     // Chart1
     //
     this.Chart1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.Chart1.BackSecondaryColor   = System.Drawing.Color.White;
     this.Chart1.BackGradientStyle    = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BorderlineColor      = System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     this.Chart1.BorderlineDashStyle  = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth      = 2;
     this.Chart1.BorderSkin.SkinStyle = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.AxisX.ArrowStyle      = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;;
     chartArea1.AxisX2.Enabled        = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.AxisY.ArrowStyle      = System.Windows.Forms.DataVisualization.Charting.AxisArrowStyle.Triangle;;
     chartArea1.AxisY2.Enabled        = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
     chartArea1.BackColor             = System.Drawing.Color.WhiteSmoke;
     chartArea1.BackSecondaryColor    = System.Drawing.Color.White;
     chartArea1.BackGradientStyle     = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.Name               = "Data Binding";
     chartArea1.Position.Auto      = false;
     chartArea1.Position.Height    = 68.80695F;
     chartArea1.Position.Width     = 45F;
     chartArea1.Position.X         = 51F;
     chartArea1.Position.Y         = 19.50579F;
     chartArea2.BackColor          = System.Drawing.Color.WhiteSmoke;
     chartArea2.BackSecondaryColor = System.Drawing.Color.White;
     chartArea2.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea2.Name               = "Adding Points";
     chartArea2.Position.Auto      = false;
     chartArea2.Position.Height    = 68.80695F;
     chartArea2.Position.Width     = 45F;
     chartArea2.Position.X         = 3F;
     chartArea2.Position.Y         = 19.50579F;
     this.Chart1.ChartAreas.Add(chartArea1);
     this.Chart1.ChartAreas.Add(chartArea2);
     legend1.IsTextAutoFit = false;
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.Name          = "Default";
     legend1.TitleFont     = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold);
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location     = new System.Drawing.Point(16, 40);
     this.Chart1.Name         = "Chart1";
     this.Chart1.Palette      = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel;
     series1.ChartArea        = "Data Binding";
     series1.ChartType        = SeriesChartType.Pie;
     series1.CustomProperties = "LabelsRadialLineSize=1, PieDrawingStyle=Concave, LabelStyle=outside";
     series1.Name             = "ByArray";
     series2.ChartArea        = "Adding Points";
     series2.ChartType        = SeriesChartType.Pie;
     series2.CustomProperties = "LabelsRadialLineSize=1, PieDrawingStyle=Concave, LabelStyle=outside";
     series2.Name             = "ByPoint";
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Size     = new System.Drawing.Size(360, 260);
     this.Chart1.TabIndex = 0;
     title1.Alignment     = System.Drawing.ContentAlignment.MiddleLeft;
     title1.ForeColor     = System.Drawing.Color.FromArgb(((System.Byte)(26)), ((System.Byte)(59)), ((System.Byte)(105)));
     title1.Font          = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     title1.Name          = "Default Title";
     title1.ShadowColor   = System.Drawing.Color.FromArgb(((System.Byte)(32)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     title1.ShadowOffset  = 3;
     title1.Text          = "Chart Control for .NET Framework";
     this.Chart1.Titles.Add(title1);
     this.Chart1.PostPaint += new EventHandler <ChartPaintEventArgs>(Chart1_PostPaint);
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Verdana", 11.25F);
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(624, 24);
     this.label1.TabIndex  = 20;
     this.label1.Text      = "This sample demonstrates how to populate a chart with data.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Verdana", 11.25F);
     this.label2.Location = new System.Drawing.Point(16, 312);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(688, 72);
     this.label2.TabIndex = 21;
     this.label2.Text     = "Two arrays are used: one for X values and one for Y values.  The chart on the lef" +
                            "t uses the AddXY method to add data points to the chart, while the chart on the " +
                            "right uses the DataBindXY method to bind data to an array.";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // BasicPopulatingData
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.Chart1,
         this.panel1,
         this.label1
     });
     this.Name  = "BasicPopulatingData";
     this.Size  = new System.Drawing.Size(728, 400);
     this.Load += new System.EventHandler(this.BasicPopulatingData_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea   chartArea1   = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel1 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel2 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel3 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.CustomLabel customLabel4 = new System.Windows.Forms.DataVisualization.Charting.CustomLabel();
     System.Windows.Forms.DataVisualization.Charting.Legend      legend1      = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series      series1      = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint1   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint2   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 80);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint3   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint4   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 85);
     System.Windows.Forms.DataVisualization.Charting.Series      series2      = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint5   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 65);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint6   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 70);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint7   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 60);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint8   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 75);
     System.Windows.Forms.DataVisualization.Charting.Series      series3      = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint9   = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1, 50);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint10  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2, 55);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint11  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3, 40);
     System.Windows.Forms.DataVisualization.Charting.DataPoint   dataPoint12  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4, 70);
     System.Windows.Forms.DataVisualization.Charting.Title       title1       = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.TheFont        = new System.Windows.Forms.ComboBox();
     this.FontColorCombo = new System.Windows.Forms.ComboBox();
     this.AxisPosition   = new System.Windows.Forms.ComboBox();
     this.FontSize       = new System.Windows.Forms.ComboBox();
     this.label5         = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.label7         = new System.Windows.Forms.Label();
     this.label8         = new System.Windows.Forms.Label();
     this.label9         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     this.label1         = new System.Windows.Forms.Label();
     this.StrikeoutCheck = new System.Windows.Forms.CheckBox();
     this.UnderlineCheck = new System.Windows.Forms.CheckBox();
     this.BoldCheck      = new System.Windows.Forms.CheckBox();
     this.Title          = new System.Windows.Forms.TextBox();
     this.ItalicCheck    = new System.Windows.Forms.CheckBox();
     this.Chart1         = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).BeginInit();
     this.SuspendLayout();
     //
     // TheFont
     //
     this.TheFont.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.TheFont.Location              = new System.Drawing.Point(167, 72);
     this.TheFont.Name                  = "TheFont";
     this.TheFont.Size                  = new System.Drawing.Size(121, 22);
     this.TheFont.TabIndex              = 5;
     this.TheFont.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontColorCombo
     //
     this.FontColorCombo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontColorCombo.Location              = new System.Drawing.Point(167, 136);
     this.FontColorCombo.Name                  = "FontColorCombo";
     this.FontColorCombo.Size                  = new System.Drawing.Size(121, 22);
     this.FontColorCombo.TabIndex              = 9;
     this.FontColorCombo.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // AxisPosition
     //
     this.AxisPosition.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.AxisPosition.Location              = new System.Drawing.Point(167, 40);
     this.AxisPosition.Name                  = "AxisPosition";
     this.AxisPosition.Size                  = new System.Drawing.Size(121, 22);
     this.AxisPosition.TabIndex              = 3;
     this.AxisPosition.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // FontSize
     //
     this.FontSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.FontSize.Items.AddRange(new object[] {
         "8",
         "10",
         "12",
         "14",
         "16"
     });
     this.FontSize.Location              = new System.Drawing.Point(167, 104);
     this.FontSize.Name                  = "FontSize";
     this.FontSize.Size                  = new System.Drawing.Size(121, 22);
     this.FontSize.TabIndex              = 7;
     this.FontSize.SelectedIndexChanged += new System.EventHandler(this.ControlChange);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(8, 80);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(156, 16);
     this.label5.TabIndex  = 4;
     this.label5.Text      = "&Font:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(8, 40);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(156, 16);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "&Axis:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(8, 144);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(156, 16);
     this.label7.TabIndex  = 8;
     this.label7.Text      = "Font &Color:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(8, 104);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(156, 16);
     this.label8.TabIndex  = 6;
     this.label8.Text      = "&Font Size:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(16, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(702, 34);
     this.label9.TabIndex  = 0;
     this.label9.Text      = "This sample demonstrates how to set the appearance of the axis title.";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.StrikeoutCheck);
     this.panel1.Controls.Add(this.UnderlineCheck);
     this.panel1.Controls.Add(this.BoldCheck);
     this.panel1.Controls.Add(this.Title);
     this.panel1.Controls.Add(this.ItalicCheck);
     this.panel1.Controls.Add(this.AxisPosition);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.TheFont);
     this.panel1.Controls.Add(this.label7);
     this.panel1.Controls.Add(this.label8);
     this.panel1.Controls.Add(this.FontSize);
     this.panel1.Controls.Add(this.FontColorCombo);
     this.panel1.Location = new System.Drawing.Point(432, 56);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 296);
     this.panel1.TabIndex = 2;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(156, 16);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Title &Text:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // StrikeoutCheck
     //
     this.StrikeoutCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.StrikeoutCheck.Location        = new System.Drawing.Point(11, 264);
     this.StrikeoutCheck.Name            = "StrikeoutCheck";
     this.StrikeoutCheck.Size            = new System.Drawing.Size(169, 24);
     this.StrikeoutCheck.TabIndex        = 13;
     this.StrikeoutCheck.Text            = "&Strikeout:";
     this.StrikeoutCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.StrikeoutCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // UnderlineCheck
     //
     this.UnderlineCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.UnderlineCheck.Location        = new System.Drawing.Point(11, 232);
     this.UnderlineCheck.Name            = "UnderlineCheck";
     this.UnderlineCheck.Size            = new System.Drawing.Size(169, 24);
     this.UnderlineCheck.TabIndex        = 12;
     this.UnderlineCheck.Text            = "&Underline:";
     this.UnderlineCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.UnderlineCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // BoldCheck
     //
     this.BoldCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.BoldCheck.Location        = new System.Drawing.Point(11, 200);
     this.BoldCheck.Name            = "BoldCheck";
     this.BoldCheck.Size            = new System.Drawing.Size(169, 24);
     this.BoldCheck.TabIndex        = 11;
     this.BoldCheck.Text            = "&Bold:";
     this.BoldCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.BoldCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // Title
     //
     this.Title.Location     = new System.Drawing.Point(168, 4);
     this.Title.Name         = "Title";
     this.Title.Size         = new System.Drawing.Size(120, 22);
     this.Title.TabIndex     = 1;
     this.Title.Text         = "Axis Title";
     this.Title.TextChanged += new System.EventHandler(this.ControlChange);
     //
     // ItalicCheck
     //
     this.ItalicCheck.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.ItalicCheck.Location        = new System.Drawing.Point(11, 168);
     this.ItalicCheck.Name            = "ItalicCheck";
     this.ItalicCheck.Size            = new System.Drawing.Size(169, 24);
     this.ItalicCheck.TabIndex        = 10;
     this.ItalicCheck.Text            = "&Italic:";
     this.ItalicCheck.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.ItalicCheck.CheckedChanged += new System.EventHandler(this.ControlChange);
     //
     // Chart1
     //
     this.Chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.Chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.Chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.Chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.Chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.Chart1.BorderlineWidth             = 2;
     this.Chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.PointGapDepth    = 0;
     chartArea1.Area3DStyle.Rotation         = 5;
     chartArea1.Area3DStyle.WallWidth        = 0;
     customLabel1.FromPosition               = 0.5;
     customLabel1.Text         = "John";
     customLabel1.ToPosition   = 1.5;
     customLabel2.FromPosition = 1.5;
     customLabel2.Text         = "Mary";
     customLabel2.ToPosition   = 2.5;
     customLabel3.FromPosition = 2.5;
     customLabel3.Text         = "Jeff";
     customLabel3.ToPosition   = 3.5;
     customLabel4.FromPosition = 3.5;
     customLabel4.Text         = "Bob";
     customLabel4.ToPosition   = 4.5;
     chartArea1.AxisX.CustomLabels.Add(customLabel1);
     chartArea1.AxisX.CustomLabels.Add(customLabel2);
     chartArea1.AxisX.CustomLabels.Add(customLabel3);
     chartArea1.AxisX.CustomLabels.Add(customLabel4);
     chartArea1.AxisX.Interval            = 1;
     chartArea1.AxisX.IsLabelAutoFit      = false;
     chartArea1.AxisX.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F);
     chartArea1.AxisX.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.TitleFont           = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chartArea1.AxisX2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.AxisX2.IsLabelAutoFit     = false;
     chartArea1.AxisX2.LabelStyle.Font    = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.IsLabelAutoFit      = false;
     chartArea1.AxisY.LabelStyle.Font     = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor           = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.TitleFont           = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     chartArea1.AxisY2.Enabled            = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True;
     chartArea1.AxisY2.IsLabelAutoFit     = false;
     chartArea1.AxisY2.LabelStyle.Font    = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(165)))), ((int)(((byte)(191)))), ((int)(((byte)(228)))));
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name            = "Default";
     chartArea1.Position.Auto   = false;
     chartArea1.Position.Height = 75F;
     chartArea1.Position.Width  = 90F;
     chartArea1.Position.X      = 2F;
     chartArea1.Position.Y      = 13F;
     chartArea1.ShadowColor     = System.Drawing.Color.Transparent;
     this.Chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor       = System.Drawing.Color.Transparent;
     legend1.Enabled         = false;
     legend1.LegendStyle     = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name            = "Default";
     legend1.Position.Auto   = false;
     legend1.Position.Height = 5F;
     legend1.Position.Width  = 40F;
     legend1.Position.X      = 5F;
     legend1.Position.Y      = 85F;
     this.Chart1.Legends.Add(legend1);
     this.Chart1.Location     = new System.Drawing.Point(16, 48);
     this.Chart1.Name         = "Chart1";
     this.Chart1.Palette      = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel;
     series1.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea        = "Default";
     series1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "DrawingStyle=Cylinder";
     series1.Legend           = "Legend2";
     series1.Name             = "Series2";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.ShadowColor      = System.Drawing.Color.Transparent;
     series1.XValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType       = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series2.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series2.ChartArea        = "Default";
     series2.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(180)))), ((int)(((byte)(65)))));
     series2.CustomProperties = "DrawingStyle=Cylinder";
     series2.Legend           = "Default";
     series2.Name             = "Series3";
     series2.Points.Add(dataPoint5);
     series2.Points.Add(dataPoint6);
     series2.Points.Add(dataPoint7);
     series2.Points.Add(dataPoint8);
     series3.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series3.ChartArea        = "Default";
     series3.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(64)))), ((int)(((byte)(10)))));
     series3.CustomProperties = "DrawingStyle=Cylinder";
     series3.Legend           = "Default";
     series3.Name             = "Series4";
     series3.Points.Add(dataPoint9);
     series3.Points.Add(dataPoint10);
     series3.Points.Add(dataPoint11);
     series3.Points.Add(dataPoint12);
     this.Chart1.Series.Add(series1);
     this.Chart1.Series.Add(series2);
     this.Chart1.Series.Add(series3);
     this.Chart1.Size       = new System.Drawing.Size(412, 296);
     this.Chart1.TabIndex   = 1;
     title1.Alignment       = System.Drawing.ContentAlignment.TopLeft;
     title1.Font            = new System.Drawing.Font("Trebuchet MS", 14.25F, System.Drawing.FontStyle.Bold);
     title1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     title1.Name            = "Title1";
     title1.Position.Auto   = false;
     title1.Position.Height = 8.738057F;
     title1.Position.Width  = 55F;
     title1.Position.X      = 4F;
     title1.Position.Y      = 4F;
     title1.ShadowColor     = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     title1.ShadowOffset    = 3;
     title1.Text            = "Chart Control for .NET Framework";
     title1.Visible         = false;
     this.Chart1.Titles.Add(title1);
     //
     // AxisTitle
     //
     this.Controls.Add(this.Chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label9);
     this.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "AxisTitle";
     this.Size = new System.Drawing.Size(728, 480);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Chart1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #60
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1                 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment     = new System.Windows.Forms.Label();
     this.panel1                 = new System.Windows.Forms.Panel();
     this.Aligned                = new System.Windows.Forms.CheckBox();
     this.NumOfPoints            = new System.Windows.Forms.ComboBox();
     this.CalloutStyle           = new System.Windows.Forms.ComboBox();
     this.CalloutLineAnchorWidth = new System.Windows.Forms.ComboBox();
     this.CalloutLineAnchorColor = new System.Windows.Forms.ComboBox();
     this.CalloutLineAnchorCap   = new System.Windows.Forms.ComboBox();
     this.label4                 = new System.Windows.Forms.Label();
     this.label3                 = new System.Windows.Forms.Label();
     this.label2                 = new System.Windows.Forms.Label();
     this.AllowOutsidePlotArea   = new System.Windows.Forms.ComboBox();
     this.checkBoxPreventOverlap = new System.Windows.Forms.CheckBox();
     this.label1                 = new System.Windows.Forms.Label();
     this.label5                 = new System.Windows.Forms.Label();
     this.label6                 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.WhiteSmoke;
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BackSecondaryColor          = System.Drawing.Color.White;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.Inclination      = 15;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.Perspective      = 10;
     chartArea1.Area3DStyle.Rotation         = 10;
     chartArea1.Area3DStyle.WallWidth        = 0;
     chartArea1.AxisX.IsLabelAutoFit         = false;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.IsLabelAutoFit         = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.BackColor          = System.Drawing.Color.Gainsboro;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.White;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Default";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.BackColor     = System.Drawing.Color.Transparent;
     legend1.Enabled       = false;
     legend1.Font          = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     legend1.IsTextAutoFit = false;
     legend1.Name          = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location                 = new System.Drawing.Point(16, 60);
     this.chart1.Name                     = "chart1";
     series1.BorderColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     series1.ChartArea                    = "Default";
     series1.ChartType                    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     series1.Font                         = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     series1.IsValueShownAsLabel          = true;
     series1.LabelFormat                  = "P0";
     series1.Legend                       = "Default";
     series1.MarkerSize                   = 6;
     series1.Name                         = "Default";
     series1.ShadowOffset                 = 1;
     series1.SmartLabelStyle.CalloutStyle = System.Windows.Forms.DataVisualization.Charting.LabelCalloutStyle.Box;
     this.chart1.Series.Add(series1);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     this.chart1.Click   += new System.EventHandler(this.chart1_Click);
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 14);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 36);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample demonstrates how to use smart labels to avoid overlaps by repositioni" +
                                        "ng or hiding point labels.";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.Aligned);
     this.panel1.Controls.Add(this.NumOfPoints);
     this.panel1.Controls.Add(this.CalloutStyle);
     this.panel1.Controls.Add(this.CalloutLineAnchorWidth);
     this.panel1.Controls.Add(this.CalloutLineAnchorColor);
     this.panel1.Controls.Add(this.CalloutLineAnchorCap);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.AllowOutsidePlotArea);
     this.panel1.Controls.Add(this.checkBoxPreventOverlap);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Location = new System.Drawing.Point(424, 68);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(296, 292);
     this.panel1.TabIndex = 0;
     //
     // Aligned
     //
     this.Aligned.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.Aligned.Location        = new System.Drawing.Point(22, 36);
     this.Aligned.Name            = "Aligned";
     this.Aligned.Size            = new System.Drawing.Size(168, 24);
     this.Aligned.TabIndex        = 1;
     this.Aligned.Text            = "&Similar Point Values:";
     this.Aligned.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.Aligned.CheckedChanged += new System.EventHandler(this.Aligned_CheckedChanged);
     //
     // NumOfPoints
     //
     this.NumOfPoints.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.NumOfPoints.Items.AddRange(new object[] {
         "20",
         "30",
         "40",
         "50",
         "60"
     });
     this.NumOfPoints.Location              = new System.Drawing.Point(176, 64);
     this.NumOfPoints.Name                  = "NumOfPoints";
     this.NumOfPoints.Size                  = new System.Drawing.Size(121, 22);
     this.NumOfPoints.TabIndex              = 3;
     this.NumOfPoints.SelectedIndexChanged += new System.EventHandler(this.NumOfPoints_SelectedIndexChanged);
     //
     // CalloutStyle
     //
     this.CalloutStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CalloutStyle.Items.AddRange(new object[] {
         "None",
         "Box",
         "Underlined"
     });
     this.CalloutStyle.Location              = new System.Drawing.Point(176, 200);
     this.CalloutStyle.Name                  = "CalloutStyle";
     this.CalloutStyle.Size                  = new System.Drawing.Size(121, 22);
     this.CalloutStyle.TabIndex              = 13;
     this.CalloutStyle.SelectedIndexChanged += new System.EventHandler(this.CalloutStyle_SelectedIndexChanged);
     //
     // CalloutLineAnchorWidth
     //
     this.CalloutLineAnchorWidth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CalloutLineAnchorWidth.Items.AddRange(new object[] {
         "1",
         "2",
         "3",
         "4",
         "5"
     });
     this.CalloutLineAnchorWidth.Location              = new System.Drawing.Point(176, 176);
     this.CalloutLineAnchorWidth.Name                  = "CalloutLineAnchorWidth";
     this.CalloutLineAnchorWidth.Size                  = new System.Drawing.Size(121, 22);
     this.CalloutLineAnchorWidth.TabIndex              = 11;
     this.CalloutLineAnchorWidth.SelectedIndexChanged += new System.EventHandler(this.CalloutLineAnchorWidth_SelectedIndexChanged);
     //
     // CalloutLineAnchorColor
     //
     this.CalloutLineAnchorColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CalloutLineAnchorColor.Items.AddRange(new object[] {
         "Red",
         "Blue",
         "Green",
         "Yellow"
     });
     this.CalloutLineAnchorColor.Location              = new System.Drawing.Point(176, 152);
     this.CalloutLineAnchorColor.Name                  = "CalloutLineAnchorColor";
     this.CalloutLineAnchorColor.Size                  = new System.Drawing.Size(121, 22);
     this.CalloutLineAnchorColor.TabIndex              = 9;
     this.CalloutLineAnchorColor.SelectedIndexChanged += new System.EventHandler(this.CalloutLineAnchorColor_SelectedIndexChanged);
     //
     // CalloutLineAnchorCap
     //
     this.CalloutLineAnchorCap.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CalloutLineAnchorCap.Items.AddRange(new object[] {
         "None",
         "Arrow",
         "Diamond",
         "Square",
         "Round"
     });
     this.CalloutLineAnchorCap.Location              = new System.Drawing.Point(176, 128);
     this.CalloutLineAnchorCap.Name                  = "CalloutLineAnchorCap";
     this.CalloutLineAnchorCap.Size                  = new System.Drawing.Size(121, 22);
     this.CalloutLineAnchorCap.TabIndex              = 7;
     this.CalloutLineAnchorCap.SelectedIndexChanged += new System.EventHandler(this.CalloutLineAnchorCap_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(3, 176);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(172, 20);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Callout Line Anchor &Width:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 154);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(168, 16);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Callout Line Anchor C&olor:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 130);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 16);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Callout Line Anchor &Cap:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // AllowOutsidePlotArea
     //
     this.AllowOutsidePlotArea.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.AllowOutsidePlotArea.Items.AddRange(new object[] {
         "No",
         "Yes",
         "Partial"
     });
     this.AllowOutsidePlotArea.Location              = new System.Drawing.Point(176, 96);
     this.AllowOutsidePlotArea.Name                  = "AllowOutsidePlotArea";
     this.AllowOutsidePlotArea.Size                  = new System.Drawing.Size(121, 22);
     this.AllowOutsidePlotArea.TabIndex              = 5;
     this.AllowOutsidePlotArea.SelectedIndexChanged += new System.EventHandler(this.AllowOutsidePlotArea_SelectedIndexChanged);
     //
     // checkBoxPreventOverlap
     //
     this.checkBoxPreventOverlap.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxPreventOverlap.Location        = new System.Drawing.Point(18, 8);
     this.checkBoxPreventOverlap.Name            = "checkBoxPreventOverlap";
     this.checkBoxPreventOverlap.Size            = new System.Drawing.Size(172, 24);
     this.checkBoxPreventOverlap.TabIndex        = 0;
     this.checkBoxPreventOverlap.Text            = "&Smart Labels:";
     this.checkBoxPreventOverlap.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxPreventOverlap.CheckedChanged += new System.EventHandler(this.checkBoxPreventOverlap_CheckedChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 99);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(160, 16);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Allow &Outside Plot Area:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label1.Click    += new System.EventHandler(this.label1_Click);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(16, 202);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(160, 16);
     this.label5.TabIndex  = 12;
     this.label5.Text      = "Callout St&yle:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(16, 67);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(160, 16);
     this.label6.TabIndex  = 2;
     this.label6.Text      = "&Number of Points:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // SmartLabels
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "Smart Labels";
     this.Size  = new System.Drawing.Size(728, 376);
     this.Load += new System.EventHandler(this.SmartLabels_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }