public SplatterviewContainer()
        {
            InitializeComponent();
            verticalLabel1         = new SplatterPlots.VerticalLabel();
            m_View                 = new SplatterView();
            m_View.Dock            = DockStyle.Fill;
            m_View.ModelChanged   += new EventHandler(m_View_ModelChanged);
            m_View.PointSelection += new EventHandler(m_View_PointSelection);
            if (Program.Runtime)
            {
                tableLayoutPanel1.Controls.Add(m_View, 1, 0);
                this.tableLayoutPanel1.Controls.Add(this.verticalLabel1, 0, 0);

                //
                // verticalLabel1
                //
                this.verticalLabel1.Anchor                = System.Windows.Forms.AnchorStyles.None;
                this.verticalLabel1.Location              = new System.Drawing.Point(2, 15);
                this.verticalLabel1.Margin                = new System.Windows.Forms.Padding(0);
                this.verticalLabel1.Name                  = "verticalLabel1";
                this.verticalLabel1.RenderingMode         = System.Drawing.Text.TextRenderingHint.SystemDefault;
                this.verticalLabel1.Size                  = new System.Drawing.Size(15, 100);
                this.verticalLabel1.TabIndex              = 0;
                this.verticalLabel1.Text                  = "verticalLabel1";
                this.verticalLabel1.TextDrawMode          = SplatterPlots.DrawMode.BottomUp;
                this.verticalLabel1.TransparentBackground = false;
            }
        }
예제 #2
0
 public Stat(SplatterView view, long time, int groupN, int pointN)
 {
     Bandwidth        = view.Bandwidth;
     Threshold        = view.ContourThreshold;
     DensityThreshold = view.DensityThreshold;
     Milliseconds     = time;
     PointNum         = pointN;
     GroupNum         = groupN;
     ClutterWindow    = view.ClutterWindow;
     Width            = view.Width;
     Height           = view.Height;
 }