레이더 그래프에 5가지 상태창 추가

피봇 기능 추가
This commit is contained in:
2017-08-08 00:48:27 +09:00
parent 879b3abda4
commit 9be9aa439a
15 changed files with 766 additions and 153 deletions

View File

@@ -28,18 +28,28 @@
/// </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 series13 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series14 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series15 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series16 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series17 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series18 = new System.Windows.Forms.DataVisualization.Charting.Series();
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();
System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PanelRadarGraph));
this.chart = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.lbSpring = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.rbAll = new System.Windows.Forms.RadioButton();
this.rbNormalLow = new System.Windows.Forms.RadioButton();
this.rbNormalHigh = new System.Windows.Forms.RadioButton();
this.rbHighLow = new System.Windows.Forms.RadioButton();
this.rbHighHigh = new System.Windows.Forms.RadioButton();
this.rbLowTemp = new System.Windows.Forms.RadioButton();
((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// chart
@@ -47,63 +57,63 @@
this.chart.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)));
chartArea3.Area3DStyle.Enable3D = true;
chartArea3.AxisX.MajorGrid.Enabled = false;
chartArea3.AxisX.MajorTickMark.LineWidth = 0;
chartArea3.AxisX2.MajorGrid.Enabled = false;
chartArea3.BackImageTransparentColor = System.Drawing.Color.Black;
chartArea3.Name = "ChartArea1";
this.chart.ChartAreas.Add(chartArea3);
legend3.Name = "Legend1";
this.chart.Legends.Add(legend3);
this.chart.Location = new System.Drawing.Point(12, 27);
chartArea1.Area3DStyle.Enable3D = true;
chartArea1.AxisX.MajorGrid.Enabled = false;
chartArea1.AxisX.MajorTickMark.LineWidth = 0;
chartArea1.AxisX2.MajorGrid.Enabled = false;
chartArea1.BackImageTransparentColor = System.Drawing.Color.Black;
chartArea1.Name = "ChartArea1";
this.chart.ChartAreas.Add(chartArea1);
legend1.Name = "Legend1";
this.chart.Legends.Add(legend1);
this.chart.Location = new System.Drawing.Point(12, 90);
this.chart.Name = "chart";
series13.ChartArea = "ChartArea1";
series13.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series13.IsVisibleInLegend = false;
series13.Legend = "Legend1";
series13.LegendText = "High Risk";
series13.MarkerSize = 0;
series13.Name = "SeriesHigh";
series14.ChartArea = "ChartArea1";
series14.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series14.IsVisibleInLegend = false;
series14.Legend = "Legend1";
series14.LegendText = "Potential Risk";
series14.MarkerSize = 0;
series14.Name = "SeriesPotential";
series15.ChartArea = "ChartArea1";
series15.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series15.IsVisibleInLegend = false;
series15.Legend = "Legend1";
series15.LegendText = "No Risk";
series15.MarkerSize = 0;
series15.Name = "SeriesNo";
series16.ChartArea = "ChartArea1";
series16.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series16.Legend = "Legend1";
series16.LegendText = "Max";
series16.MarkerSize = 0;
series16.Name = "SeriesMax";
series17.ChartArea = "ChartArea1";
series17.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series17.Legend = "Legend1";
series17.LegendText = "Average";
series17.MarkerSize = 0;
series17.Name = "SeriesAvg";
series18.ChartArea = "ChartArea1";
series18.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series18.Legend = "Legend1";
series18.LegendText = "Min";
series18.MarkerSize = 0;
series18.Name = "SeriesMin";
this.chart.Series.Add(series13);
this.chart.Series.Add(series14);
this.chart.Series.Add(series15);
this.chart.Series.Add(series16);
this.chart.Series.Add(series17);
this.chart.Series.Add(series18);
this.chart.Size = new System.Drawing.Size(791, 620);
series1.ChartArea = "ChartArea1";
series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series1.IsVisibleInLegend = false;
series1.Legend = "Legend1";
series1.LegendText = "High Risk";
series1.MarkerSize = 0;
series1.Name = "SeriesHigh";
series2.ChartArea = "ChartArea1";
series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series2.IsVisibleInLegend = false;
series2.Legend = "Legend1";
series2.LegendText = "Potential Risk";
series2.MarkerSize = 0;
series2.Name = "SeriesPotential";
series3.ChartArea = "ChartArea1";
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series3.IsVisibleInLegend = false;
series3.Legend = "Legend1";
series3.LegendText = "No Risk";
series3.MarkerSize = 0;
series3.Name = "SeriesNo";
series4.ChartArea = "ChartArea1";
series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series4.Legend = "Legend1";
series4.LegendText = "Max";
series4.MarkerSize = 0;
series4.Name = "SeriesMax";
series5.ChartArea = "ChartArea1";
series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series5.Legend = "Legend1";
series5.LegendText = "Average";
series5.MarkerSize = 0;
series5.Name = "SeriesAvg";
series6.ChartArea = "ChartArea1";
series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Radar;
series6.Legend = "Legend1";
series6.LegendText = "Min";
series6.MarkerSize = 0;
series6.Name = "SeriesMin";
this.chart.Series.Add(series1);
this.chart.Series.Add(series2);
this.chart.Series.Add(series3);
this.chart.Series.Add(series4);
this.chart.Series.Add(series5);
this.chart.Series.Add(series6);
this.chart.Size = new System.Drawing.Size(791, 557);
this.chart.TabIndex = 0;
this.chart.Text = "chart";
this.chart.MouseClick += new System.Windows.Forms.MouseEventHandler(this.chart_MouseClick);
@@ -111,19 +121,124 @@
// lbSpring
//
this.lbSpring.AutoSize = true;
this.lbSpring.Location = new System.Drawing.Point(12, 12);
this.lbSpring.Font = new System.Drawing.Font("Gulim", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbSpring.Location = new System.Drawing.Point(11, 8);
this.lbSpring.Name = "lbSpring";
this.lbSpring.Size = new System.Drawing.Size(0, 12);
this.lbSpring.TabIndex = 1;
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.Controls.Add(this.lbSpring);
this.panel1.Location = new System.Drawing.Point(12, -1);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(791, 25);
this.panel1.TabIndex = 2;
//
// groupBox1
//
this.groupBox1.BackColor = System.Drawing.Color.Transparent;
this.groupBox1.Controls.Add(this.rbLowTemp);
this.groupBox1.Controls.Add(this.rbHighHigh);
this.groupBox1.Controls.Add(this.rbHighLow);
this.groupBox1.Controls.Add(this.rbNormalHigh);
this.groupBox1.Controls.Add(this.rbNormalLow);
this.groupBox1.Controls.Add(this.rbAll);
this.groupBox1.Location = new System.Drawing.Point(12, 30);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(623, 54);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
//
// rbAll
//
this.rbAll.Appearance = System.Windows.Forms.Appearance.Button;
this.rbAll.Location = new System.Drawing.Point(6, 13);
this.rbAll.Name = "rbAll";
this.rbAll.Size = new System.Drawing.Size(96, 34);
this.rbAll.TabIndex = 0;
this.rbAll.TabStop = true;
this.rbAll.Text = "All";
this.rbAll.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.rbAll.UseVisualStyleBackColor = true;
this.rbAll.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// rbNormalLow
//
this.rbNormalLow.Appearance = System.Windows.Forms.Appearance.Button;
this.rbNormalLow.Location = new System.Drawing.Point(108, 13);
this.rbNormalLow.Name = "rbNormalLow";
this.rbNormalLow.Size = new System.Drawing.Size(96, 34);
this.rbNormalLow.TabIndex = 0;
this.rbNormalLow.TabStop = true;
this.rbNormalLow.Text = "Normal Temp\r\nLow Humid";
this.rbNormalLow.UseVisualStyleBackColor = true;
this.rbNormalLow.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// rbNormalHigh
//
this.rbNormalHigh.Appearance = System.Windows.Forms.Appearance.Button;
this.rbNormalHigh.Location = new System.Drawing.Point(210, 13);
this.rbNormalHigh.Name = "rbNormalHigh";
this.rbNormalHigh.Size = new System.Drawing.Size(96, 34);
this.rbNormalHigh.TabIndex = 0;
this.rbNormalHigh.TabStop = true;
this.rbNormalHigh.Text = "Normal Temp\r\nHigh Humid";
this.rbNormalHigh.UseVisualStyleBackColor = true;
this.rbNormalHigh.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// rbHighLow
//
this.rbHighLow.Appearance = System.Windows.Forms.Appearance.Button;
this.rbHighLow.Location = new System.Drawing.Point(312, 13);
this.rbHighLow.Name = "rbHighLow";
this.rbHighLow.Size = new System.Drawing.Size(96, 34);
this.rbHighLow.TabIndex = 0;
this.rbHighLow.TabStop = true;
this.rbHighLow.Text = "High Temp\r\nLow Humid";
this.rbHighLow.UseVisualStyleBackColor = true;
this.rbHighLow.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// rbHighHigh
//
this.rbHighHigh.Appearance = System.Windows.Forms.Appearance.Button;
this.rbHighHigh.Location = new System.Drawing.Point(414, 13);
this.rbHighHigh.Name = "rbHighHigh";
this.rbHighHigh.Size = new System.Drawing.Size(96, 34);
this.rbHighHigh.TabIndex = 0;
this.rbHighHigh.TabStop = true;
this.rbHighHigh.Text = "High Temp\r\nHigh Humid";
this.rbHighHigh.UseVisualStyleBackColor = true;
this.rbHighHigh.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// rbLowTemp
//
this.rbLowTemp.Appearance = System.Windows.Forms.Appearance.Button;
this.rbLowTemp.Location = new System.Drawing.Point(516, 13);
this.rbLowTemp.Name = "rbLowTemp";
this.rbLowTemp.Size = new System.Drawing.Size(96, 34);
this.rbLowTemp.TabIndex = 0;
this.rbLowTemp.TabStop = true;
this.rbLowTemp.Text = "Low Temp";
this.rbLowTemp.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.rbLowTemp.UseVisualStyleBackColor = true;
this.rbLowTemp.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged);
//
// PanelRadarGraph
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(815, 659);
this.ControlBox = false;
this.Controls.Add(this.lbSpring);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.chart);
this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)(((((WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight)
| WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop)
| WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom)
| WeifenLuo.WinFormsUI.Docking.DockAreas.Document)));
this.HideOnClose = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "PanelRadarGraph";
@@ -132,8 +247,10 @@
this.Text = "Radar Graph";
this.VisibleChanged += new System.EventHandler(this.PanelRadarGraph_VisibleChanged);
((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -141,5 +258,13 @@
private System.Windows.Forms.DataVisualization.Charting.Chart chart;
private System.Windows.Forms.Label lbSpring;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.RadioButton rbLowTemp;
private System.Windows.Forms.RadioButton rbHighHigh;
private System.Windows.Forms.RadioButton rbHighLow;
private System.Windows.Forms.RadioButton rbNormalHigh;
private System.Windows.Forms.RadioButton rbNormalLow;
private System.Windows.Forms.RadioButton rbAll;
}
}