Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/06/11 18:37:47 (13 years ago)
Author:
abeham
Message:

#1465

  • Separated HistogramView into a view and a control
  • Added the HistogramControl to ChartControlsExtensions (not yet userfriendly)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/HistogramView.Designer.cs

    r5961 r5970  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    48       System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
    49       this.enhancedChart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
    50       this.label1 = new System.Windows.Forms.Label();
    51       this.numericUpDown = new System.Windows.Forms.NumericUpDown();
     47      this.histogramControl = new HeuristicLab.Visualization.ChartControlsExtensions.HistogramControl();
    5248      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    53       ((System.ComponentModel.ISupportInitialize)(this.enhancedChart)).BeginInit();
    54       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown)).BeginInit();
    5549      this.SuspendLayout();
    5650      //
     
    6660      this.infoLabel.Location = new System.Drawing.Point(524, 3);
    6761      //
    68       // enhancedChart
     62      // histogramControl
    6963      //
    70       this.enhancedChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     64      this.histogramControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    7165                  | System.Windows.Forms.AnchorStyles.Left)
    7266                  | System.Windows.Forms.AnchorStyles.Right)));
    73       chartArea1.Name = "ChartArea1";
    74       this.enhancedChart.ChartAreas.Add(chartArea1);
    75       this.enhancedChart.Location = new System.Drawing.Point(0, 52);
    76       this.enhancedChart.Name = "enhancedChart";
    77       series1.ChartArea = "ChartArea1";
    78       series1.Name = "Series1";
    79       this.enhancedChart.Series.Add(series1);
    80       this.enhancedChart.Size = new System.Drawing.Size(543, 320);
    81       this.enhancedChart.TabIndex = 3;
    82       //
    83       // label1
    84       //
    85       this.label1.AutoSize = true;
    86       this.label1.Location = new System.Drawing.Point(3, 28);
    87       this.label1.Name = "label1";
    88       this.label1.Size = new System.Drawing.Size(82, 13);
    89       this.label1.TabIndex = 4;
    90       this.label1.Text = "Number of Bins:";
    91       //
    92       // numericUpDown
    93       //
    94       this.numericUpDown.Location = new System.Drawing.Point(91, 26);
    95       this.numericUpDown.Minimum = new decimal(new int[] {
    96             1,
    97             0,
    98             0,
    99             0});
    100       this.numericUpDown.Name = "numericUpDown";
    101       this.numericUpDown.Size = new System.Drawing.Size(61, 20);
    102       this.numericUpDown.TabIndex = 5;
    103       this.numericUpDown.Value = new decimal(new int[] {
    104             10,
    105             0,
    106             0,
    107             0});
    108       this.numericUpDown.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged);
     67      this.histogramControl.Location = new System.Drawing.Point(0, 26);
     68      this.histogramControl.Name = "histogramControl";
     69      this.histogramControl.Size = new System.Drawing.Size(543, 346);
     70      this.histogramControl.TabIndex = 3;
    10971      //
    11072      // HistogramView
     
    11274      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    11375      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    114       this.Controls.Add(this.enhancedChart);
    115       this.Controls.Add(this.numericUpDown);
    116       this.Controls.Add(this.label1);
     76      this.Controls.Add(this.histogramControl);
    11777      this.Name = "HistogramView";
    11878      this.Size = new System.Drawing.Size(543, 372);
    119       this.Controls.SetChildIndex(this.label1, 0);
    120       this.Controls.SetChildIndex(this.numericUpDown, 0);
    121       this.Controls.SetChildIndex(this.enhancedChart, 0);
     79      this.Controls.SetChildIndex(this.histogramControl, 0);
    12280      this.Controls.SetChildIndex(this.nameLabel, 0);
    12381      this.Controls.SetChildIndex(this.nameTextBox, 0);
    12482      this.Controls.SetChildIndex(this.infoLabel, 0);
    12583      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    126       ((System.ComponentModel.ISupportInitialize)(this.enhancedChart)).EndInit();
    127       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown)).EndInit();
    12884      this.ResumeLayout(false);
    12985      this.PerformLayout();
     
    13389    #endregion
    13490
    135     private Visualization.ChartControlsExtensions.EnhancedChart enhancedChart;
    136     private System.Windows.Forms.Label label1;
    137     private System.Windows.Forms.NumericUpDown numericUpDown;
     91    private Visualization.ChartControlsExtensions.HistogramControl histogramControl;
     92
    13893  }
    13994}
Note: See TracChangeset for help on using the changeset viewer.