Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/18/17 13:17:00 (7 years ago)
Author:
pfleck
Message:

#2715

  • Added 3 types of histogram aggregation: Overlapping (transparent), SideBySide and Stacked
  • Added a "clear color"-button in the DataRowVisualPropertiesControl to set the color back to the default color palette color.
  • Set the legend ordering to "reversed". Otherwise legend entries of multiple histograms are not ordered according tho the DataRow ordering.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.Designer.cs

    r14437 r14582  
    5454      this.label3 = new System.Windows.Forms.Label();
    5555      this.commonGroupBox = new System.Windows.Forms.GroupBox();
     56      this.clearColorButton = new System.Windows.Forms.Button();
    5657      this.isVisibleInLegendCheckBox = new System.Windows.Forms.CheckBox();
    5758      this.label10 = new System.Windows.Forms.Label();
     
    7071      this.binsExactRadioButton = new System.Windows.Forms.RadioButton();
    7172      this.binsApproximatelyRadioButton = new System.Windows.Forms.RadioButton();
     73      this.label11 = new System.Windows.Forms.Label();
     74      this.aggregationComboBox = new System.Windows.Forms.ComboBox();
    7275      this.lineChartGroupBox = new System.Windows.Forms.GroupBox();
    7376      this.lineWidthNumericUpDown = new System.Windows.Forms.NumericUpDown();
     
    8891      // chartTypeComboBox
    8992      //
    90       this.chartTypeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     93      this.chartTypeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    9194            | System.Windows.Forms.AnchorStyles.Right)));
    9295      this.chartTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     
    125128      // binsNumericUpDown
    126129      //
    127       this.binsNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    128             | System.Windows.Forms.AnchorStyles.Right)));
    129       this.binsNumericUpDown.Location = new System.Drawing.Point(57, 19);
     130      this.binsNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     131            | System.Windows.Forms.AnchorStyles.Right)));
     132      this.binsNumericUpDown.Location = new System.Drawing.Point(82, 19);
    130133      this.binsNumericUpDown.Minimum = new decimal(new int[] {
    131134            1,
     
    134137            0});
    135138      this.binsNumericUpDown.Name = "binsNumericUpDown";
    136       this.binsNumericUpDown.Size = new System.Drawing.Size(97, 20);
     139      this.binsNumericUpDown.Size = new System.Drawing.Size(72, 20);
    137140      this.binsNumericUpDown.TabIndex = 1;
    138141      this.binsNumericUpDown.Value = new decimal(new int[] {
     
    172175      // commonGroupBox
    173176      //
    174       this.commonGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    175             | System.Windows.Forms.AnchorStyles.Right)));
     177      this.commonGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     178            | System.Windows.Forms.AnchorStyles.Right)));
     179      this.commonGroupBox.Controls.Add(this.clearColorButton);
    176180      this.commonGroupBox.Controls.Add(this.isVisibleInLegendCheckBox);
    177181      this.commonGroupBox.Controls.Add(this.label10);
     
    190194      this.commonGroupBox.Text = "Common";
    191195      //
     196      // clearColorButton
     197      //
     198      this.clearColorButton.BackColor = System.Drawing.SystemColors.ActiveCaption;
     199      this.clearColorButton.Cursor = System.Windows.Forms.Cursors.Default;
     200      this.clearColorButton.FlatAppearance.BorderSize = 0;
     201      this.clearColorButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     202      this.clearColorButton.ForeColor = System.Drawing.Color.Transparent;
     203      this.clearColorButton.Location = new System.Drawing.Point(128, 76);
     204      this.clearColorButton.Margin = new System.Windows.Forms.Padding(0);
     205      this.clearColorButton.Name = "clearColorButton";
     206      this.clearColorButton.Size = new System.Drawing.Size(15, 16);
     207      this.clearColorButton.TabIndex = 10;
     208      this.clearColorButton.TabStop = false;
     209      this.clearColorButton.UseVisualStyleBackColor = false;
     210      this.clearColorButton.Click += new System.EventHandler(this.clearColorButton_Click);
     211      //
    192212      // isVisibleInLegendCheckBox
    193213      //
     
    212232      // displayNameTextBox
    213233      //
    214       this.displayNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     234      this.displayNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    215235            | System.Windows.Forms.AnchorStyles.Right)));
    216236      this.displayNameTextBox.Location = new System.Drawing.Point(102, 19);
     
    222242      // axisGroupBox
    223243      //
    224       this.axisGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    225             | System.Windows.Forms.AnchorStyles.Left) 
     244      this.axisGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     245            | System.Windows.Forms.AnchorStyles.Left)
    226246            | System.Windows.Forms.AnchorStyles.Right)));
    227247      this.axisGroupBox.Controls.Add(this.panel2);
     
    238258      // panel2
    239259      //
    240       this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     260      this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    241261            | System.Windows.Forms.AnchorStyles.Right)));
    242262      this.panel2.Controls.Add(this.yAxisSecondaryRadioButton);
     
    273293      // panel1
    274294      //
    275       this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     295      this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    276296            | System.Windows.Forms.AnchorStyles.Right)));
    277297      this.panel1.Controls.Add(this.xAxisPrimaryRadioButton);
     
    335355      // histoGramGroupBox
    336356      //
    337       this.histoGramGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     357      this.histoGramGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    338358            | System.Windows.Forms.AnchorStyles.Right)));
    339359      this.histoGramGroupBox.Controls.Add(this.binsExactRadioButton);
    340360      this.histoGramGroupBox.Controls.Add(this.binsApproximatelyRadioButton);
    341361      this.histoGramGroupBox.Controls.Add(this.binsNumericUpDown);
     362      this.histoGramGroupBox.Controls.Add(this.label11);
    342363      this.histoGramGroupBox.Controls.Add(this.label3);
     364      this.histoGramGroupBox.Controls.Add(this.aggregationComboBox);
    343365      this.histoGramGroupBox.Location = new System.Drawing.Point(0, 305);
    344366      this.histoGramGroupBox.Name = "histoGramGroupBox";
    345       this.histoGramGroupBox.Size = new System.Drawing.Size(327, 47);
     367      this.histoGramGroupBox.Size = new System.Drawing.Size(327, 75);
    346368      this.histoGramGroupBox.TabIndex = 2;
    347369      this.histoGramGroupBox.TabStop = false;
     
    374396      this.binsApproximatelyRadioButton.CheckedChanged += new System.EventHandler(this.binNumberRadioButton_CheckedChanged);
    375397      //
     398      // label11
     399      //
     400      this.label11.AutoSize = true;
     401      this.label11.Location = new System.Drawing.Point(6, 49);
     402      this.label11.Name = "label11";
     403      this.label11.Size = new System.Drawing.Size(67, 13);
     404      this.label11.TabIndex = 0;
     405      this.label11.Text = "Aggregation:";
     406      //
     407      // aggregationComboBox
     408      //
     409      this.aggregationComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     410            | System.Windows.Forms.AnchorStyles.Right)));
     411      this.aggregationComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     412      this.aggregationComboBox.FormattingEnabled = true;
     413      this.aggregationComboBox.Location = new System.Drawing.Point(82, 45);
     414      this.aggregationComboBox.Name = "aggregationComboBox";
     415      this.aggregationComboBox.Size = new System.Drawing.Size(239, 21);
     416      this.aggregationComboBox.TabIndex = 3;
     417      this.aggregationComboBox.SelectedValueChanged += new System.EventHandler(this.aggregationComboBox_SelectedValueChanged);
     418      //
    376419      // lineChartGroupBox
    377420      //
    378       this.lineChartGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     421      this.lineChartGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    379422            | System.Windows.Forms.AnchorStyles.Right)));
    380423      this.lineChartGroupBox.Controls.Add(this.lineWidthNumericUpDown);
     
    393436      // lineWidthNumericUpDown
    394437      //
    395       this.lineWidthNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     438      this.lineWidthNumericUpDown.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    396439            | System.Windows.Forms.AnchorStyles.Right)));
    397440      this.lineWidthNumericUpDown.Location = new System.Drawing.Point(82, 66);
     
    431474      // lineStyleComboBox
    432475      //
    433       this.lineStyleComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     476      this.lineStyleComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    434477            | System.Windows.Forms.AnchorStyles.Right)));
    435478      this.lineStyleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     
    457500      this.Controls.Add(this.commonGroupBox);
    458501      this.Name = "DataRowVisualPropertiesControl";
    459       this.Size = new System.Drawing.Size(327, 356);
     502      this.Size = new System.Drawing.Size(327, 382);
    460503      ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).EndInit();
    461504      this.commonGroupBox.ResumeLayout(false);
     
    509552    private System.Windows.Forms.Label label10;
    510553    private System.Windows.Forms.CheckBox isVisibleInLegendCheckBox;
     554    private System.Windows.Forms.Label label11;
     555    private System.Windows.Forms.ComboBox aggregationComboBox;
     556    private System.Windows.Forms.Button clearColorButton;
    511557  }
    512558}
Note: See TracChangeset for help on using the changeset viewer.