|
@@ -28,11 +28,11 @@ |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
private void InitializeComponent() |
|
|
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 series7 = new System.Windows.Forms.DataVisualization.Charting.Series(); |
|
|
|
|
|
System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series(); |
|
|
|
|
|
System.Windows.Forms.DataVisualization.Charting.Series series9 = 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(); |
|
|
this.StatisticsChart = new System.Windows.Forms.DataVisualization.Charting.Chart(); |
|
|
this.StatisticsChart = new System.Windows.Forms.DataVisualization.Charting.Chart(); |
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox(); |
|
|
this.checkBox1 = new System.Windows.Forms.CheckBox(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
|
this.label2 = new System.Windows.Forms.Label(); |
|
@@ -78,39 +78,40 @@ |
|
|
// StatisticsChart |
|
|
// StatisticsChart |
|
|
// |
|
|
// |
|
|
this.StatisticsChart.BackColor = System.Drawing.Color.Transparent; |
|
|
this.StatisticsChart.BackColor = System.Drawing.Color.Transparent; |
|
|
chartArea3.AxisX.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea3.AxisY.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea3.AxisY2.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea3.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
chartArea3.Name = "ChartArea"; |
|
|
|
|
|
this.StatisticsChart.ChartAreas.Add(chartArea3); |
|
|
|
|
|
|
|
|
chartArea1.AxisX.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea1.AxisY.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea1.AxisY2.MajorGrid.Enabled = false; |
|
|
|
|
|
chartArea1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
chartArea1.Name = "ChartArea"; |
|
|
|
|
|
this.StatisticsChart.ChartAreas.Add(chartArea1); |
|
|
this.StatisticsChart.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
this.StatisticsChart.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
legend3.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
legend3.Name = "ChartLegend"; |
|
|
|
|
|
this.StatisticsChart.Legends.Add(legend3); |
|
|
|
|
|
|
|
|
legend1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
|
|
legend1.Name = "ChartLegend"; |
|
|
|
|
|
this.StatisticsChart.Legends.Add(legend1); |
|
|
this.StatisticsChart.Location = new System.Drawing.Point(0, 0); |
|
|
this.StatisticsChart.Location = new System.Drawing.Point(0, 0); |
|
|
this.StatisticsChart.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
this.StatisticsChart.Margin = new System.Windows.Forms.Padding(5, 10, 5, 10); |
|
|
this.StatisticsChart.Name = "StatisticsChart"; |
|
|
this.StatisticsChart.Name = "StatisticsChart"; |
|
|
this.StatisticsChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel; |
|
|
this.StatisticsChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel; |
|
|
series7.ChartArea = "ChartArea"; |
|
|
|
|
|
series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area; |
|
|
|
|
|
series7.Color = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); |
|
|
|
|
|
series7.Legend = "ChartLegend"; |
|
|
|
|
|
series7.Name = "Data Transferred"; |
|
|
|
|
|
series8.ChartArea = "ChartArea"; |
|
|
|
|
|
series8.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble; |
|
|
|
|
|
series8.Color = System.Drawing.Color.Red; |
|
|
|
|
|
series8.Legend = "ChartLegend"; |
|
|
|
|
|
series8.Name = "Package Loss"; |
|
|
|
|
|
series8.YValuesPerPoint = 4; |
|
|
|
|
|
series9.BorderWidth = 4; |
|
|
|
|
|
series9.ChartArea = "ChartArea"; |
|
|
|
|
|
series9.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; |
|
|
|
|
|
series9.Legend = "ChartLegend"; |
|
|
|
|
|
series9.Name = "Ping"; |
|
|
|
|
|
this.StatisticsChart.Series.Add(series7); |
|
|
|
|
|
this.StatisticsChart.Series.Add(series8); |
|
|
|
|
|
this.StatisticsChart.Series.Add(series9); |
|
|
|
|
|
|
|
|
series1.ChartArea = "ChartArea"; |
|
|
|
|
|
series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area; |
|
|
|
|
|
series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(204)))), ((int)(((byte)(204))))); |
|
|
|
|
|
series1.Legend = "ChartLegend"; |
|
|
|
|
|
series1.Name = "Data Transferred"; |
|
|
|
|
|
series2.ChartArea = "ChartArea"; |
|
|
|
|
|
series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bubble; |
|
|
|
|
|
series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(88)))), ((int)(((byte)(0))))); |
|
|
|
|
|
series2.Legend = "ChartLegend"; |
|
|
|
|
|
series2.Name = "Package Loss"; |
|
|
|
|
|
series2.YValuesPerPoint = 4; |
|
|
|
|
|
series3.BorderWidth = 4; |
|
|
|
|
|
series3.ChartArea = "ChartArea"; |
|
|
|
|
|
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line; |
|
|
|
|
|
series3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(77)))), ((int)(((byte)(150))))); |
|
|
|
|
|
series3.Legend = "ChartLegend"; |
|
|
|
|
|
series3.Name = "Ping"; |
|
|
|
|
|
this.StatisticsChart.Series.Add(series1); |
|
|
|
|
|
this.StatisticsChart.Series.Add(series2); |
|
|
|
|
|
this.StatisticsChart.Series.Add(series3); |
|
|
this.StatisticsChart.Size = new System.Drawing.Size(1029, 239); |
|
|
this.StatisticsChart.Size = new System.Drawing.Size(1029, 239); |
|
|
this.StatisticsChart.TabIndex = 2; |
|
|
this.StatisticsChart.TabIndex = 2; |
|
|
this.StatisticsChart.Click += new System.EventHandler(this.StatisticsChart_Click); |
|
|
this.StatisticsChart.Click += new System.EventHandler(this.StatisticsChart_Click); |
|
|