Hi!
Did you try compiling it? It's not at all complete.
Darn partial classes <g>
It is complete, except for the TeeChart component required.
The Form1.Designer.cs below. Otherwise it would be
best, I just send you a complete project, but dont know where
to.
It would also be helpful to do it in a console app. We don't need
charts etc - raw numbers are fine. Console apps are generally
considerably shorter.
It is rather hard to observe trends in text. You can always
print out the arrays passed to the chart series and comment
out the chart references. This is only the last part of the
Thanks!
Atmapuri
namespace WindowsApplication6
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed;
otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.StartButton = new System.Windows.Forms.Button();
this.tChart1 = new Steema.TeeChart.TChart();
this.fastLine1 = new Steema.TeeChart.Styles.FastLine();
this.fastLine2 = new Steema.TeeChart.Styles.FastLine();
this.fastLine3 = new Steema.TeeChart.Styles.FastLine();
this.fastLine4 = new Steema.TeeChart.Styles.FastLine();
this.label1 = new System.Windows.Forms.Label();
this.EditBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// StartButton
//
this.StartButton.Location = new System.Drawing.Point(476, 364);
this.StartButton.Name = "StartButton";
this.StartButton.Size = new System.Drawing.Size(75, 23);
this.StartButton.TabIndex = 0;
this.StartButton.Text = "Start";
this.StartButton.UseVisualStyleBackColor = true;
this.StartButton.Click += new System.EventHandler(this.button1_Click);
//
// tChart1
//
//
//
//
this.tChart1.Aspect.ElevationFloat = 345;
this.tChart1.Aspect.RotationFloat = 345;
this.tChart1.Aspect.View3D = false;
//
//
//
//
//
//
this.tChart1.Axes.Bottom.Automatic = true;
//
//
//
this.tChart1.Axes.Bottom.Grid.Style =
System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.Bottom.Grid.ZPosition = 0;
//
//
//
this.tChart1.Axes.Depth.Automatic = true;
//
//
//
this.tChart1.Axes.Depth.Grid.Style =
System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.Depth.Grid.ZPosition = 0;
//
//
//
this.tChart1.Axes.DepthTop.Automatic = true;
//
//
//
this.tChart1.Axes.DepthTop.Grid.Style =
System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.DepthTop.Grid.ZPosition = 0;
//
//
//
this.tChart1.Axes.Left.Automatic = true;
//
//
//
this.tChart1.Axes.Left.Grid.Style = System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.Left.Grid.ZPosition = 0;
//
//
//
this.tChart1.Axes.Right.Automatic = true;
//
//
//
this.tChart1.Axes.Right.Grid.Style =
System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.Right.Grid.ZPosition = 0;
//
//
//
this.tChart1.Axes.Top.Automatic = true;
//
//
//
this.tChart1.Axes.Top.Grid.Style = System.Drawing.Drawing2D.DashStyle.Dash;
this.tChart1.Axes.Top.Grid.ZPosition = 0;
//
//
//
this.tChart1.Header.Lines = new string[] {
"TeeChart"};
//
//
//
//
//
//
this.tChart1.Legend.Shadow.Visible = true;
//
//
//
//
//
//
this.tChart1.Legend.Title.Font.Bold = true;
//
//
//
this.tChart1.Legend.Title.Pen.Visible = false;
this.tChart1.Location = new System.Drawing.Point(17, 27);
this.tChart1.Name = "tChart1";
this.tChart1.Series.Add(this.fastLine1);
this.tChart1.Series.Add(this.fastLine2);
this.tChart1.Series.Add(this.fastLine3);
this.tChart1.Series.Add(this.fastLine4);
this.tChart1.Size = new System.Drawing.Size(533, 324);
this.tChart1.TabIndex = 1;
//
//
//
//
//
//
this.tChart1.Walls.Back.AutoHide = false;
//
//
//
this.tChart1.Walls.Bottom.AutoHide = false;
//
//
//
this.tChart1.Walls.Left.AutoHide = false;
//
//
//
this.tChart1.Walls.Right.AutoHide = false;
//
// fastLine1
//
//
//
//
this.fastLine1.LinePen.Color = System.Drawing.Color.Red;
//
//
//
//
//
//
this.fastLine1.Marks.Callout.ArrowHead =
Steema.TeeChart.Styles.ArrowHeadStyles.None;
this.fastLine1.Marks.Callout.ArrowHeadSize = 8;
//
//
//
this.fastLine1.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
this.fastLine1.Marks.Callout.Distance = 0;
this.fastLine1.Marks.Callout.Draw3D = false;
this.fastLine1.Marks.Callout.Length = 10;
this.fastLine1.Marks.Callout.Style =
Steema.TeeChart.Styles.PointerStyles.Rectangle;
//
//
//
this.fastLine1.Marks.Shadow.Visible = true;
//
//
//
//
//
//
this.fastLine1.Marks.Symbol.Shadow.Visible = true;
this.fastLine1.Title = "Empty";
//
//
//
this.fastLine1.XValues.DataMember = "X";
this.fastLine1.XValues.Order =
Steema.TeeChart.Styles.ValueListOrder.Ascending;
//
//
//
this.fastLine1.YValues.DataMember = "Y";
//
// fastLine2
//
//
//
//
this.fastLine2.LinePen.Color = System.Drawing.Color.Green;
//
//
//
//
//
//
this.fastLine2.Marks.Callout.ArrowHead =
Steema.TeeChart.Styles.ArrowHeadStyles.None;
this.fastLine2.Marks.Callout.ArrowHeadSize = 8;
//
//
//
this.fastLine2.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
this.fastLine2.Marks.Callout.Distance = 0;
this.fastLine2.Marks.Callout.Draw3D = false;
this.fastLine2.Marks.Callout.Length = 10;
this.fastLine2.Marks.Callout.Style =
Steema.TeeChart.Styles.PointerStyles.Rectangle;
//
//
//
this.fastLine2.Marks.Shadow.Visible = true;
//
//
//
//
//
//
this.fastLine2.Marks.Symbol.Shadow.Visible = true;
this.fastLine2.Title = "GC Only";
//
//
//
this.fastLine2.XValues.DataMember = "X";
this.fastLine2.XValues.Order =
Steema.TeeChart.Styles.ValueListOrder.Ascending;
//
//
//
this.fastLine2.YValues.DataMember = "Y";
//
// fastLine3
//
//
//
//
this.fastLine3.LinePen.Color = System.Drawing.Color.Yellow;
//
//
//
//
//
//
this.fastLine3.Marks.Callout.ArrowHead =
Steema.TeeChart.Styles.ArrowHeadStyles.None;
this.fastLine3.Marks.Callout.ArrowHeadSize = 8;
//
//
//
this.fastLine3.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
this.fastLine3.Marks.Callout.Distance = 0;
this.fastLine3.Marks.Callout.Draw3D = false;
this.fastLine3.Marks.Callout.Length = 10;
this.fastLine3.Marks.Callout.Style =
Steema.TeeChart.Styles.PointerStyles.Rectangle;
//
//
//
this.fastLine3.Marks.Shadow.Visible = true;
//
//
//
//
//
//
this.fastLine3.Marks.Symbol.Shadow.Visible = true;
this.fastLine3.Title = "Empty";
//
//
//
this.fastLine3.XValues.DataMember = "X";
this.fastLine3.XValues.Order =
Steema.TeeChart.Styles.ValueListOrder.Ascending;
//
//
//
this.fastLine3.YValues.DataMember = "Y";
//
// fastLine4
//
//
//
//
this.fastLine4.LinePen.Color = System.Drawing.Color.Blue;
//
//
//
//
//
//
this.fastLine4.Marks.Callout.ArrowHead =
Steema.TeeChart.Styles.ArrowHeadStyles.None;
this.fastLine4.Marks.Callout.ArrowHeadSize = 8;
//
//
//
this.fastLine4.Marks.Callout.Brush.Color = System.Drawing.Color.Black;
this.fastLine4.Marks.Callout.Distance = 0;
this.fastLine4.Marks.Callout.Draw3D = false;
this.fastLine4.Marks.Callout.Length = 10;
this.fastLine4.Marks.Callout.Style =
Steema.TeeChart.Styles.PointerStyles.Rectangle;
//
//
//
this.fastLine4.Marks.Shadow.Visible = true;
//
//
//
//
//
//
this.fastLine4.Marks.Symbol.Shadow.Visible = true;
this.fastLine4.Title = "GC with pinning";
//
//
//
this.fastLine4.XValues.DataMember = "X";
this.fastLine4.XValues.Order =
Steema.TeeChart.Styles.ValueListOrder.Ascending;
//
//
//
this.fastLine4.YValues.DataMember = "Y";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(20, 374);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(48, 13);
this.label1.TabIndex = 2;
this.label1.Text = "Progress";
//
// EditBox
//
this.EditBox.Location = new System.Drawing.Point(252, 370);
this.EditBox.Name = "EditBox";
this.EditBox.Size = new System.Drawing.Size(100, 20);
this.EditBox.TabIndex = 3;
this.EditBox.Text = "5";
this.EditBox.TextChanged += new
System.EventHandler(this.EditBox_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(198, 374);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(45, 13);
this.label2.TabIndex = 4;
this.label2.Text = "GC Iters";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(570, 402);
this.Controls.Add(this.label2);
this.Controls.Add(this.EditBox);
this.Controls.Add(this.label1);
this.Controls.Add(this.tChart1);
this.Controls.Add(this.StartButton);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button StartButton;
private Steema.TeeChart.TChart tChart1;
private Steema.TeeChart.Styles.FastLine fastLine1;
private Steema.TeeChart.Styles.FastLine fastLine2;
private Steema.TeeChart.Styles.FastLine fastLine3;
private Steema.TeeChart.Styles.FastLine fastLine4;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox EditBox;
private System.Windows.Forms.Label label2;
}
}