Esempio n. 1
0
        protected void AnnotateChart()
        {
            //Set the threshold with the given specificity.
            double specificity = this.listCandidateSpecificity[this.intThresholdIndex];

            ipyModel.Threshold(specificity);
            lblDecisionThreshold.Text = String.Format("{0:F3}", UntransformThreshold((double)ipyModel.threshold));

            //Locate the specificity annotation
            lblSpec.Text = "Specificity: " + Convert.ToString(Math.Round(value: specificity, digits: 3));
            int xLoc = (int)chartValidation.ChartAreas[0].AxisX.ValueToPixelPosition(specificity) + chartValidation.Location.X - (int)(lblSpec.Size.Width / 2);

            lblSpec.Location = new Point(x: xLoc, y: 6);
            lblSpec.Visible  = true;

            //Format the threshold line and draw it on the chart.
            chartValidation.Annotations.Clear();
            System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation myLine = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
            myLine.X     = chartValidation.ChartAreas[0].AxisX.ValueToPosition(specificity);
            myLine.AxisY = chartValidation.ChartAreas[0].AxisY;
            double yMax = chartValidation.ChartAreas[0].AxisY.Maximum;
            double yMin = chartValidation.ChartAreas[0].AxisY.Minimum;

            myLine.Y             = yMax;
            myLine.Height        = chartValidation.ChartAreas[0].AxisY.ValueToPosition(yMin) - chartValidation.ChartAreas[0].AxisY.ValueToPosition(yMax);
            myLine.Visible       = true;
            myLine.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
            chartValidation.Annotations.Add(myLine);
            chartValidation.Update();

            //Summarize the model's performance in the validation ListView.
            List <double> dblCandidates = listValidationSpecificity.Where(arg => arg <= specificity).ToList();
            int           index         = listValidationSpecificity.FindIndex(arg => arg == dblCandidates.Max());

            string[] listValidation = new string[4] {
                listTruePos[index].ToString(), listTrueNeg[index].ToString(), listFalsePos[index].ToString(), listFalseNeg[index].ToString()
            };

            //Add the row to the listview, coloring it red if this variable is considered to have minor influence.
            ListViewItem lvi = new ListViewItem(listValidation);

            lvValidation.Items.Clear();
            lvValidation.Items.Add(lvi);
        }
 /// <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(GradientChart));
     System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation verticalLineAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
     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.StripLine stripLine2 = 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.Title     title1     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.calculationPendingLabel = new System.Windows.Forms.Label();
     this.calculationPendingTimer = new System.Windows.Forms.Timer(this.components);
     this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
     this.configurationButton = new System.Windows.Forms.Button();
     this.toolTip             = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
     this.SuspendLayout();
     //
     // calculationPendingLabel
     //
     this.calculationPendingLabel.BackColor  = System.Drawing.Color.White;
     this.calculationPendingLabel.Image      = HeuristicLab.Common.Resources.VSImageLibrary.Timer;
     this.calculationPendingLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.calculationPendingLabel.Location   = new System.Drawing.Point(3, 3);
     this.calculationPendingLabel.Margin     = new System.Windows.Forms.Padding(0);
     this.calculationPendingLabel.Name       = "calculationPendingLabel";
     this.calculationPendingLabel.Size       = new System.Drawing.Size(17, 17);
     this.calculationPendingLabel.TabIndex   = 1;
     this.calculationPendingLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.calculationPendingLabel.Visible    = false;
     //
     // calculationPendingTimer
     //
     this.calculationPendingTimer.Tick += new System.EventHandler(this.calculationPendingTimer_Tick);
     //
     // chart
     //
     this.chart.AllowDrop = true;
     verticalLineAnnotation1.AllowMoving     = true;
     verticalLineAnnotation1.AxisXName       = "ChartArea\\rX";
     verticalLineAnnotation1.ClipToChartArea = "ChartArea";
     verticalLineAnnotation1.IsInfinitive    = true;
     verticalLineAnnotation1.LineColor       = System.Drawing.Color.Red;
     verticalLineAnnotation1.LineDashStyle   = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     verticalLineAnnotation1.Name            = "VerticalLineAnnotation";
     verticalLineAnnotation1.YAxisName       = "ChartArea\\rY";
     this.chart.Annotations.Add(verticalLineAnnotation1);
     stripLine1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
     stripLine2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
     chartArea1.AxisX.StripLines.Add(stripLine1);
     chartArea1.AxisX.StripLines.Add(stripLine2);
     chartArea1.Name            = "ChartArea";
     chartArea1.Position.Auto   = false;
     chartArea1.Position.Height = 90F;
     chartArea1.Position.Width  = 100F;
     chartArea1.Position.Y      = 10F;
     this.chart.ChartAreas.Add(chartArea1);
     this.chart.Dock         = System.Windows.Forms.DockStyle.Fill;
     legend1.Alignment       = System.Drawing.StringAlignment.Center;
     legend1.Docking         = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
     legend1.LegendItemOrder = System.Windows.Forms.DataVisualization.Charting.LegendItemOrder.ReversedSeriesOrder;
     legend1.LegendStyle     = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name            = "Default";
     this.chart.Legends.Add(legend1);
     this.chart.Location      = new System.Drawing.Point(0, 0);
     this.chart.Name          = "chart";
     this.chart.Size          = new System.Drawing.Size(453, 308);
     this.chart.TabIndex      = 0;
     title1.Alignment         = System.Drawing.ContentAlignment.TopCenter;
     title1.DockedToChartArea = "ChartArea";
     title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     title1.IsDockedInsideChartArea = false;
     title1.Name = "Title";
     title1.Text = "[Title]";
     this.chart.Titles.Add(title1);
     this.chart.SelectionRangeChanged      += new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.CursorEventArgs>(this.chart_SelectionRangeChanged);
     this.chart.PostPaint                  += new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(this.chart_PostPaint);
     this.chart.AnnotationPositionChanged  += new System.EventHandler(this.chart_AnnotationPositionChanged);
     this.chart.AnnotationPositionChanging += new System.EventHandler <System.Windows.Forms.DataVisualization.Charting.AnnotationPositionChangingEventArgs>(this.chart_AnnotationPositionChanging);
     this.chart.DragDrop  += new System.Windows.Forms.DragEventHandler(this.chart_DragDrop);
     this.chart.DragEnter += new System.Windows.Forms.DragEventHandler(this.chart_DragEnter);
     this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
     this.chart.Resize    += new System.EventHandler(this.chart_Resize);
     //
     // configurationButton
     //
     this.configurationButton.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.configurationButton.AutoSize = true;
     this.configurationButton.Image    = HeuristicLab.Common.Resources.VSImageLibrary.Properties;
     this.configurationButton.Location = new System.Drawing.Point(426, 3);
     this.configurationButton.Name     = "configurationButton";
     this.configurationButton.Size     = new System.Drawing.Size(24, 24);
     this.configurationButton.TabIndex = 2;
     this.configurationButton.TabStop  = false;
     this.toolTip.SetToolTip(this.configurationButton, "Configuration");
     this.configurationButton.UseVisualStyleBackColor = true;
     this.configurationButton.Click += new System.EventHandler(this.config_Click);
     //
     // GradientChart
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.configurationButton);
     this.Controls.Add(this.calculationPendingLabel);
     this.Controls.Add(this.chart);
     this.Name = "GradientChart";
     this.Size = new System.Drawing.Size(453, 308);
     ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.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.Series    series3    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2    = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation verticalLineAnnotation2 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea4 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend4    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series4    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.Title     title2     = new System.Windows.Forms.DataVisualization.Charting.Title();
     this.tabControl1    = new System.Windows.Forms.TabControl();
     this.Bills          = new System.Windows.Forms.TabPage();
     this.button8        = new System.Windows.Forms.Button();
     this.label5         = new System.Windows.Forms.Label();
     this.textBox3       = new System.Windows.Forms.TextBox();
     this.button6        = new System.Windows.Forms.Button();
     this.chart2         = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.dataGridView1  = new System.Windows.Forms.DataGridView();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.button2        = new System.Windows.Forms.Button();
     this.Expenses       = new System.Windows.Forms.TabPage();
     this.button7        = new System.Windows.Forms.Button();
     this.chart1         = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label4         = new System.Windows.Forms.Label();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.dataGridView2  = new System.Windows.Forms.DataGridView();
     this.Column4        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column5        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column6        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.monthCalendar2 = new System.Windows.Forms.MonthCalendar();
     this.button4        = new System.Windows.Forms.Button();
     this.button1        = new System.Windows.Forms.Button();
     this.button3        = new System.Windows.Forms.Button();
     this.button9        = new System.Windows.Forms.Button();
     this.textBox4       = new System.Windows.Forms.TextBox();
     this.label6         = new System.Windows.Forms.Label();
     this.Column1        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column2        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Column3        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabControl1.SuspendLayout();
     this.Bills.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.Expenses.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.Bills);
     this.tabControl1.Controls.Add(this.Expenses);
     this.tabControl1.Location      = new System.Drawing.Point(12, 12);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(614, 501);
     this.tabControl1.TabIndex      = 0;
     //
     // Bills
     //
     this.Bills.Controls.Add(this.label6);
     this.Bills.Controls.Add(this.textBox4);
     this.Bills.Controls.Add(this.button3);
     this.Bills.Controls.Add(this.button1);
     this.Bills.Controls.Add(this.button8);
     this.Bills.Controls.Add(this.label5);
     this.Bills.Controls.Add(this.textBox3);
     this.Bills.Controls.Add(this.button6);
     this.Bills.Controls.Add(this.chart2);
     this.Bills.Controls.Add(this.dataGridView1);
     this.Bills.Controls.Add(this.label3);
     this.Bills.Controls.Add(this.label2);
     this.Bills.Controls.Add(this.label1);
     this.Bills.Controls.Add(this.textBox1);
     this.Bills.Controls.Add(this.button2);
     this.Bills.Cursor   = System.Windows.Forms.Cursors.Cross;
     this.Bills.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Bills.Location = new System.Drawing.Point(4, 22);
     this.Bills.Name     = "Bills";
     this.Bills.Padding  = new System.Windows.Forms.Padding(3);
     this.Bills.Size     = new System.Drawing.Size(606, 475);
     this.Bills.TabIndex = 0;
     this.Bills.Text     = "Bills";
     this.Bills.UseVisualStyleBackColor = true;
     //
     // button8
     //
     this.button8.Location = new System.Drawing.Point(13, 140);
     this.button8.Name     = "button8";
     this.button8.Size     = new System.Drawing.Size(75, 23);
     this.button8.TabIndex = 16;
     this.button8.Text     = "Clear";
     this.button8.UseVisualStyleBackColor = true;
     this.button8.Click += new System.EventHandler(this.button8_Click);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(10, 108);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(74, 16);
     this.label5.TabIndex = 15;
     this.label5.Text     = "After Bills";
     //
     // textBox3
     //
     this.textBox3.Location     = new System.Drawing.Point(130, 105);
     this.textBox3.Name         = "textBox3";
     this.textBox3.Size         = new System.Drawing.Size(183, 22);
     this.textBox3.TabIndex     = 14;
     this.textBox3.TextChanged += new System.EventHandler(this.textBox3_TextChanged);
     //
     // button6
     //
     this.button6.Location = new System.Drawing.Point(481, 286);
     this.button6.Name     = "button6";
     this.button6.Size     = new System.Drawing.Size(84, 23);
     this.button6.TabIndex = 13;
     this.button6.Text     = "Calculate";
     this.button6.UseVisualStyleBackColor = true;
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // chart2
     //
     chartArea3.Name = "ChartArea1";
     this.chart2.ChartAreas.Add(chartArea3);
     legend3.Name = "Legend1";
     this.chart2.Legends.Add(legend3);
     this.chart2.Location = new System.Drawing.Point(364, 21);
     this.chart2.Name     = "chart2";
     series3.ChartArea    = "ChartArea1";
     series3.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie;
     series3.Legend       = "Legend1";
     series3.Name         = "Series1";
     this.chart2.Series.Add(series3);
     this.chart2.Size     = new System.Drawing.Size(236, 259);
     this.chart2.TabIndex = 12;
     this.chart2.Text     = "chart2";
     //
     // dataGridView1
     //
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column1,
         this.Column2,
         this.Column3
     });
     this.dataGridView1.Location              = new System.Drawing.Point(26, 235);
     this.dataGridView1.Name                  = "dataGridView1";
     dataGridViewCellStyle2.BackColor         = System.Drawing.Color.White;
     this.dataGridView1.RowsDefaultCellStyle  = dataGridViewCellStyle2;
     this.dataGridView1.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.Size                  = new System.Drawing.Size(332, 225);
     this.dataGridView1.TabIndex              = 10;
     this.dataGridView1.CellContentClick     += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(207, 201);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(44, 16);
     this.label3.TabIndex = 9;
     this.label3.Text     = "Total";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(23, 201);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(160, 16);
     this.label2.TabIndex = 5;
     this.label2.Text     = "List of Bills and if paid";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(10, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Before Bills";
     this.label1.Click   += new System.EventHandler(this.label1_Click);
     //
     // textBox1
     //
     this.textBox1.Location     = new System.Drawing.Point(130, 21);
     this.textBox1.Name         = "textBox1";
     this.textBox1.Size         = new System.Drawing.Size(183, 22);
     this.textBox1.TabIndex     = 3;
     this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(376, 286);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 1;
     this.button2.Text     = "Remove";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // Expenses
     //
     this.Expenses.Controls.Add(this.button9);
     this.Expenses.Controls.Add(this.button7);
     this.Expenses.Controls.Add(this.chart1);
     this.Expenses.Controls.Add(this.label4);
     this.Expenses.Controls.Add(this.textBox2);
     this.Expenses.Controls.Add(this.dataGridView2);
     this.Expenses.Controls.Add(this.monthCalendar2);
     this.Expenses.Controls.Add(this.button4);
     this.Expenses.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Expenses.Location = new System.Drawing.Point(4, 22);
     this.Expenses.Name     = "Expenses";
     this.Expenses.Padding  = new System.Windows.Forms.Padding(3);
     this.Expenses.Size     = new System.Drawing.Size(606, 475);
     this.Expenses.TabIndex = 1;
     this.Expenses.Text     = "Expenses";
     this.Expenses.UseVisualStyleBackColor = true;
     //
     // button7
     //
     this.button7.Location = new System.Drawing.Point(122, 384);
     this.button7.Name     = "button7";
     this.button7.Size     = new System.Drawing.Size(81, 23);
     this.button7.TabIndex = 12;
     this.button7.Text     = "Calculate";
     this.button7.UseVisualStyleBackColor = true;
     //
     // chart1
     //
     verticalLineAnnotation2.Name = "VerticalLineAnnotation1";
     this.chart1.Annotations.Add(verticalLineAnnotation2);
     chartArea4.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea4);
     legend4.Name = "Legend1";
     this.chart1.Legends.Add(legend4);
     this.chart1.Location = new System.Drawing.Point(366, 6);
     this.chart1.Name     = "chart1";
     series4.ChartArea    = "ChartArea1";
     series4.ChartType    = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie;
     series4.Legend       = "Legend1";
     series4.Name         = "Series1";
     this.chart1.Series.Add(series4);
     this.chart1.Size     = new System.Drawing.Size(237, 271);
     this.chart1.TabIndex = 10;
     this.chart1.Text     = "chart1";
     title2.Name          = "Spending Trend";
     this.chart1.Titles.Add(title2);
     this.chart1.Click += new System.EventHandler(this.chart1_Click);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(14, 307);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(124, 16);
     this.label4.TabIndex = 11;
     this.label4.Text     = "Total left in Bank";
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(145, 304);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(173, 22);
     this.textBox2.TabIndex = 10;
     //
     // dataGridView2
     //
     this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.Column4,
         this.Column5,
         this.Column6
     });
     this.dataGridView2.Location = new System.Drawing.Point(17, 23);
     this.dataGridView2.Name     = "dataGridView2";
     this.dataGridView2.Size     = new System.Drawing.Size(343, 233);
     this.dataGridView2.TabIndex = 9;
     //
     // Column4
     //
     this.Column4.HeaderText = "Name";
     this.Column4.Name       = "Column4";
     //
     // Column5
     //
     this.Column5.HeaderText = "Charge Total";
     this.Column5.Name       = "Column5";
     //
     // Column6
     //
     this.Column6.HeaderText = "Charge Date";
     this.Column6.Name       = "Column6";
     //
     // monthCalendar2
     //
     this.monthCalendar2.Location = new System.Drawing.Point(367, 289);
     this.monthCalendar2.Name     = "monthCalendar2";
     this.monthCalendar2.TabIndex = 8;
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(17, 384);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(75, 23);
     this.button4.TabIndex = 1;
     this.button4.Text     = "Remove";
     this.button4.UseVisualStyleBackColor = true;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(376, 346);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 17;
     this.button1.Text     = "Save";
     this.button1.UseVisualStyleBackColor = true;
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(481, 346);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(75, 23);
     this.button3.TabIndex = 18;
     this.button3.Text     = "Load";
     this.button3.UseVisualStyleBackColor = true;
     //
     // button9
     //
     this.button9.Location = new System.Drawing.Point(233, 384);
     this.button9.Name     = "button9";
     this.button9.Size     = new System.Drawing.Size(75, 23);
     this.button9.TabIndex = 13;
     this.button9.Text     = "Save";
     this.button9.UseVisualStyleBackColor = true;
     //
     // textBox4
     //
     this.textBox4.Location     = new System.Drawing.Point(130, 62);
     this.textBox4.Name         = "textBox4";
     this.textBox4.Size         = new System.Drawing.Size(183, 22);
     this.textBox4.TabIndex     = 19;
     this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(10, 68);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(78, 16);
     this.label6.TabIndex = 20;
     this.label6.Text     = "Bills Total";
     //
     // Column1
     //
     this.Column1.HeaderText = "Bill Name";
     this.Column1.Name       = "Column1";
     //
     // Column2
     //
     this.Column2.HeaderText = "Bill Total";
     this.Column2.Name       = "Column2";
     //
     // Column3
     //
     this.Column3.HeaderText = "Due Date";
     this.Column3.Name       = "Column3";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(635, 519);
     this.Controls.Add(this.tabControl1);
     this.Name = "Form1";
     this.Text = "Personal Accountant";
     this.tabControl1.ResumeLayout(false);
     this.Bills.ResumeLayout(false);
     this.Bills.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.Expenses.ResumeLayout(false);
     this.Expenses.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).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() {
      this.components = new System.ComponentModel.Container();
      System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation verticalLineAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
      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.StripLine stripLine2 = 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.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
      System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
      System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series();
      System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
      this.calculationPendingLabel = new System.Windows.Forms.Label();
      this.calculationPendingTimer = new System.Windows.Forms.Timer(this.components);
      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
      this.SuspendLayout();
      // 
      // calculationPendingLabel
      // 
      this.calculationPendingLabel.BackColor = System.Drawing.Color.White;
      this.calculationPendingLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Timer;
      this.calculationPendingLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
      this.calculationPendingLabel.Location = new System.Drawing.Point(3, 3);
      this.calculationPendingLabel.Margin = new System.Windows.Forms.Padding(0);
      this.calculationPendingLabel.Name = "calculationPendingLabel";
      this.calculationPendingLabel.Size = new System.Drawing.Size(17, 17);
      this.calculationPendingLabel.TabIndex = 1;
      this.calculationPendingLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      this.calculationPendingLabel.Visible = false;
      // 
      // calculationPendingTimer
      // 
      this.calculationPendingTimer.Tick += new System.EventHandler(this.calculationPendingTimer_Tick);
      // 
      // chart
      // 
      this.chart.AllowDrop = true;
      verticalLineAnnotation1.AllowMoving = true;
      verticalLineAnnotation1.AxisXName = "ChartArea\\rX";
      verticalLineAnnotation1.ClipToChartArea = "ChartArea";
      verticalLineAnnotation1.IsInfinitive = true;
      verticalLineAnnotation1.LineColor = System.Drawing.Color.Red;
      verticalLineAnnotation1.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
      verticalLineAnnotation1.Name = "VerticalLineAnnotation";
      verticalLineAnnotation1.YAxisName = "ChartArea\\rY";
      this.chart.Annotations.Add(verticalLineAnnotation1);
      chartArea1.AxisX.IsMarginVisible = false;
      stripLine1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
      stripLine2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
      chartArea1.AxisX.StripLines.Add(stripLine1);
      chartArea1.AxisX.StripLines.Add(stripLine2);
      chartArea1.Name = "ChartArea";
      chartArea1.Position.Auto = false;
      chartArea1.Position.Height = 90F;
      chartArea1.Position.Width = 100F;
      chartArea1.Position.Y = 10F;
      this.chart.ChartAreas.Add(chartArea1);
      this.chart.Dock = System.Windows.Forms.DockStyle.Fill;
      legend1.Alignment = System.Drawing.StringAlignment.Center;
      legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
      legend1.LegendItemOrder = System.Windows.Forms.DataVisualization.Charting.LegendItemOrder.ReversedSeriesOrder;
      legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
      legend1.Name = "Default";
      this.chart.Legends.Add(legend1);
      this.chart.Location = new System.Drawing.Point(0, 0);
      this.chart.Name = "chart";
      series1.BorderColor = System.Drawing.Color.Red;
      series1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
      series1.ChartArea = "ChartArea";
      series1.IsVisibleInLegend = false;
      series1.Legend = "Default";
      series1.Name = "Series1";
      series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String;
      series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
      series2.ChartArea = "ChartArea";
      series2.IsVisibleInLegend = false;
      series2.Legend = "Default";
      series2.Name = "Series2";
      series2.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String;
      series3.ChartArea = "ChartArea";
      series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.BoxPlot;
      series3.Color = System.Drawing.Color.Black;
      series3.Legend = "Default";
      series3.Name = "Series3";
      series3.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String;
      series3.YValuesPerPoint = 6;
      series4.ChartArea = "ChartArea";
      series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.BoxPlot;
      series4.Legend = "Default";
      series4.Name = "Series4";
      series4.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.String;
      series4.YValuesPerPoint = 6;
      this.chart.Series.Add(series1);
      this.chart.Series.Add(series2);
      this.chart.Series.Add(series3);
      this.chart.Series.Add(series4);
      this.chart.Size = new System.Drawing.Size(453, 308);
      this.chart.TabIndex = 0;
      title1.Alignment = System.Drawing.ContentAlignment.TopCenter;
      title1.DockedToChartArea = "ChartArea";
      title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
      title1.IsDockedInsideChartArea = false;
      title1.Name = "Title";
      title1.Text = "[Title]";
      this.chart.Titles.Add(title1);
      this.chart.SelectionRangeChanged += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CursorEventArgs>(this.chart_SelectionRangeChanged);
      this.chart.PostPaint += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(this.chart_PostPaint);
      this.chart.DragDrop += new System.Windows.Forms.DragEventHandler(this.chart_DragDrop);
      this.chart.DragEnter += new System.Windows.Forms.DragEventHandler(this.chart_DragEnter);
      this.chart.MouseClick += new System.Windows.Forms.MouseEventHandler(this.chart_MouseClick);
      this.chart.Resize += new System.EventHandler(this.chart_Resize);
      // 
      // FactorPartialDependencePlot
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.Controls.Add(this.calculationPendingLabel);
      this.Controls.Add(this.chart);
      this.Name = "FactorPartialDependencePlot";
      this.Size = new System.Drawing.Size(453, 308);
      ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
      this.ResumeLayout(false);

    }
Esempio n. 5
0
        protected void AnnotateChart()
        {
            //Set the threshold with the given specificity.
            double specificity = this.listCandidateSpecificity[this.intThresholdIndex];
            ipyModel.Threshold(specificity);
            lblDecisionThreshold.Text = String.Format("{0:F3}", UntransformThreshold((double)ipyModel.threshold));

            //Locate the specificity annotation
            lblSpec.Text = "Specificity: " + Convert.ToString( Math.Round(value:specificity, digits:3) );
            int xLoc = (int)chartValidation.ChartAreas[0].AxisX.ValueToPixelPosition(specificity) + chartValidation.Location.X - (int)(lblSpec.Size.Width / 2);
            lblSpec.Location = new Point(x:xLoc, y:6);
            lblSpec.Visible = true;

            //Format the threshold line and draw it on the chart.
            chartValidation.Annotations.Clear();
            System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation myLine = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
            myLine.X = chartValidation.ChartAreas[0].AxisX.ValueToPosition(specificity);
            myLine.AxisY = chartValidation.ChartAreas[0].AxisY;
            double yMax = chartValidation.ChartAreas[0].AxisY.Maximum;
            double yMin = chartValidation.ChartAreas[0].AxisY.Minimum;
            myLine.Y = yMax;
            myLine.Height = chartValidation.ChartAreas[0].AxisY.ValueToPosition(yMin) - chartValidation.ChartAreas[0].AxisY.ValueToPosition(yMax);
            myLine.Visible = true;
            myLine.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
            chartValidation.Annotations.Add(myLine);
            chartValidation.Update();

            //Summarize the model's performance in the validation ListView.
            List<double> dblCandidates = listValidationSpecificity.Where(arg => arg <= specificity).ToList();
            int index = listValidationSpecificity.FindIndex(arg => arg==dblCandidates.Max());
            string[] listValidation = new string[4] { listTruePos[index].ToString(), listTrueNeg[index].ToString(), listFalsePos[index].ToString(), listFalseNeg[index].ToString() };

            //Add the row to the listview, coloring it red if this variable is considered to have minor influence.
            ListViewItem lvi = new ListViewItem(listValidation);
            lvValidation.Items.Clear();
            lvValidation.Items.Add(lvi);
        }
Esempio n. 6
0
 /// <summary>
 /// Metoda vyžadovaná pro podporu Návrháře - neupravovat
 /// obsah této metody v editoru kódu.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation verticalLineAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
     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.label1    = new System.Windows.Forms.Label();
     this.BirthDate = new System.Windows.Forms.DateTimePicker();
     this.Graph     = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.Count     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.Graph)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 15);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(86, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Datum narození:";
     //
     // BirthDate
     //
     this.BirthDate.Location = new System.Drawing.Point(104, 12);
     this.BirthDate.Name     = "BirthDate";
     this.BirthDate.Size     = new System.Drawing.Size(200, 20);
     this.BirthDate.TabIndex = 1;
     //
     // Graph
     //
     this.Graph.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)));
     verticalLineAnnotation1.AnchorX         = 5D;
     verticalLineAnnotation1.AxisXName       = "ChartArea1\\rX";
     verticalLineAnnotation1.ClipToChartArea = "ChartArea1";
     verticalLineAnnotation1.Height          = 100D;
     verticalLineAnnotation1.LineColor       = System.Drawing.Color.Red;
     verticalLineAnnotation1.LineWidth       = 2;
     verticalLineAnnotation1.Name            = "Today";
     this.Graph.Annotations.Add(verticalLineAnnotation1);
     chartArea1.AxisX.Interval            = 3D;
     chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.Gray;
     chartArea1.AxisY.Interval            = 0.5D;
     chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.Gray;
     chartArea1.AxisY.Maximum             = 1D;
     chartArea1.AxisY.Minimum             = -1D;
     chartArea1.BorderColor = System.Drawing.Color.Gray;
     chartArea1.Name        = "ChartArea1";
     this.Graph.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.Graph.Legends.Add(legend1);
     this.Graph.Location = new System.Drawing.Point(15, 121);
     this.Graph.Name     = "Graph";
     series1.BorderWidth = 2;
     series1.ChartArea   = "ChartArea1";
     series1.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series1.Legend      = "Legend1";
     series1.Name        = "Fyzický cyklus";
     series2.BorderWidth = 2;
     series2.ChartArea   = "ChartArea1";
     series2.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series2.Legend      = "Legend1";
     series2.Name        = "Psychický cyklus";
     series3.BorderWidth = 2;
     series3.ChartArea   = "ChartArea1";
     series3.ChartType   = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline;
     series3.Legend      = "Legend1";
     series3.Name        = "Intelektuální cyklus";
     this.Graph.Series.Add(series1);
     this.Graph.Series.Add(series2);
     this.Graph.Series.Add(series3);
     this.Graph.Size     = new System.Drawing.Size(457, 228);
     this.Graph.TabIndex = 2;
     this.Graph.Text     = "Graf";
     //
     // Count
     //
     this.Count.Location = new System.Drawing.Point(310, 10);
     this.Count.Name     = "Count";
     this.Count.Size     = new System.Drawing.Size(75, 23);
     this.Count.TabIndex = 3;
     this.Count.Text     = "Vypočítat";
     this.Count.UseVisualStyleBackColor = true;
     this.Count.Click += new System.EventHandler(this.Count_Click);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(484, 361);
     this.Controls.Add(this.Count);
     this.Controls.Add(this.Graph);
     this.Controls.Add(this.BirthDate);
     this.Controls.Add(this.label1);
     this.Name = "MainForm";
     this.Text = "Kondiciogram";
     ((System.ComponentModel.ISupportInitialize)(this.Graph)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 7
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.VerticalLineAnnotation verticalLineAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
     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();
     System.Windows.Forms.DataVisualization.Charting.Series    series4    = new System.Windows.Forms.DataVisualization.Charting.Series();
     this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.SuspendLayout();
     //
     // chart1
     //
     verticalLineAnnotation1.Name = "VerticalLineAnnotation1";
     this.chart1.Annotations.Add(verticalLineAnnotation1);
     chartArea1.Name = "ChartArea1";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Name = "Legend1";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location = new System.Drawing.Point(115, 59);
     this.chart1.Name     = "chart1";
     series1.ChartArea    = "ChartArea1";
     series1.Legend       = "Legend1";
     series1.Name         = "Usuarios";
     series2.ChartArea    = "ChartArea1";
     series2.Legend       = "Legend1";
     series2.Name         = "Clientes";
     series3.ChartArea    = "ChartArea1";
     series3.Legend       = "Legend1";
     series3.Name         = "Productos";
     series4.ChartArea    = "ChartArea1";
     series4.Legend       = "Legend1";
     series4.Name         = "Proveedores";
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Series.Add(series3);
     this.chart1.Series.Add(series4);
     this.chart1.Size     = new System.Drawing.Size(667, 439);
     this.chart1.TabIndex = 0;
     this.chart1.Text     = "chart1";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Century Gothic", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(334, 7);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(193, 49);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Reportes";
     //
     // Preportes
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(870, 527);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.chart1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "Preportes";
     this.Text            = "Preportes";
     this.Load           += new System.EventHandler(this.Preportes_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
    /// <summary> 
    /// Required method for Designer support - do not modify 
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent() {
      this.components = new System.ComponentModel.Container();
      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GradientChart));
      System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation verticalLineAnnotation1 = new System.Windows.Forms.DataVisualization.Charting.VerticalLineAnnotation();
      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.StripLine stripLine2 = 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.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
      this.calculationPendingLabel = new System.Windows.Forms.Label();
      this.calculationPendingTimer = new System.Windows.Forms.Timer(this.components);
      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
      this.configurationButton = new System.Windows.Forms.Button();
      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
      this.SuspendLayout();
      // 
      // calculationPendingLabel
      // 
      this.calculationPendingLabel.BackColor = System.Drawing.Color.White;
      this.calculationPendingLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Timer;
      this.calculationPendingLabel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
      this.calculationPendingLabel.Location = new System.Drawing.Point(3, 3);
      this.calculationPendingLabel.Margin = new System.Windows.Forms.Padding(0);
      this.calculationPendingLabel.Name = "calculationPendingLabel";
      this.calculationPendingLabel.Size = new System.Drawing.Size(17, 17);
      this.calculationPendingLabel.TabIndex = 1;
      this.calculationPendingLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
      this.calculationPendingLabel.Visible = false;
      // 
      // calculationPendingTimer
      // 
      this.calculationPendingTimer.Tick += new System.EventHandler(this.calculationPendingTimer_Tick);
      // 
      // chart
      // 
      this.chart.AllowDrop = true;
      verticalLineAnnotation1.AllowMoving = true;
      verticalLineAnnotation1.AxisXName = "ChartArea\\rX";
      verticalLineAnnotation1.ClipToChartArea = "ChartArea";
      verticalLineAnnotation1.IsInfinitive = true;
      verticalLineAnnotation1.LineColor = System.Drawing.Color.Red;
      verticalLineAnnotation1.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
      verticalLineAnnotation1.Name = "VerticalLineAnnotation";
      verticalLineAnnotation1.YAxisName = "ChartArea\\rY";
      this.chart.Annotations.Add(verticalLineAnnotation1);
      stripLine1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
      stripLine2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(223)))), ((int)(((byte)(58)))), ((int)(((byte)(2)))));
      chartArea1.AxisX.StripLines.Add(stripLine1);
      chartArea1.AxisX.StripLines.Add(stripLine2);
      chartArea1.Name = "ChartArea";
      chartArea1.Position.Auto = false;
      chartArea1.Position.Height = 90F;
      chartArea1.Position.Width = 100F;
      chartArea1.Position.Y = 10F;
      this.chart.ChartAreas.Add(chartArea1);
      this.chart.Dock = System.Windows.Forms.DockStyle.Fill;
      legend1.Alignment = System.Drawing.StringAlignment.Center;
      legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
      legend1.LegendItemOrder = System.Windows.Forms.DataVisualization.Charting.LegendItemOrder.ReversedSeriesOrder;
      legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
      legend1.Name = "Default";
      this.chart.Legends.Add(legend1);
      this.chart.Location = new System.Drawing.Point(0, 0);
      this.chart.Name = "chart";
      this.chart.Size = new System.Drawing.Size(453, 308);
      this.chart.TabIndex = 0;
      title1.Alignment = System.Drawing.ContentAlignment.TopCenter;
      title1.DockedToChartArea = "ChartArea";
      title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
      title1.IsDockedInsideChartArea = false;
      title1.Name = "Title";
      title1.Text = "[Title]";
      this.chart.Titles.Add(title1);
      this.chart.SelectionRangeChanged += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CursorEventArgs>(this.chart_SelectionRangeChanged);
      this.chart.PostPaint += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ChartPaintEventArgs>(this.chart_PostPaint);
      this.chart.AnnotationPositionChanged += new System.EventHandler(this.chart_AnnotationPositionChanged);
      this.chart.AnnotationPositionChanging += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.AnnotationPositionChangingEventArgs>(this.chart_AnnotationPositionChanging);
      this.chart.DragDrop += new System.Windows.Forms.DragEventHandler(this.chart_DragDrop);
      this.chart.DragEnter += new System.Windows.Forms.DragEventHandler(this.chart_DragEnter);
      this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
      this.chart.Resize += new System.EventHandler(this.chart_Resize);
      // 
      // configurationButton
      // 
      this.configurationButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
      this.configurationButton.AutoSize = true;
      this.configurationButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties;
      this.configurationButton.Location = new System.Drawing.Point(426, 3);
      this.configurationButton.Name = "configurationButton";
      this.configurationButton.Size = new System.Drawing.Size(24, 24);
      this.configurationButton.TabIndex = 2;
      this.configurationButton.TabStop = false;
      this.toolTip.SetToolTip(this.configurationButton, "Configuration");
      this.configurationButton.UseVisualStyleBackColor = true;
      this.configurationButton.Click += new System.EventHandler(this.config_Click);
      // 
      // GradientChart
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.Controls.Add(this.configurationButton);
      this.Controls.Add(this.calculationPendingLabel);
      this.Controls.Add(this.chart);
      this.Name = "GradientChart";
      this.Size = new System.Drawing.Size(453, 308);
      ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
      this.ResumeLayout(false);
      this.PerformLayout();

    }