Changeset 6014


Ignore:
Timestamp:
04/15/11 23:30:21 (8 years ago)
Author:
abeham
Message:

#1465

  • added option to set fixed minimum and maximum for all four possible axis
  • added an icon to the properties context menu entry
    • added dependency from ChartControlsExtensions to Common.Resources
Location:
branches/histogram
Files:
11 edited

Legend:

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

    r6012 r6014  
    5454      this.label3 = new System.Windows.Forms.Label();
    5555      this.commonGroupBox = new System.Windows.Forms.GroupBox();
     56      this.panel2 = new System.Windows.Forms.Panel();
     57      this.xAxisPrimaryRadioButton = new System.Windows.Forms.RadioButton();
    5658      this.xAxisSecondaryRadioButton = new System.Windows.Forms.RadioButton();
     59      this.panel1 = new System.Windows.Forms.Panel();
    5760      this.yAxisSecondaryRadioButton = new System.Windows.Forms.RadioButton();
    58       this.xAxisPrimaryRadioButton = new System.Windows.Forms.RadioButton();
    5961      this.yAxisPrimaryRadioButton = new System.Windows.Forms.RadioButton();
    6062      this.label6 = new System.Windows.Forms.Label();
    61       this.label5 = new System.Windows.Forms.Label();
    6263      this.histoGramGroupBox = new System.Windows.Forms.GroupBox();
     64      this.panel3 = new System.Windows.Forms.Panel();
     65      this.binsApproximatelyRadioButton = new System.Windows.Forms.RadioButton();
     66      this.binsExactRadioButton = new System.Windows.Forms.RadioButton();
    6367      this.lineChartGroupBox = new System.Windows.Forms.GroupBox();
    6468      this.lineWidthNumericUpDown = new System.Windows.Forms.NumericUpDown();
    6569      this.label4 = new System.Windows.Forms.Label();
    6670      this.label7 = new System.Windows.Forms.Label();
    67       this.binsApproximatelyRadioButton = new System.Windows.Forms.RadioButton();
    68       this.binsExactRadioButton = new System.Windows.Forms.RadioButton();
    69       this.panel1 = new System.Windows.Forms.Panel();
    70       this.panel2 = new System.Windows.Forms.Panel();
    71       this.panel3 = new System.Windows.Forms.Panel();
    7271      this.lineStyleComboBox = new System.Windows.Forms.ComboBox();
    7372      this.label8 = new System.Windows.Forms.Label();
     73      this.label5 = new System.Windows.Forms.Label();
     74      this.axisGroupBox = new System.Windows.Forms.GroupBox();
    7475      ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).BeginInit();
    7576      this.commonGroupBox.SuspendLayout();
     77      this.panel2.SuspendLayout();
     78      this.panel1.SuspendLayout();
    7679      this.histoGramGroupBox.SuspendLayout();
     80      this.panel3.SuspendLayout();
    7781      this.lineChartGroupBox.SuspendLayout();
    7882      ((System.ComponentModel.ISupportInitialize)(this.lineWidthNumericUpDown)).BeginInit();
    79       this.panel1.SuspendLayout();
    80       this.panel2.SuspendLayout();
    81       this.panel3.SuspendLayout();
     83      this.axisGroupBox.SuspendLayout();
    8284      this.SuspendLayout();
    8385      //
     
    8890      this.chartTypeComboBox.Location = new System.Drawing.Point(76, 19);
    8991      this.chartTypeComboBox.Name = "chartTypeComboBox";
    90       this.chartTypeComboBox.Size = new System.Drawing.Size(218, 21);
     92      this.chartTypeComboBox.Size = new System.Drawing.Size(224, 21);
    9193      this.chartTypeComboBox.TabIndex = 1;
    9294      this.chartTypeComboBox.SelectedValueChanged += new System.EventHandler(this.chartTypeComboBox_SelectedValueChanged);
     
    166168      this.commonGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    167169                  | System.Windows.Forms.AnchorStyles.Right)));
    168       this.commonGroupBox.Controls.Add(this.panel2);
    169       this.commonGroupBox.Controls.Add(this.panel1);
    170       this.commonGroupBox.Controls.Add(this.label6);
    171       this.commonGroupBox.Controls.Add(this.label5);
     170      this.commonGroupBox.Controls.Add(this.axisGroupBox);
    172171      this.commonGroupBox.Controls.Add(this.colorButton);
    173172      this.commonGroupBox.Controls.Add(this.label1);
     
    176175      this.commonGroupBox.Location = new System.Drawing.Point(3, 3);
    177176      this.commonGroupBox.Name = "commonGroupBox";
    178       this.commonGroupBox.Size = new System.Drawing.Size(305, 125);
     177      this.commonGroupBox.Size = new System.Drawing.Size(313, 158);
    179178      this.commonGroupBox.TabIndex = 0;
    180179      this.commonGroupBox.TabStop = false;
    181180      this.commonGroupBox.Text = "Common";
    182181      //
     182      // panel2
     183      //
     184      this.panel2.Controls.Add(this.xAxisPrimaryRadioButton);
     185      this.panel2.Controls.Add(this.xAxisSecondaryRadioButton);
     186      this.panel2.Location = new System.Drawing.Point(63, 16);
     187      this.panel2.Name = "panel2";
     188      this.panel2.Size = new System.Drawing.Size(231, 25);
     189      this.panel2.TabIndex = 7;
     190      //
     191      // xAxisPrimaryRadioButton
     192      //
     193      this.xAxisPrimaryRadioButton.AutoSize = true;
     194      this.xAxisPrimaryRadioButton.Location = new System.Drawing.Point(4, 4);
     195      this.xAxisPrimaryRadioButton.Name = "xAxisPrimaryRadioButton";
     196      this.xAxisPrimaryRadioButton.Size = new System.Drawing.Size(59, 17);
     197      this.xAxisPrimaryRadioButton.TabIndex = 0;
     198      this.xAxisPrimaryRadioButton.TabStop = true;
     199      this.xAxisPrimaryRadioButton.Text = "Primary";
     200      this.xAxisPrimaryRadioButton.UseVisualStyleBackColor = true;
     201      this.xAxisPrimaryRadioButton.CheckedChanged += new System.EventHandler(this.xAxisRadioButton_CheckedChanged);
     202      //
    183203      // xAxisSecondaryRadioButton
    184204      //
    185205      this.xAxisSecondaryRadioButton.AutoSize = true;
    186       this.xAxisSecondaryRadioButton.Location = new System.Drawing.Point(81, 3);
     206      this.xAxisSecondaryRadioButton.Location = new System.Drawing.Point(70, 4);
    187207      this.xAxisSecondaryRadioButton.Name = "xAxisSecondaryRadioButton";
    188208      this.xAxisSecondaryRadioButton.Size = new System.Drawing.Size(76, 17);
     
    193213      this.xAxisSecondaryRadioButton.CheckedChanged += new System.EventHandler(this.xAxisRadioButton_CheckedChanged);
    194214      //
     215      // panel1
     216      //
     217      this.panel1.Controls.Add(this.yAxisSecondaryRadioButton);
     218      this.panel1.Controls.Add(this.yAxisPrimaryRadioButton);
     219      this.panel1.Location = new System.Drawing.Point(63, 40);
     220      this.panel1.Name = "panel1";
     221      this.panel1.Size = new System.Drawing.Size(231, 25);
     222      this.panel1.TabIndex = 5;
     223      //
    195224      // yAxisSecondaryRadioButton
    196225      //
    197226      this.yAxisSecondaryRadioButton.AutoSize = true;
    198       this.yAxisSecondaryRadioButton.Location = new System.Drawing.Point(82, 3);
     227      this.yAxisSecondaryRadioButton.Location = new System.Drawing.Point(70, 4);
    199228      this.yAxisSecondaryRadioButton.Name = "yAxisSecondaryRadioButton";
    200229      this.yAxisSecondaryRadioButton.Size = new System.Drawing.Size(76, 17);
     
    205234      this.yAxisSecondaryRadioButton.CheckedChanged += new System.EventHandler(this.yAxisRadioButton_CheckedChanged);
    206235      //
    207       // xAxisPrimaryRadioButton
    208       //
    209       this.xAxisPrimaryRadioButton.AutoSize = true;
    210       this.xAxisPrimaryRadioButton.Location = new System.Drawing.Point(3, 3);
    211       this.xAxisPrimaryRadioButton.Name = "xAxisPrimaryRadioButton";
    212       this.xAxisPrimaryRadioButton.Size = new System.Drawing.Size(59, 17);
    213       this.xAxisPrimaryRadioButton.TabIndex = 0;
    214       this.xAxisPrimaryRadioButton.TabStop = true;
    215       this.xAxisPrimaryRadioButton.Text = "Primary";
    216       this.xAxisPrimaryRadioButton.UseVisualStyleBackColor = true;
    217       this.xAxisPrimaryRadioButton.CheckedChanged += new System.EventHandler(this.xAxisRadioButton_CheckedChanged);
    218       //
    219236      // yAxisPrimaryRadioButton
    220237      //
    221238      this.yAxisPrimaryRadioButton.AutoSize = true;
    222       this.yAxisPrimaryRadioButton.Location = new System.Drawing.Point(4, 3);
     239      this.yAxisPrimaryRadioButton.Location = new System.Drawing.Point(4, 4);
    223240      this.yAxisPrimaryRadioButton.Name = "yAxisPrimaryRadioButton";
    224241      this.yAxisPrimaryRadioButton.Size = new System.Drawing.Size(59, 17);
     
    232249      //
    233250      this.label6.AutoSize = true;
    234       this.label6.Location = new System.Drawing.Point(8, 100);
     251      this.label6.Location = new System.Drawing.Point(6, 22);
    235252      this.label6.Name = "label6";
    236253      this.label6.Size = new System.Drawing.Size(39, 13);
    237254      this.label6.TabIndex = 6;
    238       this.label6.Text = "X-Axis:";
    239       //
    240       // label5
    241       //
    242       this.label5.AutoSize = true;
    243       this.label5.Location = new System.Drawing.Point(8, 77);
    244       this.label5.Name = "label5";
    245       this.label5.Size = new System.Drawing.Size(39, 13);
    246       this.label5.TabIndex = 4;
    247       this.label5.Text = "Y-Axis:";
     255      this.label6.Text = "X Axis:";
    248256      //
    249257      // histoGramGroupBox
     
    254262      this.histoGramGroupBox.Controls.Add(this.binsNumericUpDown);
    255263      this.histoGramGroupBox.Controls.Add(this.label3);
    256       this.histoGramGroupBox.Location = new System.Drawing.Point(3, 236);
     264      this.histoGramGroupBox.Location = new System.Drawing.Point(3, 269);
    257265      this.histoGramGroupBox.Name = "histoGramGroupBox";
    258       this.histoGramGroupBox.Size = new System.Drawing.Size(305, 49);
     266      this.histoGramGroupBox.Size = new System.Drawing.Size(313, 49);
    259267      this.histoGramGroupBox.TabIndex = 2;
    260268      this.histoGramGroupBox.TabStop = false;
    261269      this.histoGramGroupBox.Text = "Histogram";
    262270      //
    263       // lineChartGroupBox
    264       //
    265       this.lineChartGroupBox.Controls.Add(this.lineWidthNumericUpDown);
    266       this.lineChartGroupBox.Controls.Add(this.label4);
    267       this.lineChartGroupBox.Controls.Add(this.startIndexZeroCheckBox);
    268       this.lineChartGroupBox.Controls.Add(this.label7);
    269       this.lineChartGroupBox.Controls.Add(this.lineStyleComboBox);
    270       this.lineChartGroupBox.Controls.Add(this.label8);
    271       this.lineChartGroupBox.Location = new System.Drawing.Point(3, 134);
    272       this.lineChartGroupBox.Name = "lineChartGroupBox";
    273       this.lineChartGroupBox.Size = new System.Drawing.Size(473, 96);
    274       this.lineChartGroupBox.TabIndex = 1;
    275       this.lineChartGroupBox.TabStop = false;
    276       this.lineChartGroupBox.Text = "Line Chart";
    277       //
    278       // lineWidthNumericUpDown
    279       //
    280       this.lineWidthNumericUpDown.Location = new System.Drawing.Point(96, 66);
    281       this.lineWidthNumericUpDown.Minimum = new decimal(new int[] {
    282             1,
    283             0,
    284             0,
    285             0});
    286       this.lineWidthNumericUpDown.Name = "lineWidthNumericUpDown";
    287       this.lineWidthNumericUpDown.Size = new System.Drawing.Size(65, 20);
    288       this.lineWidthNumericUpDown.TabIndex = 5;
    289       this.lineWidthNumericUpDown.Value = new decimal(new int[] {
    290             1,
    291             0,
    292             0,
    293             0});
    294       this.lineWidthNumericUpDown.ValueChanged += new System.EventHandler(this.lineWidthNumericUpDown_ValueChanged);
    295       //
    296       // label4
    297       //
    298       this.label4.AutoSize = true;
    299       this.label4.Location = new System.Drawing.Point(8, 68);
    300       this.label4.Name = "label4";
    301       this.label4.Size = new System.Drawing.Size(61, 13);
    302       this.label4.TabIndex = 4;
    303       this.label4.Text = "Line Width:";
    304       //
    305       // label7
    306       //
    307       this.label7.AutoSize = true;
    308       this.label7.Location = new System.Drawing.Point(8, 46);
    309       this.label7.Name = "label7";
    310       this.label7.Size = new System.Drawing.Size(82, 13);
    311       this.label7.TabIndex = 2;
    312       this.label7.Text = "Start Index at 0:";
     271      // panel3
     272      //
     273      this.panel3.Controls.Add(this.binsApproximatelyRadioButton);
     274      this.panel3.Controls.Add(this.binsExactRadioButton);
     275      this.panel3.Location = new System.Drawing.Point(146, 16);
     276      this.panel3.Name = "panel3";
     277      this.panel3.Size = new System.Drawing.Size(154, 25);
     278      this.panel3.TabIndex = 2;
    313279      //
    314280      // binsApproximatelyRadioButton
    315281      //
    316282      this.binsApproximatelyRadioButton.AutoSize = true;
    317       this.binsApproximatelyRadioButton.Location = new System.Drawing.Point(0, 0);
     283      this.binsApproximatelyRadioButton.Location = new System.Drawing.Point(4, 4);
    318284      this.binsApproximatelyRadioButton.Name = "binsApproximatelyRadioButton";
    319285      this.binsApproximatelyRadioButton.Size = new System.Drawing.Size(90, 17);
     
    327293      //
    328294      this.binsExactRadioButton.AutoSize = true;
    329       this.binsExactRadioButton.Location = new System.Drawing.Point(96, 0);
     295      this.binsExactRadioButton.Location = new System.Drawing.Point(100, 4);
    330296      this.binsExactRadioButton.Name = "binsExactRadioButton";
    331297      this.binsExactRadioButton.Size = new System.Drawing.Size(52, 17);
     
    336302      this.binsExactRadioButton.CheckedChanged += new System.EventHandler(this.yAxisRadioButton_CheckedChanged);
    337303      //
    338       // panel1
    339       //
    340       this.panel1.Controls.Add(this.yAxisSecondaryRadioButton);
    341       this.panel1.Controls.Add(this.yAxisPrimaryRadioButton);
    342       this.panel1.Location = new System.Drawing.Point(76, 72);
    343       this.panel1.Name = "panel1";
    344       this.panel1.Size = new System.Drawing.Size(159, 23);
    345       this.panel1.TabIndex = 5;
    346       //
    347       // panel2
    348       //
    349       this.panel2.Controls.Add(this.xAxisPrimaryRadioButton);
    350       this.panel2.Controls.Add(this.xAxisSecondaryRadioButton);
    351       this.panel2.Location = new System.Drawing.Point(76, 95);
    352       this.panel2.Name = "panel2";
    353       this.panel2.Size = new System.Drawing.Size(159, 21);
    354       this.panel2.TabIndex = 7;
    355       //
    356       // panel3
    357       //
    358       this.panel3.Controls.Add(this.binsApproximatelyRadioButton);
    359       this.panel3.Controls.Add(this.binsExactRadioButton);
    360       this.panel3.Location = new System.Drawing.Point(146, 21);
    361       this.panel3.Name = "panel3";
    362       this.panel3.Size = new System.Drawing.Size(147, 18);
    363       this.panel3.TabIndex = 2;
     304      // lineChartGroupBox
     305      //
     306      this.lineChartGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     307                  | System.Windows.Forms.AnchorStyles.Right)));
     308      this.lineChartGroupBox.Controls.Add(this.lineWidthNumericUpDown);
     309      this.lineChartGroupBox.Controls.Add(this.label4);
     310      this.lineChartGroupBox.Controls.Add(this.startIndexZeroCheckBox);
     311      this.lineChartGroupBox.Controls.Add(this.label7);
     312      this.lineChartGroupBox.Controls.Add(this.lineStyleComboBox);
     313      this.lineChartGroupBox.Controls.Add(this.label8);
     314      this.lineChartGroupBox.Location = new System.Drawing.Point(3, 167);
     315      this.lineChartGroupBox.Name = "lineChartGroupBox";
     316      this.lineChartGroupBox.Size = new System.Drawing.Size(313, 96);
     317      this.lineChartGroupBox.TabIndex = 1;
     318      this.lineChartGroupBox.TabStop = false;
     319      this.lineChartGroupBox.Text = "Line Chart";
     320      //
     321      // lineWidthNumericUpDown
     322      //
     323      this.lineWidthNumericUpDown.Location = new System.Drawing.Point(96, 66);
     324      this.lineWidthNumericUpDown.Minimum = new decimal(new int[] {
     325            1,
     326            0,
     327            0,
     328            0});
     329      this.lineWidthNumericUpDown.Name = "lineWidthNumericUpDown";
     330      this.lineWidthNumericUpDown.Size = new System.Drawing.Size(65, 20);
     331      this.lineWidthNumericUpDown.TabIndex = 5;
     332      this.lineWidthNumericUpDown.Value = new decimal(new int[] {
     333            1,
     334            0,
     335            0,
     336            0});
     337      this.lineWidthNumericUpDown.ValueChanged += new System.EventHandler(this.lineWidthNumericUpDown_ValueChanged);
     338      //
     339      // label4
     340      //
     341      this.label4.AutoSize = true;
     342      this.label4.Location = new System.Drawing.Point(8, 68);
     343      this.label4.Name = "label4";
     344      this.label4.Size = new System.Drawing.Size(61, 13);
     345      this.label4.TabIndex = 4;
     346      this.label4.Text = "Line Width:";
     347      //
     348      // label7
     349      //
     350      this.label7.AutoSize = true;
     351      this.label7.Location = new System.Drawing.Point(8, 46);
     352      this.label7.Name = "label7";
     353      this.label7.Size = new System.Drawing.Size(82, 13);
     354      this.label7.TabIndex = 2;
     355      this.label7.Text = "Start Index at 0:";
    364356      //
    365357      // lineStyleComboBox
     
    369361      this.lineStyleComboBox.Location = new System.Drawing.Point(96, 19);
    370362      this.lineStyleComboBox.Name = "lineStyleComboBox";
    371       this.lineStyleComboBox.Size = new System.Drawing.Size(198, 21);
     363      this.lineStyleComboBox.Size = new System.Drawing.Size(204, 21);
    372364      this.lineStyleComboBox.TabIndex = 1;
    373365      this.lineStyleComboBox.SelectedValueChanged += new System.EventHandler(this.lineStyleComboBox_SelectedValueChanged);
     
    382374      this.label8.Text = "Line Style:";
    383375      //
     376      // label5
     377      //
     378      this.label5.AutoSize = true;
     379      this.label5.Location = new System.Drawing.Point(6, 46);
     380      this.label5.Name = "label5";
     381      this.label5.Size = new System.Drawing.Size(39, 13);
     382      this.label5.TabIndex = 6;
     383      this.label5.Text = "Y Axis:";
     384      //
     385      // axisGroupBox
     386      //
     387      this.axisGroupBox.Controls.Add(this.label5);
     388      this.axisGroupBox.Controls.Add(this.label6);
     389      this.axisGroupBox.Controls.Add(this.panel1);
     390      this.axisGroupBox.Controls.Add(this.panel2);
     391      this.axisGroupBox.Location = new System.Drawing.Point(6, 75);
     392      this.axisGroupBox.Name = "axisGroupBox";
     393      this.axisGroupBox.Size = new System.Drawing.Size(299, 75);
     394      this.axisGroupBox.TabIndex = 9;
     395      this.axisGroupBox.TabStop = false;
     396      this.axisGroupBox.Text = "Display Data on";
     397      //
    384398      // DataRowVisualPropertiesControl
    385399      //
     
    390404      this.Controls.Add(this.commonGroupBox);
    391405      this.Name = "DataRowVisualPropertiesControl";
    392       this.Size = new System.Drawing.Size(311, 290);
     406      this.Size = new System.Drawing.Size(319, 323);
    393407      ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).EndInit();
    394408      this.commonGroupBox.ResumeLayout(false);
    395409      this.commonGroupBox.PerformLayout();
     410      this.panel2.ResumeLayout(false);
     411      this.panel2.PerformLayout();
     412      this.panel1.ResumeLayout(false);
     413      this.panel1.PerformLayout();
    396414      this.histoGramGroupBox.ResumeLayout(false);
    397415      this.histoGramGroupBox.PerformLayout();
     416      this.panel3.ResumeLayout(false);
     417      this.panel3.PerformLayout();
    398418      this.lineChartGroupBox.ResumeLayout(false);
    399419      this.lineChartGroupBox.PerformLayout();
    400420      ((System.ComponentModel.ISupportInitialize)(this.lineWidthNumericUpDown)).EndInit();
    401       this.panel1.ResumeLayout(false);
    402       this.panel1.PerformLayout();
    403       this.panel2.ResumeLayout(false);
    404       this.panel2.PerformLayout();
    405       this.panel3.ResumeLayout(false);
    406       this.panel3.PerformLayout();
     421      this.axisGroupBox.ResumeLayout(false);
     422      this.axisGroupBox.PerformLayout();
    407423      this.ResumeLayout(false);
    408424
     
    426442    private System.Windows.Forms.RadioButton yAxisPrimaryRadioButton;
    427443    private System.Windows.Forms.Label label6;
    428     private System.Windows.Forms.Label label5;
    429444    private System.Windows.Forms.GroupBox lineChartGroupBox;
    430445    private System.Windows.Forms.NumericUpDown lineWidthNumericUpDown;
     
    438453    private System.Windows.Forms.ComboBox lineStyleComboBox;
    439454    private System.Windows.Forms.Label label8;
     455    private System.Windows.Forms.Label label5;
     456    private System.Windows.Forms.GroupBox axisGroupBox;
    440457  }
    441458}
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs

    r6012 r6014  
    114114        SuppressEvents = true;
    115115        try {
    116           if (sender == yAxisPrimaryRadioButton)
    117             yAxisSecondaryRadioButton.Checked = !yAxisPrimaryRadioButton.Checked;
    118           else yAxisPrimaryRadioButton.Checked = !yAxisSecondaryRadioButton.Checked;
    119116          Content.SecondYAxis = yAxisSecondaryRadioButton.Checked;
    120117        } finally { SuppressEvents = false; }
     
    126123        SuppressEvents = true;
    127124        try {
    128           if (sender == xAxisPrimaryRadioButton)
    129             xAxisSecondaryRadioButton.Checked = !xAxisPrimaryRadioButton.Checked;
    130           else xAxisPrimaryRadioButton.Checked = !xAxisSecondaryRadioButton.Checked;
    131125          Content.SecondXAxis = xAxisSecondaryRadioButton.Checked;
    132126        } finally { SuppressEvents = false; }
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableView.cs

    r6012 r6014  
    136136        foreach (DataRow row in Content.Rows)
    137137          AddDataRow(row);
    138         chart.ChartAreas[0].AxisX.Title = Content.VisualProperties.XAxisTitle;
    139         chart.ChartAreas[0].AxisY.Title = Content.VisualProperties.YAxisTitle;
    140         chart.ChartAreas[0].AxisY2.Title = Content.VisualProperties.SecondYAxisTitle;
     138        ConfigureChartArea(chart.ChartAreas[0]);
    141139      }
    142140    }
     
    158156      chart.Series.Add(series);
    159157      chart.ChartAreas[0].RecalculateAxesScale();
     158      ConfigureChartArea(chart.ChartAreas[0]);
    160159      UpdateYCursorInterval();
    161160    }
     
    197196      else series.Color = Color.Empty;
    198197      series.ToolTip = row.Name + " X = #INDEX, Y = #VAL";
     198    }
     199
     200    private void ConfigureChartArea(ChartArea area) {
     201      area.AxisX.Title = Content.VisualProperties.XAxisTitle;
     202      area.AxisX2.Title = Content.VisualProperties.SecondXAxisTitle;
     203      area.AxisY.Title = Content.VisualProperties.YAxisTitle;
     204      area.AxisY2.Title = Content.VisualProperties.SecondYAxisTitle;
     205      area.RecalculateAxesScale();
     206      if (!Content.VisualProperties.XAxisMinimumAuto)
     207        area.AxisX.Minimum = Content.VisualProperties.XAxisMinimumFixedValue;
     208      else area.AxisX.Minimum = double.NaN;
     209      if (!Content.VisualProperties.XAxisMaximumAuto)
     210        area.AxisX.Maximum = Content.VisualProperties.XAxisMaximumFixedValue;
     211      else area.AxisX.Maximum = double.NaN;
     212      if (!Content.VisualProperties.SecondXAxisMinimumAuto)
     213        area.AxisX2.Minimum = Content.VisualProperties.SecondXAxisMinimumFixedValue;
     214      if (!Content.VisualProperties.SecondXAxisMaximumAuto)
     215        area.AxisX2.Maximum = Content.VisualProperties.SecondXAxisMaximumFixedValue;
     216      if (!Content.VisualProperties.YAxisMinimumAuto)
     217        area.AxisY.Minimum = Content.VisualProperties.YAxisMinimumFixedValue;
     218      if (!Content.VisualProperties.YAxisMaximumAuto)
     219        area.AxisY.Maximum = Content.VisualProperties.YAxisMaximumFixedValue;
     220      if (!Content.VisualProperties.SecondYAxisMinimumAuto)
     221        area.AxisY2.Minimum = Content.VisualProperties.SecondYAxisMinimumFixedValue;
     222      if (!Content.VisualProperties.SecondYAxisMaximumAuto)
     223        area.AxisY2.Maximum = Content.VisualProperties.SecondYAxisMaximumFixedValue;
    199224    }
    200225
     
    246271        Invoke(new EventHandler(Content_VisualPropertiesChanged), sender, e);
    247272      else {
    248         chart.ChartAreas[0].AxisX.Title = Content.VisualProperties.XAxisTitle;
    249         chart.ChartAreas[0].AxisX2.Title = Content.VisualProperties.SecondXAxisTitle;
    250         chart.ChartAreas[0].AxisY.Title = Content.VisualProperties.YAxisTitle;
    251         chart.ChartAreas[0].AxisY2.Title = Content.VisualProperties.SecondYAxisTitle;
     273        ConfigureChartArea(chart.ChartAreas[0]);
    252274      }
    253275    }
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.Designer.cs

    r6012 r6014  
    4545    /// </summary>
    4646    private void InitializeComponent() {
     47      this.components = new System.ComponentModel.Container();
    4748      this.label1 = new System.Windows.Forms.Label();
    48       this.yPrimaryTextBox = new System.Windows.Forms.TextBox();
    49       this.xPrimaryTextBox = new System.Windows.Forms.TextBox();
    50       this.xSecondaryTextBox = new System.Windows.Forms.TextBox();
    51       this.axisTitlesGroupBox = new System.Windows.Forms.GroupBox();
    52       this.ySecondaryTextBox = new System.Windows.Forms.TextBox();
     49      this.yAxisPrimaryTitleTextBox = new System.Windows.Forms.TextBox();
     50      this.yAxisSecondaryTitleTextBox = new System.Windows.Forms.TextBox();
    5351      this.label4 = new System.Windows.Forms.Label();
    54       this.label2 = new System.Windows.Forms.Label();
    55       this.label3 = new System.Windows.Forms.Label();
    56       this.axisTitlesGroupBox.SuspendLayout();
     52      this.xAxisPrimaryGroupBox = new System.Windows.Forms.GroupBox();
     53      this.label12 = new System.Windows.Forms.Label();
     54      this.label9 = new System.Windows.Forms.Label();
     55      this.xAxisPrimaryTitleTextBox = new System.Windows.Forms.TextBox();
     56      this.label11 = new System.Windows.Forms.Label();
     57      this.xAxisPrimaryMaximumPanel = new System.Windows.Forms.Panel();
     58      this.xAxisPrimaryMaximumFixedTextBox = new System.Windows.Forms.TextBox();
     59      this.xAxisPrimaryMaximumFixedRadioButton = new System.Windows.Forms.RadioButton();
     60      this.xAxisPrimaryMaximumAutoRadioButton = new System.Windows.Forms.RadioButton();
     61      this.xAxisPrimaryMinimumPanel = new System.Windows.Forms.Panel();
     62      this.xAxisPrimaryMinimumFixedTextBox = new System.Windows.Forms.TextBox();
     63      this.xAxisPrimaryMinimumFixedRadioButton = new System.Windows.Forms.RadioButton();
     64      this.xAxisPrimaryMinimumAutoRadioButton = new System.Windows.Forms.RadioButton();
     65      this.xAxisSecondaryGroupBox = new System.Windows.Forms.GroupBox();
     66      this.label10 = new System.Windows.Forms.Label();
     67      this.xAxisSecondaryTitleTextBox = new System.Windows.Forms.TextBox();
     68      this.label5 = new System.Windows.Forms.Label();
     69      this.label6 = new System.Windows.Forms.Label();
     70      this.xAxisSecondaryMaximumPanel = new System.Windows.Forms.Panel();
     71      this.xAxisSecondaryMaximumFixedTextBox = new System.Windows.Forms.TextBox();
     72      this.xAxisSecondaryMaximumFixedRadioButton = new System.Windows.Forms.RadioButton();
     73      this.xAxisSecondaryMaximumAutoRadioButton = new System.Windows.Forms.RadioButton();
     74      this.xAxisSecondaryMinimumPanel = new System.Windows.Forms.Panel();
     75      this.xAxisSecondaryMinimumFixedTextBox = new System.Windows.Forms.TextBox();
     76      this.xAxisSecondaryMinimumFixedRadioButton = new System.Windows.Forms.RadioButton();
     77      this.xAxisSecondaryMinimumAutoRadioButton = new System.Windows.Forms.RadioButton();
     78      this.axisTabControl = new System.Windows.Forms.TabControl();
     79      this.xAxisTabPage = new System.Windows.Forms.TabPage();
     80      this.yAxisTabPage = new System.Windows.Forms.TabPage();
     81      this.yAxisSecondaryGroupBox = new System.Windows.Forms.GroupBox();
     82      this.label13 = new System.Windows.Forms.Label();
     83      this.label14 = new System.Windows.Forms.Label();
     84      this.yAxisSecondaryMaximumPanel = new System.Windows.Forms.Panel();
     85      this.yAxisSecondaryMaximumFixedTextBox = new System.Windows.Forms.TextBox();
     86      this.yAxisSecondaryMaximumFixedRadioButton = new System.Windows.Forms.RadioButton();
     87      this.yAxisSecondaryMaximumAutoRadioButton = new System.Windows.Forms.RadioButton();
     88      this.yAxisSecondaryMinimumPanel = new System.Windows.Forms.Panel();
     89      this.yAxisSecondaryMinimumFixedTextBox = new System.Windows.Forms.TextBox();
     90      this.yAxisSecondaryMinimumFixedRadioButton = new System.Windows.Forms.RadioButton();
     91      this.yAxisSecondaryMinimumAutoRadioButton = new System.Windows.Forms.RadioButton();
     92      this.yAxisPrimaryGroupBox = new System.Windows.Forms.GroupBox();
     93      this.label7 = new System.Windows.Forms.Label();
     94      this.label8 = new System.Windows.Forms.Label();
     95      this.yAxisPrimaryMaximumPanel = new System.Windows.Forms.Panel();
     96      this.yAxisPrimaryMaximumFixedTextBox = new System.Windows.Forms.TextBox();
     97      this.yAxisPrimaryMaximumFixedRadioButton = new System.Windows.Forms.RadioButton();
     98      this.yAxisPrimaryMaximumAutoRadioButton = new System.Windows.Forms.RadioButton();
     99      this.yAxisPrimaryMinimumPanel = new System.Windows.Forms.Panel();
     100      this.yAxisPrimaryMinimumFixedTextBox = new System.Windows.Forms.TextBox();
     101      this.yAxisPrimaryMinimumFixedRadioButton = new System.Windows.Forms.RadioButton();
     102      this.yAxisPrimaryMinimumAutoRadioButton = new System.Windows.Forms.RadioButton();
     103      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     104      this.xAxisPrimaryGroupBox.SuspendLayout();
     105      this.xAxisPrimaryMaximumPanel.SuspendLayout();
     106      this.xAxisPrimaryMinimumPanel.SuspendLayout();
     107      this.xAxisSecondaryGroupBox.SuspendLayout();
     108      this.xAxisSecondaryMaximumPanel.SuspendLayout();
     109      this.xAxisSecondaryMinimumPanel.SuspendLayout();
     110      this.axisTabControl.SuspendLayout();
     111      this.xAxisTabPage.SuspendLayout();
     112      this.yAxisTabPage.SuspendLayout();
     113      this.yAxisSecondaryGroupBox.SuspendLayout();
     114      this.yAxisSecondaryMaximumPanel.SuspendLayout();
     115      this.yAxisSecondaryMinimumPanel.SuspendLayout();
     116      this.yAxisPrimaryGroupBox.SuspendLayout();
     117      this.yAxisPrimaryMaximumPanel.SuspendLayout();
     118      this.yAxisPrimaryMinimumPanel.SuspendLayout();
     119      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    57120      this.SuspendLayout();
    58121      //
     
    60123      //
    61124      this.label1.AutoSize = true;
    62       this.label1.Location = new System.Drawing.Point(8, 22);
     125      this.label1.Location = new System.Drawing.Point(4, 26);
    63126      this.label1.Name = "label1";
    64       this.label1.Size = new System.Drawing.Size(54, 13);
     127      this.label1.Size = new System.Drawing.Size(30, 13);
    65128      this.label1.TabIndex = 0;
    66       this.label1.Text = "Primary-Y:";
    67       //
    68       // yPrimaryTextBox
    69       //
    70       this.yPrimaryTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     129      this.label1.Text = "Title:";
     130      //
     131      // yAxisPrimaryTitleTextBox
     132      //
     133      this.yAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    71134                  | System.Windows.Forms.AnchorStyles.Right)));
    72       this.yPrimaryTextBox.Location = new System.Drawing.Point(85, 19);
    73       this.yPrimaryTextBox.Name = "yPrimaryTextBox";
    74       this.yPrimaryTextBox.Size = new System.Drawing.Size(221, 20);
    75       this.yPrimaryTextBox.TabIndex = 1;
    76       this.yPrimaryTextBox.Validated += new System.EventHandler(this.yPrimaryTextBox_Validated);
    77       //
    78       // xPrimaryTextBox
    79       //
    80       this.xPrimaryTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     135      this.yAxisPrimaryTitleTextBox.Location = new System.Drawing.Point(63, 23);
     136      this.yAxisPrimaryTitleTextBox.Name = "yAxisPrimaryTitleTextBox";
     137      this.yAxisPrimaryTitleTextBox.Size = new System.Drawing.Size(243, 20);
     138      this.yAxisPrimaryTitleTextBox.TabIndex = 1;
     139      this.yAxisPrimaryTitleTextBox.Validated += new System.EventHandler(this.yPrimaryTitleTextBox_Validated);
     140      //
     141      // yAxisSecondaryTitleTextBox
     142      //
     143      this.yAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    81144                  | System.Windows.Forms.AnchorStyles.Right)));
    82       this.xPrimaryTextBox.Location = new System.Drawing.Point(85, 71);
    83       this.xPrimaryTextBox.Name = "xPrimaryTextBox";
    84       this.xPrimaryTextBox.Size = new System.Drawing.Size(221, 20);
    85       this.xPrimaryTextBox.TabIndex = 5;
    86       this.xPrimaryTextBox.Validated += new System.EventHandler(this.xPrimaryTextBox_Validated);
    87       //
    88       // xSecondaryTextBox
    89       //
    90       this.xSecondaryTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     145      this.yAxisSecondaryTitleTextBox.Location = new System.Drawing.Point(63, 23);
     146      this.yAxisSecondaryTitleTextBox.Name = "yAxisSecondaryTitleTextBox";
     147      this.yAxisSecondaryTitleTextBox.Size = new System.Drawing.Size(243, 20);
     148      this.yAxisSecondaryTitleTextBox.TabIndex = 1;
     149      this.yAxisSecondaryTitleTextBox.Validated += new System.EventHandler(this.ySecondaryTitleTextBox_Validated);
     150      //
     151      // label4
     152      //
     153      this.label4.AutoSize = true;
     154      this.label4.Location = new System.Drawing.Point(4, 26);
     155      this.label4.Name = "label4";
     156      this.label4.Size = new System.Drawing.Size(30, 13);
     157      this.label4.TabIndex = 0;
     158      this.label4.Text = "Title:";
     159      //
     160      // xAxisPrimaryGroupBox
     161      //
     162      this.xAxisPrimaryGroupBox.Controls.Add(this.label12);
     163      this.xAxisPrimaryGroupBox.Controls.Add(this.label9);
     164      this.xAxisPrimaryGroupBox.Controls.Add(this.xAxisPrimaryTitleTextBox);
     165      this.xAxisPrimaryGroupBox.Controls.Add(this.label11);
     166      this.xAxisPrimaryGroupBox.Controls.Add(this.xAxisPrimaryMaximumPanel);
     167      this.xAxisPrimaryGroupBox.Controls.Add(this.xAxisPrimaryMinimumPanel);
     168      this.xAxisPrimaryGroupBox.Location = new System.Drawing.Point(6, 6);
     169      this.xAxisPrimaryGroupBox.Name = "xAxisPrimaryGroupBox";
     170      this.xAxisPrimaryGroupBox.Size = new System.Drawing.Size(316, 107);
     171      this.xAxisPrimaryGroupBox.TabIndex = 0;
     172      this.xAxisPrimaryGroupBox.TabStop = false;
     173      this.xAxisPrimaryGroupBox.Text = "Primary Axis";
     174      //
     175      // label12
     176      //
     177      this.label12.AutoSize = true;
     178      this.label12.Location = new System.Drawing.Point(4, 77);
     179      this.label12.Name = "label12";
     180      this.label12.Size = new System.Drawing.Size(54, 13);
     181      this.label12.TabIndex = 4;
     182      this.label12.Text = "Maximum:";
     183      //
     184      // label9
     185      //
     186      this.label9.AutoSize = true;
     187      this.label9.Location = new System.Drawing.Point(4, 26);
     188      this.label9.Name = "label9";
     189      this.label9.Size = new System.Drawing.Size(30, 13);
     190      this.label9.TabIndex = 0;
     191      this.label9.Text = "Title:";
     192      //
     193      // xAxisPrimaryTitleTextBox
     194      //
     195      this.xAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    91196                  | System.Windows.Forms.AnchorStyles.Right)));
    92       this.xSecondaryTextBox.Location = new System.Drawing.Point(85, 97);
    93       this.xSecondaryTextBox.Name = "xSecondaryTextBox";
    94       this.xSecondaryTextBox.Size = new System.Drawing.Size(221, 20);
    95       this.xSecondaryTextBox.TabIndex = 7;
    96       this.xSecondaryTextBox.Validated += new System.EventHandler(this.xSecondaryTextBox_Validated);
    97       //
    98       // axisTitlesGroupBox
    99       //
    100       this.axisTitlesGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     197      this.xAxisPrimaryTitleTextBox.Location = new System.Drawing.Point(63, 23);
     198      this.xAxisPrimaryTitleTextBox.Name = "xAxisPrimaryTitleTextBox";
     199      this.xAxisPrimaryTitleTextBox.Size = new System.Drawing.Size(245, 20);
     200      this.xAxisPrimaryTitleTextBox.TabIndex = 1;
     201      this.xAxisPrimaryTitleTextBox.Validated += new System.EventHandler(this.xPrimaryTitleTextBox_Validated);
     202      //
     203      // label11
     204      //
     205      this.label11.AutoSize = true;
     206      this.label11.Location = new System.Drawing.Point(4, 53);
     207      this.label11.Name = "label11";
     208      this.label11.Size = new System.Drawing.Size(51, 13);
     209      this.label11.TabIndex = 2;
     210      this.label11.Text = "Minimum:";
     211      //
     212      // xAxisPrimaryMaximumPanel
     213      //
     214      this.xAxisPrimaryMaximumPanel.Controls.Add(this.xAxisPrimaryMaximumFixedTextBox);
     215      this.xAxisPrimaryMaximumPanel.Controls.Add(this.xAxisPrimaryMaximumFixedRadioButton);
     216      this.xAxisPrimaryMaximumPanel.Controls.Add(this.xAxisPrimaryMaximumAutoRadioButton);
     217      this.xAxisPrimaryMaximumPanel.Location = new System.Drawing.Point(63, 71);
     218      this.xAxisPrimaryMaximumPanel.Name = "xAxisPrimaryMaximumPanel";
     219      this.xAxisPrimaryMaximumPanel.Size = new System.Drawing.Size(245, 25);
     220      this.xAxisPrimaryMaximumPanel.TabIndex = 5;
     221      //
     222      // xAxisPrimaryMaximumFixedTextBox
     223      //
     224      this.xAxisPrimaryMaximumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     225      this.xAxisPrimaryMaximumFixedTextBox.Name = "xAxisPrimaryMaximumFixedTextBox";
     226      this.xAxisPrimaryMaximumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     227      this.xAxisPrimaryMaximumFixedTextBox.TabIndex = 2;
     228      this.xAxisPrimaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisPrimaryMaximumFixedTextBox_Validating);
     229      //
     230      // xAxisPrimaryMaximumFixedRadioButton
     231      //
     232      this.xAxisPrimaryMaximumFixedRadioButton.AutoSize = true;
     233      this.xAxisPrimaryMaximumFixedRadioButton.Location = new System.Drawing.Point(70, 4);
     234      this.xAxisPrimaryMaximumFixedRadioButton.Name = "xAxisPrimaryMaximumFixedRadioButton";
     235      this.xAxisPrimaryMaximumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     236      this.xAxisPrimaryMaximumFixedRadioButton.TabIndex = 1;
     237      this.xAxisPrimaryMaximumFixedRadioButton.TabStop = true;
     238      this.xAxisPrimaryMaximumFixedRadioButton.Text = "Fixed";
     239      this.xAxisPrimaryMaximumFixedRadioButton.UseVisualStyleBackColor = true;
     240      this.xAxisPrimaryMaximumFixedRadioButton.CheckedChanged += new System.EventHandler(this.xAxisPrimaryMaximumRadioButton_CheckedChanged);
     241      //
     242      // xAxisPrimaryMaximumAutoRadioButton
     243      //
     244      this.xAxisPrimaryMaximumAutoRadioButton.AutoSize = true;
     245      this.xAxisPrimaryMaximumAutoRadioButton.Location = new System.Drawing.Point(4, 4);
     246      this.xAxisPrimaryMaximumAutoRadioButton.Name = "xAxisPrimaryMaximumAutoRadioButton";
     247      this.xAxisPrimaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     248      this.xAxisPrimaryMaximumAutoRadioButton.TabIndex = 0;
     249      this.xAxisPrimaryMaximumAutoRadioButton.TabStop = true;
     250      this.xAxisPrimaryMaximumAutoRadioButton.Text = "Auto";
     251      this.xAxisPrimaryMaximumAutoRadioButton.UseVisualStyleBackColor = true;
     252      this.xAxisPrimaryMaximumAutoRadioButton.CheckedChanged += new System.EventHandler(this.xAxisPrimaryMaximumRadioButton_CheckedChanged);
     253      //
     254      // xAxisPrimaryMinimumPanel
     255      //
     256      this.xAxisPrimaryMinimumPanel.Controls.Add(this.xAxisPrimaryMinimumFixedTextBox);
     257      this.xAxisPrimaryMinimumPanel.Controls.Add(this.xAxisPrimaryMinimumFixedRadioButton);
     258      this.xAxisPrimaryMinimumPanel.Controls.Add(this.xAxisPrimaryMinimumAutoRadioButton);
     259      this.xAxisPrimaryMinimumPanel.Location = new System.Drawing.Point(63, 47);
     260      this.xAxisPrimaryMinimumPanel.Name = "xAxisPrimaryMinimumPanel";
     261      this.xAxisPrimaryMinimumPanel.Size = new System.Drawing.Size(245, 25);
     262      this.xAxisPrimaryMinimumPanel.TabIndex = 3;
     263      //
     264      // xAxisPrimaryMinimumFixedTextBox
     265      //
     266      this.xAxisPrimaryMinimumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     267      this.xAxisPrimaryMinimumFixedTextBox.Name = "xAxisPrimaryMinimumFixedTextBox";
     268      this.xAxisPrimaryMinimumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     269      this.xAxisPrimaryMinimumFixedTextBox.TabIndex = 2;
     270      this.xAxisPrimaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisPrimaryMinimumFixedTextBox_Validating);
     271      //
     272      // xAxisPrimaryMinimumFixedRadioButton
     273      //
     274      this.xAxisPrimaryMinimumFixedRadioButton.AutoSize = true;
     275      this.xAxisPrimaryMinimumFixedRadioButton.Location = new System.Drawing.Point(70, 3);
     276      this.xAxisPrimaryMinimumFixedRadioButton.Name = "xAxisPrimaryMinimumFixedRadioButton";
     277      this.xAxisPrimaryMinimumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     278      this.xAxisPrimaryMinimumFixedRadioButton.TabIndex = 1;
     279      this.xAxisPrimaryMinimumFixedRadioButton.TabStop = true;
     280      this.xAxisPrimaryMinimumFixedRadioButton.Text = "Fixed";
     281      this.xAxisPrimaryMinimumFixedRadioButton.UseVisualStyleBackColor = true;
     282      this.xAxisPrimaryMinimumFixedRadioButton.CheckedChanged += new System.EventHandler(this.xAxisPrimaryMinimumRadioButton_CheckedChanged);
     283      //
     284      // xAxisPrimaryMinimumAutoRadioButton
     285      //
     286      this.xAxisPrimaryMinimumAutoRadioButton.AutoSize = true;
     287      this.xAxisPrimaryMinimumAutoRadioButton.Location = new System.Drawing.Point(4, 3);
     288      this.xAxisPrimaryMinimumAutoRadioButton.Name = "xAxisPrimaryMinimumAutoRadioButton";
     289      this.xAxisPrimaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     290      this.xAxisPrimaryMinimumAutoRadioButton.TabIndex = 0;
     291      this.xAxisPrimaryMinimumAutoRadioButton.TabStop = true;
     292      this.xAxisPrimaryMinimumAutoRadioButton.Text = "Auto";
     293      this.xAxisPrimaryMinimumAutoRadioButton.UseVisualStyleBackColor = true;
     294      this.xAxisPrimaryMinimumAutoRadioButton.CheckedChanged += new System.EventHandler(this.xAxisPrimaryMinimumRadioButton_CheckedChanged);
     295      //
     296      // xAxisSecondaryGroupBox
     297      //
     298      this.xAxisSecondaryGroupBox.Controls.Add(this.label10);
     299      this.xAxisSecondaryGroupBox.Controls.Add(this.xAxisSecondaryTitleTextBox);
     300      this.xAxisSecondaryGroupBox.Controls.Add(this.label5);
     301      this.xAxisSecondaryGroupBox.Controls.Add(this.label6);
     302      this.xAxisSecondaryGroupBox.Controls.Add(this.xAxisSecondaryMaximumPanel);
     303      this.xAxisSecondaryGroupBox.Controls.Add(this.xAxisSecondaryMinimumPanel);
     304      this.xAxisSecondaryGroupBox.Location = new System.Drawing.Point(6, 119);
     305      this.xAxisSecondaryGroupBox.Name = "xAxisSecondaryGroupBox";
     306      this.xAxisSecondaryGroupBox.Size = new System.Drawing.Size(316, 106);
     307      this.xAxisSecondaryGroupBox.TabIndex = 1;
     308      this.xAxisSecondaryGroupBox.TabStop = false;
     309      this.xAxisSecondaryGroupBox.Text = "Secondary Axis";
     310      //
     311      // label10
     312      //
     313      this.label10.AutoSize = true;
     314      this.label10.Location = new System.Drawing.Point(4, 26);
     315      this.label10.Name = "label10";
     316      this.label10.Size = new System.Drawing.Size(30, 13);
     317      this.label10.TabIndex = 0;
     318      this.label10.Text = "Title:";
     319      //
     320      // xAxisSecondaryTitleTextBox
     321      //
     322      this.xAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    101323                  | System.Windows.Forms.AnchorStyles.Right)));
    102       this.axisTitlesGroupBox.Controls.Add(this.ySecondaryTextBox);
    103       this.axisTitlesGroupBox.Controls.Add(this.yPrimaryTextBox);
    104       this.axisTitlesGroupBox.Controls.Add(this.xSecondaryTextBox);
    105       this.axisTitlesGroupBox.Controls.Add(this.label4);
    106       this.axisTitlesGroupBox.Controls.Add(this.label1);
    107       this.axisTitlesGroupBox.Controls.Add(this.xPrimaryTextBox);
    108       this.axisTitlesGroupBox.Controls.Add(this.label2);
    109       this.axisTitlesGroupBox.Controls.Add(this.label3);
    110       this.axisTitlesGroupBox.Location = new System.Drawing.Point(3, 3);
    111       this.axisTitlesGroupBox.Name = "axisTitlesGroupBox";
    112       this.axisTitlesGroupBox.Size = new System.Drawing.Size(312, 124);
    113       this.axisTitlesGroupBox.TabIndex = 0;
    114       this.axisTitlesGroupBox.TabStop = false;
    115       this.axisTitlesGroupBox.Text = "Axis Titles";
    116       //
    117       // ySecondaryTextBox
    118       //
    119       this.ySecondaryTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     324      this.xAxisSecondaryTitleTextBox.Location = new System.Drawing.Point(63, 23);
     325      this.xAxisSecondaryTitleTextBox.Name = "xAxisSecondaryTitleTextBox";
     326      this.xAxisSecondaryTitleTextBox.Size = new System.Drawing.Size(245, 20);
     327      this.xAxisSecondaryTitleTextBox.TabIndex = 1;
     328      this.xAxisSecondaryTitleTextBox.Validated += new System.EventHandler(this.xSecondaryTitleTextBox_Validated);
     329      //
     330      // label5
     331      //
     332      this.label5.AutoSize = true;
     333      this.label5.Location = new System.Drawing.Point(4, 77);
     334      this.label5.Name = "label5";
     335      this.label5.Size = new System.Drawing.Size(54, 13);
     336      this.label5.TabIndex = 4;
     337      this.label5.Text = "Maximum:";
     338      //
     339      // label6
     340      //
     341      this.label6.AutoSize = true;
     342      this.label6.Location = new System.Drawing.Point(4, 53);
     343      this.label6.Name = "label6";
     344      this.label6.Size = new System.Drawing.Size(51, 13);
     345      this.label6.TabIndex = 2;
     346      this.label6.Text = "Minimum:";
     347      //
     348      // xAxisSecondaryMaximumPanel
     349      //
     350      this.xAxisSecondaryMaximumPanel.Controls.Add(this.xAxisSecondaryMaximumFixedTextBox);
     351      this.xAxisSecondaryMaximumPanel.Controls.Add(this.xAxisSecondaryMaximumFixedRadioButton);
     352      this.xAxisSecondaryMaximumPanel.Controls.Add(this.xAxisSecondaryMaximumAutoRadioButton);
     353      this.xAxisSecondaryMaximumPanel.Location = new System.Drawing.Point(63, 71);
     354      this.xAxisSecondaryMaximumPanel.Name = "xAxisSecondaryMaximumPanel";
     355      this.xAxisSecondaryMaximumPanel.Size = new System.Drawing.Size(245, 25);
     356      this.xAxisSecondaryMaximumPanel.TabIndex = 5;
     357      //
     358      // xAxisSecondaryMaximumFixedTextBox
     359      //
     360      this.xAxisSecondaryMaximumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     361      this.xAxisSecondaryMaximumFixedTextBox.Name = "xAxisSecondaryMaximumFixedTextBox";
     362      this.xAxisSecondaryMaximumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     363      this.xAxisSecondaryMaximumFixedTextBox.TabIndex = 2;
     364      this.xAxisSecondaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisSecondaryMaximumFixedTextBox_Validating);
     365      //
     366      // xAxisSecondaryMaximumFixedRadioButton
     367      //
     368      this.xAxisSecondaryMaximumFixedRadioButton.AutoSize = true;
     369      this.xAxisSecondaryMaximumFixedRadioButton.Location = new System.Drawing.Point(70, 4);
     370      this.xAxisSecondaryMaximumFixedRadioButton.Name = "xAxisSecondaryMaximumFixedRadioButton";
     371      this.xAxisSecondaryMaximumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     372      this.xAxisSecondaryMaximumFixedRadioButton.TabIndex = 1;
     373      this.xAxisSecondaryMaximumFixedRadioButton.TabStop = true;
     374      this.xAxisSecondaryMaximumFixedRadioButton.Text = "Fixed";
     375      this.xAxisSecondaryMaximumFixedRadioButton.UseVisualStyleBackColor = true;
     376      this.xAxisSecondaryMaximumFixedRadioButton.CheckedChanged += new System.EventHandler(this.xAxisSecondaryMaximumRadioButton_CheckedChanged);
     377      //
     378      // xAxisSecondaryMaximumAutoRadioButton
     379      //
     380      this.xAxisSecondaryMaximumAutoRadioButton.AutoSize = true;
     381      this.xAxisSecondaryMaximumAutoRadioButton.Location = new System.Drawing.Point(4, 4);
     382      this.xAxisSecondaryMaximumAutoRadioButton.Name = "xAxisSecondaryMaximumAutoRadioButton";
     383      this.xAxisSecondaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     384      this.xAxisSecondaryMaximumAutoRadioButton.TabIndex = 0;
     385      this.xAxisSecondaryMaximumAutoRadioButton.TabStop = true;
     386      this.xAxisSecondaryMaximumAutoRadioButton.Text = "Auto";
     387      this.xAxisSecondaryMaximumAutoRadioButton.UseVisualStyleBackColor = true;
     388      this.xAxisSecondaryMaximumAutoRadioButton.CheckedChanged += new System.EventHandler(this.xAxisSecondaryMaximumRadioButton_CheckedChanged);
     389      //
     390      // xAxisSecondaryMinimumPanel
     391      //
     392      this.xAxisSecondaryMinimumPanel.Controls.Add(this.xAxisSecondaryMinimumFixedTextBox);
     393      this.xAxisSecondaryMinimumPanel.Controls.Add(this.xAxisSecondaryMinimumFixedRadioButton);
     394      this.xAxisSecondaryMinimumPanel.Controls.Add(this.xAxisSecondaryMinimumAutoRadioButton);
     395      this.xAxisSecondaryMinimumPanel.Location = new System.Drawing.Point(63, 47);
     396      this.xAxisSecondaryMinimumPanel.Name = "xAxisSecondaryMinimumPanel";
     397      this.xAxisSecondaryMinimumPanel.Size = new System.Drawing.Size(245, 25);
     398      this.xAxisSecondaryMinimumPanel.TabIndex = 3;
     399      //
     400      // xAxisSecondaryMinimumFixedTextBox
     401      //
     402      this.xAxisSecondaryMinimumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     403      this.xAxisSecondaryMinimumFixedTextBox.Name = "xAxisSecondaryMinimumFixedTextBox";
     404      this.xAxisSecondaryMinimumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     405      this.xAxisSecondaryMinimumFixedTextBox.TabIndex = 2;
     406      this.xAxisSecondaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisSecondaryMinimumFixedTextBox_Validating);
     407      //
     408      // xAxisSecondaryMinimumFixedRadioButton
     409      //
     410      this.xAxisSecondaryMinimumFixedRadioButton.AutoSize = true;
     411      this.xAxisSecondaryMinimumFixedRadioButton.Location = new System.Drawing.Point(70, 3);
     412      this.xAxisSecondaryMinimumFixedRadioButton.Name = "xAxisSecondaryMinimumFixedRadioButton";
     413      this.xAxisSecondaryMinimumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     414      this.xAxisSecondaryMinimumFixedRadioButton.TabIndex = 1;
     415      this.xAxisSecondaryMinimumFixedRadioButton.TabStop = true;
     416      this.xAxisSecondaryMinimumFixedRadioButton.Text = "Fixed";
     417      this.xAxisSecondaryMinimumFixedRadioButton.UseVisualStyleBackColor = true;
     418      this.xAxisSecondaryMinimumFixedRadioButton.CheckedChanged += new System.EventHandler(this.xAxisSecondaryMinimumRadioButton_CheckedChanged);
     419      //
     420      // xAxisSecondaryMinimumAutoRadioButton
     421      //
     422      this.xAxisSecondaryMinimumAutoRadioButton.AutoSize = true;
     423      this.xAxisSecondaryMinimumAutoRadioButton.Location = new System.Drawing.Point(4, 3);
     424      this.xAxisSecondaryMinimumAutoRadioButton.Name = "xAxisSecondaryMinimumAutoRadioButton";
     425      this.xAxisSecondaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     426      this.xAxisSecondaryMinimumAutoRadioButton.TabIndex = 0;
     427      this.xAxisSecondaryMinimumAutoRadioButton.TabStop = true;
     428      this.xAxisSecondaryMinimumAutoRadioButton.Text = "Auto";
     429      this.xAxisSecondaryMinimumAutoRadioButton.UseVisualStyleBackColor = true;
     430      this.xAxisSecondaryMinimumAutoRadioButton.CheckedChanged += new System.EventHandler(this.xAxisSecondaryMinimumRadioButton_CheckedChanged);
     431      //
     432      // axisTabControl
     433      //
     434      this.axisTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     435                  | System.Windows.Forms.AnchorStyles.Left)
    120436                  | System.Windows.Forms.AnchorStyles.Right)));
    121       this.ySecondaryTextBox.Location = new System.Drawing.Point(85, 45);
    122       this.ySecondaryTextBox.Name = "ySecondaryTextBox";
    123       this.ySecondaryTextBox.Size = new System.Drawing.Size(221, 20);
    124       this.ySecondaryTextBox.TabIndex = 3;
    125       this.ySecondaryTextBox.Validated += new System.EventHandler(this.ySecondaryTextBox_Validated);
    126       //
    127       // label4
    128       //
    129       this.label4.AutoSize = true;
    130       this.label4.Location = new System.Drawing.Point(8, 48);
    131       this.label4.Name = "label4";
    132       this.label4.Size = new System.Drawing.Size(71, 13);
    133       this.label4.TabIndex = 2;
    134       this.label4.Text = "Secondary-Y:";
    135       //
    136       // label2
    137       //
    138       this.label2.AutoSize = true;
    139       this.label2.Location = new System.Drawing.Point(8, 74);
    140       this.label2.Name = "label2";
    141       this.label2.Size = new System.Drawing.Size(54, 13);
    142       this.label2.TabIndex = 4;
    143       this.label2.Text = "Primary-X:";
    144       //
    145       // label3
    146       //
    147       this.label3.AutoSize = true;
    148       this.label3.Location = new System.Drawing.Point(8, 100);
    149       this.label3.Name = "label3";
    150       this.label3.Size = new System.Drawing.Size(71, 13);
    151       this.label3.TabIndex = 6;
    152       this.label3.Text = "Secondary-X:";
     437      this.axisTabControl.Controls.Add(this.xAxisTabPage);
     438      this.axisTabControl.Controls.Add(this.yAxisTabPage);
     439      this.axisTabControl.Location = new System.Drawing.Point(0, 0);
     440      this.axisTabControl.Name = "axisTabControl";
     441      this.axisTabControl.SelectedIndex = 0;
     442      this.axisTabControl.Size = new System.Drawing.Size(336, 257);
     443      this.axisTabControl.TabIndex = 0;
     444      //
     445      // xAxisTabPage
     446      //
     447      this.xAxisTabPage.Controls.Add(this.xAxisSecondaryGroupBox);
     448      this.xAxisTabPage.Controls.Add(this.xAxisPrimaryGroupBox);
     449      this.xAxisTabPage.Location = new System.Drawing.Point(4, 22);
     450      this.xAxisTabPage.Name = "xAxisTabPage";
     451      this.xAxisTabPage.Padding = new System.Windows.Forms.Padding(3);
     452      this.xAxisTabPage.Size = new System.Drawing.Size(328, 231);
     453      this.xAxisTabPage.TabIndex = 0;
     454      this.xAxisTabPage.Text = "X-Axis";
     455      this.xAxisTabPage.UseVisualStyleBackColor = true;
     456      //
     457      // yAxisTabPage
     458      //
     459      this.yAxisTabPage.Controls.Add(this.yAxisSecondaryGroupBox);
     460      this.yAxisTabPage.Controls.Add(this.yAxisPrimaryGroupBox);
     461      this.yAxisTabPage.Location = new System.Drawing.Point(4, 22);
     462      this.yAxisTabPage.Name = "yAxisTabPage";
     463      this.yAxisTabPage.Padding = new System.Windows.Forms.Padding(3);
     464      this.yAxisTabPage.Size = new System.Drawing.Size(328, 231);
     465      this.yAxisTabPage.TabIndex = 1;
     466      this.yAxisTabPage.Text = "Y-Axis";
     467      this.yAxisTabPage.UseVisualStyleBackColor = true;
     468      //
     469      // yAxisSecondaryGroupBox
     470      //
     471      this.yAxisSecondaryGroupBox.Controls.Add(this.yAxisSecondaryTitleTextBox);
     472      this.yAxisSecondaryGroupBox.Controls.Add(this.label4);
     473      this.yAxisSecondaryGroupBox.Controls.Add(this.label13);
     474      this.yAxisSecondaryGroupBox.Controls.Add(this.label14);
     475      this.yAxisSecondaryGroupBox.Controls.Add(this.yAxisSecondaryMaximumPanel);
     476      this.yAxisSecondaryGroupBox.Controls.Add(this.yAxisSecondaryMinimumPanel);
     477      this.yAxisSecondaryGroupBox.Location = new System.Drawing.Point(6, 119);
     478      this.yAxisSecondaryGroupBox.Name = "yAxisSecondaryGroupBox";
     479      this.yAxisSecondaryGroupBox.Size = new System.Drawing.Size(316, 106);
     480      this.yAxisSecondaryGroupBox.TabIndex = 1;
     481      this.yAxisSecondaryGroupBox.TabStop = false;
     482      this.yAxisSecondaryGroupBox.Text = "Secondary Axis";
     483      //
     484      // label13
     485      //
     486      this.label13.AutoSize = true;
     487      this.label13.Location = new System.Drawing.Point(4, 77);
     488      this.label13.Name = "label13";
     489      this.label13.Size = new System.Drawing.Size(54, 13);
     490      this.label13.TabIndex = 4;
     491      this.label13.Text = "Maximum:";
     492      //
     493      // label14
     494      //
     495      this.label14.AutoSize = true;
     496      this.label14.Location = new System.Drawing.Point(4, 53);
     497      this.label14.Name = "label14";
     498      this.label14.Size = new System.Drawing.Size(51, 13);
     499      this.label14.TabIndex = 2;
     500      this.label14.Text = "Minimum:";
     501      //
     502      // yAxisSecondaryMaximumPanel
     503      //
     504      this.yAxisSecondaryMaximumPanel.Controls.Add(this.yAxisSecondaryMaximumFixedTextBox);
     505      this.yAxisSecondaryMaximumPanel.Controls.Add(this.yAxisSecondaryMaximumFixedRadioButton);
     506      this.yAxisSecondaryMaximumPanel.Controls.Add(this.yAxisSecondaryMaximumAutoRadioButton);
     507      this.yAxisSecondaryMaximumPanel.Location = new System.Drawing.Point(63, 71);
     508      this.yAxisSecondaryMaximumPanel.Name = "yAxisSecondaryMaximumPanel";
     509      this.yAxisSecondaryMaximumPanel.Size = new System.Drawing.Size(245, 25);
     510      this.yAxisSecondaryMaximumPanel.TabIndex = 5;
     511      //
     512      // yAxisSecondaryMaximumFixedTextBox
     513      //
     514      this.yAxisSecondaryMaximumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     515      this.yAxisSecondaryMaximumFixedTextBox.Name = "yAxisSecondaryMaximumFixedTextBox";
     516      this.yAxisSecondaryMaximumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     517      this.yAxisSecondaryMaximumFixedTextBox.TabIndex = 2;
     518      this.yAxisSecondaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisSecondaryMaximumFixedTextBox_Validating);
     519      //
     520      // yAxisSecondaryMaximumFixedRadioButton
     521      //
     522      this.yAxisSecondaryMaximumFixedRadioButton.AutoSize = true;
     523      this.yAxisSecondaryMaximumFixedRadioButton.Location = new System.Drawing.Point(70, 4);
     524      this.yAxisSecondaryMaximumFixedRadioButton.Name = "yAxisSecondaryMaximumFixedRadioButton";
     525      this.yAxisSecondaryMaximumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     526      this.yAxisSecondaryMaximumFixedRadioButton.TabIndex = 1;
     527      this.yAxisSecondaryMaximumFixedRadioButton.TabStop = true;
     528      this.yAxisSecondaryMaximumFixedRadioButton.Text = "Fixed";
     529      this.yAxisSecondaryMaximumFixedRadioButton.UseVisualStyleBackColor = true;
     530      this.yAxisSecondaryMaximumFixedRadioButton.CheckedChanged += new System.EventHandler(this.yAxisSecondaryMaximumRadioButton_CheckedChanged);
     531      //
     532      // yAxisSecondaryMaximumAutoRadioButton
     533      //
     534      this.yAxisSecondaryMaximumAutoRadioButton.AutoSize = true;
     535      this.yAxisSecondaryMaximumAutoRadioButton.Location = new System.Drawing.Point(4, 4);
     536      this.yAxisSecondaryMaximumAutoRadioButton.Name = "yAxisSecondaryMaximumAutoRadioButton";
     537      this.yAxisSecondaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     538      this.yAxisSecondaryMaximumAutoRadioButton.TabIndex = 0;
     539      this.yAxisSecondaryMaximumAutoRadioButton.TabStop = true;
     540      this.yAxisSecondaryMaximumAutoRadioButton.Text = "Auto";
     541      this.yAxisSecondaryMaximumAutoRadioButton.UseVisualStyleBackColor = true;
     542      this.yAxisSecondaryMaximumAutoRadioButton.CheckedChanged += new System.EventHandler(this.yAxisSecondaryMaximumRadioButton_CheckedChanged);
     543      //
     544      // yAxisSecondaryMinimumPanel
     545      //
     546      this.yAxisSecondaryMinimumPanel.Controls.Add(this.yAxisSecondaryMinimumFixedTextBox);
     547      this.yAxisSecondaryMinimumPanel.Controls.Add(this.yAxisSecondaryMinimumFixedRadioButton);
     548      this.yAxisSecondaryMinimumPanel.Controls.Add(this.yAxisSecondaryMinimumAutoRadioButton);
     549      this.yAxisSecondaryMinimumPanel.Location = new System.Drawing.Point(63, 47);
     550      this.yAxisSecondaryMinimumPanel.Name = "yAxisSecondaryMinimumPanel";
     551      this.yAxisSecondaryMinimumPanel.Size = new System.Drawing.Size(245, 25);
     552      this.yAxisSecondaryMinimumPanel.TabIndex = 3;
     553      //
     554      // yAxisSecondaryMinimumFixedTextBox
     555      //
     556      this.yAxisSecondaryMinimumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     557      this.yAxisSecondaryMinimumFixedTextBox.Name = "yAxisSecondaryMinimumFixedTextBox";
     558      this.yAxisSecondaryMinimumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     559      this.yAxisSecondaryMinimumFixedTextBox.TabIndex = 2;
     560      this.yAxisSecondaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisSecondaryMinimumFixedTextBox_Validating);
     561      //
     562      // yAxisSecondaryMinimumFixedRadioButton
     563      //
     564      this.yAxisSecondaryMinimumFixedRadioButton.AutoSize = true;
     565      this.yAxisSecondaryMinimumFixedRadioButton.Location = new System.Drawing.Point(70, 3);
     566      this.yAxisSecondaryMinimumFixedRadioButton.Name = "yAxisSecondaryMinimumFixedRadioButton";
     567      this.yAxisSecondaryMinimumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     568      this.yAxisSecondaryMinimumFixedRadioButton.TabIndex = 1;
     569      this.yAxisSecondaryMinimumFixedRadioButton.TabStop = true;
     570      this.yAxisSecondaryMinimumFixedRadioButton.Text = "Fixed";
     571      this.yAxisSecondaryMinimumFixedRadioButton.UseVisualStyleBackColor = true;
     572      this.yAxisSecondaryMinimumFixedRadioButton.CheckedChanged += new System.EventHandler(this.yAxisSecondaryMinimumRadioButton_CheckedChanged);
     573      //
     574      // yAxisSecondaryMinimumAutoRadioButton
     575      //
     576      this.yAxisSecondaryMinimumAutoRadioButton.AutoSize = true;
     577      this.yAxisSecondaryMinimumAutoRadioButton.Location = new System.Drawing.Point(4, 3);
     578      this.yAxisSecondaryMinimumAutoRadioButton.Name = "yAxisSecondaryMinimumAutoRadioButton";
     579      this.yAxisSecondaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     580      this.yAxisSecondaryMinimumAutoRadioButton.TabIndex = 0;
     581      this.yAxisSecondaryMinimumAutoRadioButton.TabStop = true;
     582      this.yAxisSecondaryMinimumAutoRadioButton.Text = "Auto";
     583      this.yAxisSecondaryMinimumAutoRadioButton.UseVisualStyleBackColor = true;
     584      this.yAxisSecondaryMinimumAutoRadioButton.CheckedChanged += new System.EventHandler(this.yAxisSecondaryMinimumRadioButton_CheckedChanged);
     585      //
     586      // yAxisPrimaryGroupBox
     587      //
     588      this.yAxisPrimaryGroupBox.Controls.Add(this.label7);
     589      this.yAxisPrimaryGroupBox.Controls.Add(this.yAxisPrimaryTitleTextBox);
     590      this.yAxisPrimaryGroupBox.Controls.Add(this.label8);
     591      this.yAxisPrimaryGroupBox.Controls.Add(this.label1);
     592      this.yAxisPrimaryGroupBox.Controls.Add(this.yAxisPrimaryMaximumPanel);
     593      this.yAxisPrimaryGroupBox.Controls.Add(this.yAxisPrimaryMinimumPanel);
     594      this.yAxisPrimaryGroupBox.Location = new System.Drawing.Point(6, 6);
     595      this.yAxisPrimaryGroupBox.Name = "yAxisPrimaryGroupBox";
     596      this.yAxisPrimaryGroupBox.Size = new System.Drawing.Size(316, 107);
     597      this.yAxisPrimaryGroupBox.TabIndex = 0;
     598      this.yAxisPrimaryGroupBox.TabStop = false;
     599      this.yAxisPrimaryGroupBox.Text = "Primary Axis";
     600      //
     601      // label7
     602      //
     603      this.label7.AutoSize = true;
     604      this.label7.Location = new System.Drawing.Point(4, 77);
     605      this.label7.Name = "label7";
     606      this.label7.Size = new System.Drawing.Size(54, 13);
     607      this.label7.TabIndex = 4;
     608      this.label7.Text = "Maximum:";
     609      //
     610      // label8
     611      //
     612      this.label8.AutoSize = true;
     613      this.label8.Location = new System.Drawing.Point(4, 53);
     614      this.label8.Name = "label8";
     615      this.label8.Size = new System.Drawing.Size(51, 13);
     616      this.label8.TabIndex = 2;
     617      this.label8.Text = "Minimum:";
     618      //
     619      // yAxisPrimaryMaximumPanel
     620      //
     621      this.yAxisPrimaryMaximumPanel.Controls.Add(this.yAxisPrimaryMaximumFixedTextBox);
     622      this.yAxisPrimaryMaximumPanel.Controls.Add(this.yAxisPrimaryMaximumFixedRadioButton);
     623      this.yAxisPrimaryMaximumPanel.Controls.Add(this.yAxisPrimaryMaximumAutoRadioButton);
     624      this.yAxisPrimaryMaximumPanel.Location = new System.Drawing.Point(63, 71);
     625      this.yAxisPrimaryMaximumPanel.Name = "yAxisPrimaryMaximumPanel";
     626      this.yAxisPrimaryMaximumPanel.Size = new System.Drawing.Size(245, 25);
     627      this.yAxisPrimaryMaximumPanel.TabIndex = 5;
     628      //
     629      // yAxisPrimaryMaximumFixedTextBox
     630      //
     631      this.yAxisPrimaryMaximumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     632      this.yAxisPrimaryMaximumFixedTextBox.Name = "yAxisPrimaryMaximumFixedTextBox";
     633      this.yAxisPrimaryMaximumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     634      this.yAxisPrimaryMaximumFixedTextBox.TabIndex = 2;
     635      this.yAxisPrimaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisPrimaryMaximumFixedTextBox_Validating);
     636      //
     637      // yAxisPrimaryMaximumFixedRadioButton
     638      //
     639      this.yAxisPrimaryMaximumFixedRadioButton.AutoSize = true;
     640      this.yAxisPrimaryMaximumFixedRadioButton.Location = new System.Drawing.Point(70, 4);
     641      this.yAxisPrimaryMaximumFixedRadioButton.Name = "yAxisPrimaryMaximumFixedRadioButton";
     642      this.yAxisPrimaryMaximumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     643      this.yAxisPrimaryMaximumFixedRadioButton.TabIndex = 1;
     644      this.yAxisPrimaryMaximumFixedRadioButton.TabStop = true;
     645      this.yAxisPrimaryMaximumFixedRadioButton.Text = "Fixed";
     646      this.yAxisPrimaryMaximumFixedRadioButton.UseVisualStyleBackColor = true;
     647      this.yAxisPrimaryMaximumFixedRadioButton.CheckedChanged += new System.EventHandler(this.yAxisPrimaryMaximumRadioButton_CheckedChanged);
     648      //
     649      // yAxisPrimaryMaximumAutoRadioButton
     650      //
     651      this.yAxisPrimaryMaximumAutoRadioButton.AutoSize = true;
     652      this.yAxisPrimaryMaximumAutoRadioButton.Location = new System.Drawing.Point(4, 4);
     653      this.yAxisPrimaryMaximumAutoRadioButton.Name = "yAxisPrimaryMaximumAutoRadioButton";
     654      this.yAxisPrimaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     655      this.yAxisPrimaryMaximumAutoRadioButton.TabIndex = 0;
     656      this.yAxisPrimaryMaximumAutoRadioButton.TabStop = true;
     657      this.yAxisPrimaryMaximumAutoRadioButton.Text = "Auto";
     658      this.yAxisPrimaryMaximumAutoRadioButton.UseVisualStyleBackColor = true;
     659      this.yAxisPrimaryMaximumAutoRadioButton.CheckedChanged += new System.EventHandler(this.yAxisPrimaryMaximumRadioButton_CheckedChanged);
     660      //
     661      // yAxisPrimaryMinimumPanel
     662      //
     663      this.yAxisPrimaryMinimumPanel.Controls.Add(this.yAxisPrimaryMinimumFixedTextBox);
     664      this.yAxisPrimaryMinimumPanel.Controls.Add(this.yAxisPrimaryMinimumFixedRadioButton);
     665      this.yAxisPrimaryMinimumPanel.Controls.Add(this.yAxisPrimaryMinimumAutoRadioButton);
     666      this.yAxisPrimaryMinimumPanel.Location = new System.Drawing.Point(63, 47);
     667      this.yAxisPrimaryMinimumPanel.Name = "yAxisPrimaryMinimumPanel";
     668      this.yAxisPrimaryMinimumPanel.Size = new System.Drawing.Size(245, 25);
     669      this.yAxisPrimaryMinimumPanel.TabIndex = 3;
     670      //
     671      // yAxisPrimaryMinimumFixedTextBox
     672      //
     673      this.yAxisPrimaryMinimumFixedTextBox.Location = new System.Drawing.Point(126, 2);
     674      this.yAxisPrimaryMinimumFixedTextBox.Name = "yAxisPrimaryMinimumFixedTextBox";
     675      this.yAxisPrimaryMinimumFixedTextBox.Size = new System.Drawing.Size(117, 20);
     676      this.yAxisPrimaryMinimumFixedTextBox.TabIndex = 2;
     677      this.yAxisPrimaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisPrimaryMinimumFixedTextBox_Validating);
     678      //
     679      // yAxisPrimaryMinimumFixedRadioButton
     680      //
     681      this.yAxisPrimaryMinimumFixedRadioButton.AutoSize = true;
     682      this.yAxisPrimaryMinimumFixedRadioButton.Location = new System.Drawing.Point(70, 3);
     683      this.yAxisPrimaryMinimumFixedRadioButton.Name = "yAxisPrimaryMinimumFixedRadioButton";
     684      this.yAxisPrimaryMinimumFixedRadioButton.Size = new System.Drawing.Size(50, 17);
     685      this.yAxisPrimaryMinimumFixedRadioButton.TabIndex = 1;
     686      this.yAxisPrimaryMinimumFixedRadioButton.TabStop = true;
     687      this.yAxisPrimaryMinimumFixedRadioButton.Text = "Fixed";
     688      this.yAxisPrimaryMinimumFixedRadioButton.UseVisualStyleBackColor = true;
     689      this.yAxisPrimaryMinimumFixedRadioButton.CheckedChanged += new System.EventHandler(this.yAxisPrimaryMinimumRadioButton_CheckedChanged);
     690      //
     691      // yAxisPrimaryMinimumAutoRadioButton
     692      //
     693      this.yAxisPrimaryMinimumAutoRadioButton.AutoSize = true;
     694      this.yAxisPrimaryMinimumAutoRadioButton.Location = new System.Drawing.Point(4, 3);
     695      this.yAxisPrimaryMinimumAutoRadioButton.Name = "yAxisPrimaryMinimumAutoRadioButton";
     696      this.yAxisPrimaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
     697      this.yAxisPrimaryMinimumAutoRadioButton.TabIndex = 0;
     698      this.yAxisPrimaryMinimumAutoRadioButton.TabStop = true;
     699      this.yAxisPrimaryMinimumAutoRadioButton.Text = "Auto";
     700      this.yAxisPrimaryMinimumAutoRadioButton.UseVisualStyleBackColor = true;
     701      this.yAxisPrimaryMinimumAutoRadioButton.CheckedChanged += new System.EventHandler(this.yAxisPrimaryMinimumRadioButton_CheckedChanged);
     702      //
     703      // errorProvider
     704      //
     705      this.errorProvider.ContainerControl = this;
    153706      //
    154707      // DataTableVisualPropertiesControl
     
    156709      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    157710      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    158       this.Controls.Add(this.axisTitlesGroupBox);
     711      this.Controls.Add(this.axisTabControl);
    159712      this.Name = "DataTableVisualPropertiesControl";
    160       this.Size = new System.Drawing.Size(320, 133);
    161       this.axisTitlesGroupBox.ResumeLayout(false);
    162       this.axisTitlesGroupBox.PerformLayout();
     713      this.Size = new System.Drawing.Size(336, 257);
     714      this.xAxisPrimaryGroupBox.ResumeLayout(false);
     715      this.xAxisPrimaryGroupBox.PerformLayout();
     716      this.xAxisPrimaryMaximumPanel.ResumeLayout(false);
     717      this.xAxisPrimaryMaximumPanel.PerformLayout();
     718      this.xAxisPrimaryMinimumPanel.ResumeLayout(false);
     719      this.xAxisPrimaryMinimumPanel.PerformLayout();
     720      this.xAxisSecondaryGroupBox.ResumeLayout(false);
     721      this.xAxisSecondaryGroupBox.PerformLayout();
     722      this.xAxisSecondaryMaximumPanel.ResumeLayout(false);
     723      this.xAxisSecondaryMaximumPanel.PerformLayout();
     724      this.xAxisSecondaryMinimumPanel.ResumeLayout(false);
     725      this.xAxisSecondaryMinimumPanel.PerformLayout();
     726      this.axisTabControl.ResumeLayout(false);
     727      this.xAxisTabPage.ResumeLayout(false);
     728      this.yAxisTabPage.ResumeLayout(false);
     729      this.yAxisSecondaryGroupBox.ResumeLayout(false);
     730      this.yAxisSecondaryGroupBox.PerformLayout();
     731      this.yAxisSecondaryMaximumPanel.ResumeLayout(false);
     732      this.yAxisSecondaryMaximumPanel.PerformLayout();
     733      this.yAxisSecondaryMinimumPanel.ResumeLayout(false);
     734      this.yAxisSecondaryMinimumPanel.PerformLayout();
     735      this.yAxisPrimaryGroupBox.ResumeLayout(false);
     736      this.yAxisPrimaryGroupBox.PerformLayout();
     737      this.yAxisPrimaryMaximumPanel.ResumeLayout(false);
     738      this.yAxisPrimaryMaximumPanel.PerformLayout();
     739      this.yAxisPrimaryMinimumPanel.ResumeLayout(false);
     740      this.yAxisPrimaryMinimumPanel.PerformLayout();
     741      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    163742      this.ResumeLayout(false);
    164743
     
    168747
    169748    private System.Windows.Forms.Label label1;
    170     private System.Windows.Forms.TextBox yPrimaryTextBox;
    171     private System.Windows.Forms.TextBox xPrimaryTextBox;
    172     private System.Windows.Forms.TextBox xSecondaryTextBox;
    173     private System.Windows.Forms.GroupBox axisTitlesGroupBox;
    174     private System.Windows.Forms.TextBox ySecondaryTextBox;
     749    private System.Windows.Forms.TextBox yAxisPrimaryTitleTextBox;
     750    private System.Windows.Forms.TextBox yAxisSecondaryTitleTextBox;
    175751    private System.Windows.Forms.Label label4;
    176     private System.Windows.Forms.Label label2;
    177     private System.Windows.Forms.Label label3;
     752    private System.Windows.Forms.GroupBox xAxisPrimaryGroupBox;
     753    private System.Windows.Forms.Label label12;
     754    private System.Windows.Forms.Label label9;
     755    private System.Windows.Forms.TextBox xAxisPrimaryTitleTextBox;
     756    private System.Windows.Forms.Label label11;
     757    private System.Windows.Forms.Panel xAxisPrimaryMaximumPanel;
     758    private System.Windows.Forms.TextBox xAxisPrimaryMaximumFixedTextBox;
     759    private System.Windows.Forms.RadioButton xAxisPrimaryMaximumFixedRadioButton;
     760    private System.Windows.Forms.RadioButton xAxisPrimaryMaximumAutoRadioButton;
     761    private System.Windows.Forms.Panel xAxisPrimaryMinimumPanel;
     762    private System.Windows.Forms.TextBox xAxisPrimaryMinimumFixedTextBox;
     763    private System.Windows.Forms.RadioButton xAxisPrimaryMinimumFixedRadioButton;
     764    private System.Windows.Forms.RadioButton xAxisPrimaryMinimumAutoRadioButton;
     765    private System.Windows.Forms.GroupBox xAxisSecondaryGroupBox;
     766    private System.Windows.Forms.Label label10;
     767    private System.Windows.Forms.TextBox xAxisSecondaryTitleTextBox;
     768    private System.Windows.Forms.Label label5;
     769    private System.Windows.Forms.Label label6;
     770    private System.Windows.Forms.Panel xAxisSecondaryMaximumPanel;
     771    private System.Windows.Forms.TextBox xAxisSecondaryMaximumFixedTextBox;
     772    private System.Windows.Forms.RadioButton xAxisSecondaryMaximumFixedRadioButton;
     773    private System.Windows.Forms.RadioButton xAxisSecondaryMaximumAutoRadioButton;
     774    private System.Windows.Forms.Panel xAxisSecondaryMinimumPanel;
     775    private System.Windows.Forms.TextBox xAxisSecondaryMinimumFixedTextBox;
     776    private System.Windows.Forms.RadioButton xAxisSecondaryMinimumFixedRadioButton;
     777    private System.Windows.Forms.RadioButton xAxisSecondaryMinimumAutoRadioButton;
     778    private System.Windows.Forms.TabControl axisTabControl;
     779    private System.Windows.Forms.TabPage xAxisTabPage;
     780    private System.Windows.Forms.TabPage yAxisTabPage;
     781    private System.Windows.Forms.GroupBox yAxisSecondaryGroupBox;
     782    private System.Windows.Forms.Label label13;
     783    private System.Windows.Forms.Label label14;
     784    private System.Windows.Forms.Panel yAxisSecondaryMaximumPanel;
     785    private System.Windows.Forms.TextBox yAxisSecondaryMaximumFixedTextBox;
     786    private System.Windows.Forms.RadioButton yAxisSecondaryMaximumFixedRadioButton;
     787    private System.Windows.Forms.RadioButton yAxisSecondaryMaximumAutoRadioButton;
     788    private System.Windows.Forms.Panel yAxisSecondaryMinimumPanel;
     789    private System.Windows.Forms.TextBox yAxisSecondaryMinimumFixedTextBox;
     790    private System.Windows.Forms.RadioButton yAxisSecondaryMinimumFixedRadioButton;
     791    private System.Windows.Forms.RadioButton yAxisSecondaryMinimumAutoRadioButton;
     792    private System.Windows.Forms.GroupBox yAxisPrimaryGroupBox;
     793    private System.Windows.Forms.Label label7;
     794    private System.Windows.Forms.Label label8;
     795    private System.Windows.Forms.Panel yAxisPrimaryMaximumPanel;
     796    private System.Windows.Forms.TextBox yAxisPrimaryMaximumFixedTextBox;
     797    private System.Windows.Forms.RadioButton yAxisPrimaryMaximumFixedRadioButton;
     798    private System.Windows.Forms.RadioButton yAxisPrimaryMaximumAutoRadioButton;
     799    private System.Windows.Forms.Panel yAxisPrimaryMinimumPanel;
     800    private System.Windows.Forms.TextBox yAxisPrimaryMinimumFixedTextBox;
     801    private System.Windows.Forms.RadioButton yAxisPrimaryMinimumFixedRadioButton;
     802    private System.Windows.Forms.RadioButton yAxisPrimaryMinimumAutoRadioButton;
     803    private System.Windows.Forms.ErrorProvider errorProvider;
    178804  }
    179805}
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.cs

    r6012 r6014  
    4747      try {
    4848        if (Content == null) {
    49           yPrimaryTextBox.Text = string.Empty;
    50           ySecondaryTextBox.Text = string.Empty;
    51           xPrimaryTextBox.Text = string.Empty;
    52           xSecondaryTextBox.Text = string.Empty;
    53         } else {
    54           yPrimaryTextBox.Text = Content.YAxisTitle;
    55           ySecondaryTextBox.Text = Content.SecondYAxisTitle;
    56           xPrimaryTextBox.Text = Content.XAxisTitle;
    57           xSecondaryTextBox.Text = Content.SecondXAxisTitle;
     49          xAxisPrimaryTitleTextBox.Text = string.Empty;
     50          xAxisPrimaryMinimumAutoRadioButton.Checked = false;
     51          xAxisPrimaryMinimumFixedRadioButton.Checked = false;
     52          xAxisPrimaryMinimumFixedTextBox.Text = string.Empty;
     53          xAxisPrimaryMaximumAutoRadioButton.Checked = false;
     54          xAxisPrimaryMaximumFixedRadioButton.Checked = false;
     55          xAxisPrimaryMaximumFixedTextBox.Text = string.Empty;
     56          xAxisSecondaryTitleTextBox.Text = string.Empty;
     57          xAxisSecondaryMinimumAutoRadioButton.Checked = false;
     58          xAxisSecondaryMinimumFixedRadioButton.Checked = false;
     59          xAxisSecondaryMinimumFixedTextBox.Text = string.Empty;
     60          xAxisSecondaryMaximumAutoRadioButton.Checked = false;
     61          xAxisSecondaryMaximumFixedRadioButton.Checked = false;
     62          xAxisSecondaryMaximumFixedTextBox.Text = string.Empty;
     63
     64          yAxisPrimaryTitleTextBox.Text = string.Empty;
     65          yAxisPrimaryMinimumAutoRadioButton.Checked = false;
     66          yAxisPrimaryMinimumFixedRadioButton.Checked = false;
     67          yAxisPrimaryMinimumFixedTextBox.Text = string.Empty;
     68          yAxisPrimaryMaximumAutoRadioButton.Checked = false;
     69          yAxisPrimaryMaximumFixedRadioButton.Checked = false;
     70          yAxisPrimaryMaximumFixedTextBox.Text = string.Empty;
     71          yAxisSecondaryTitleTextBox.Text = string.Empty;
     72          yAxisSecondaryMinimumAutoRadioButton.Checked = false;
     73          yAxisSecondaryMinimumFixedRadioButton.Checked = false;
     74          yAxisSecondaryMinimumFixedTextBox.Text = string.Empty;
     75          yAxisSecondaryMaximumAutoRadioButton.Checked = false;
     76          yAxisSecondaryMaximumFixedRadioButton.Checked = false;
     77          yAxisSecondaryMaximumFixedTextBox.Text = string.Empty;
     78        } else {
     79          xAxisPrimaryTitleTextBox.Text = Content.XAxisTitle;
     80          xAxisPrimaryMinimumAutoRadioButton.Checked = Content.XAxisMinimumAuto;
     81          xAxisPrimaryMinimumFixedRadioButton.Checked = !Content.XAxisMinimumAuto;
     82          xAxisPrimaryMinimumFixedTextBox.Text = Content.XAxisMinimumFixedValue.ToString();
     83          xAxisPrimaryMaximumAutoRadioButton.Checked = Content.XAxisMaximumAuto;
     84          xAxisPrimaryMaximumFixedRadioButton.Checked = !Content.XAxisMaximumAuto;
     85          xAxisPrimaryMaximumFixedTextBox.Text = Content.XAxisMaximumFixedValue.ToString();
     86          xAxisSecondaryTitleTextBox.Text = Content.SecondXAxisTitle;
     87          xAxisSecondaryMinimumAutoRadioButton.Checked = Content.SecondXAxisMinimumAuto;
     88          xAxisSecondaryMinimumFixedRadioButton.Checked = !Content.SecondXAxisMinimumAuto;
     89          xAxisSecondaryMinimumFixedTextBox.Text = Content.SecondXAxisMinimumFixedValue.ToString();
     90          xAxisSecondaryMaximumAutoRadioButton.Checked = Content.SecondXAxisMaximumAuto;
     91          xAxisSecondaryMaximumFixedRadioButton.Checked = !Content.SecondXAxisMaximumAuto;
     92          xAxisSecondaryMaximumFixedTextBox.Text = Content.SecondXAxisMaximumFixedValue.ToString();
     93
     94          yAxisPrimaryTitleTextBox.Text = Content.YAxisTitle;
     95          yAxisPrimaryMinimumAutoRadioButton.Checked = Content.YAxisMinimumAuto;
     96          yAxisPrimaryMinimumFixedRadioButton.Checked = !Content.YAxisMinimumAuto;
     97          yAxisPrimaryMinimumFixedTextBox.Text = Content.YAxisMinimumFixedValue.ToString();
     98          yAxisPrimaryMaximumAutoRadioButton.Checked = Content.YAxisMaximumAuto;
     99          yAxisPrimaryMaximumFixedRadioButton.Checked = !Content.YAxisMaximumAuto;
     100          yAxisPrimaryMaximumFixedTextBox.Text = Content.YAxisMaximumFixedValue.ToString();
     101          yAxisSecondaryTitleTextBox.Text = Content.SecondYAxisTitle;
     102          yAxisSecondaryMinimumAutoRadioButton.Checked = Content.SecondYAxisMinimumAuto;
     103          yAxisSecondaryMinimumFixedRadioButton.Checked = !Content.SecondYAxisMinimumAuto;
     104          yAxisSecondaryMinimumFixedTextBox.Text = Content.SecondYAxisMinimumFixedValue.ToString();
     105          yAxisSecondaryMaximumAutoRadioButton.Checked = Content.SecondYAxisMaximumAuto;
     106          yAxisSecondaryMaximumFixedRadioButton.Checked = !Content.SecondYAxisMaximumAuto;
     107          yAxisSecondaryMaximumFixedTextBox.Text = Content.SecondYAxisMaximumFixedValue.ToString();
    58108        }
    59109      } finally { SuppressEvents = false; }
     
    62112
    63113    protected virtual void SetEnabledStateOfControls() {
    64       axisTitlesGroupBox.Enabled = Content != null;
     114      axisTabControl.Enabled = Content != null;
     115      xAxisPrimaryMinimumFixedTextBox.Enabled = xAxisPrimaryMinimumFixedRadioButton.Checked;
     116      xAxisPrimaryMaximumFixedTextBox.Enabled = xAxisPrimaryMaximumFixedRadioButton.Checked;
     117      xAxisSecondaryMinimumFixedTextBox.Enabled = xAxisSecondaryMinimumFixedRadioButton.Checked;
     118      xAxisSecondaryMaximumFixedTextBox.Enabled = xAxisSecondaryMaximumFixedRadioButton.Checked;
     119
     120      yAxisPrimaryMinimumFixedTextBox.Enabled = yAxisPrimaryMinimumFixedRadioButton.Checked;
     121      yAxisPrimaryMaximumFixedTextBox.Enabled = yAxisPrimaryMaximumFixedRadioButton.Checked;
     122      yAxisSecondaryMinimumFixedTextBox.Enabled = yAxisSecondaryMinimumFixedRadioButton.Checked;
     123      yAxisSecondaryMaximumFixedTextBox.Enabled = yAxisSecondaryMaximumFixedRadioButton.Checked;
    65124    }
    66125
    67126    #region Event Handlers
    68     private void yPrimaryTextBox_Validated(object sender, System.EventArgs e) {
    69       if (!SuppressEvents && Content != null) {
    70         Content.YAxisTitle = yPrimaryTextBox.Text;
    71       }
    72     }
    73 
    74     private void ySecondaryTextBox_Validated(object sender, System.EventArgs e) {
    75       if (!SuppressEvents && Content != null) {
    76         Content.SecondYAxisTitle = ySecondaryTextBox.Text;
    77       }
    78     }
    79 
    80     private void xPrimaryTextBox_Validated(object sender, System.EventArgs e) {
    81       if (!SuppressEvents && Content != null) {
    82         Content.XAxisTitle = xPrimaryTextBox.Text;
    83       }
    84     }
    85 
    86     private void xSecondaryTextBox_Validated(object sender, System.EventArgs e) {
    87       if (!SuppressEvents && Content != null) {
    88         Content.SecondXAxisTitle = xSecondaryTextBox.Text;
     127    private void yPrimaryTitleTextBox_Validated(object sender, System.EventArgs e) {
     128      if (!SuppressEvents && Content != null) {
     129        Content.YAxisTitle = yAxisPrimaryTitleTextBox.Text;
     130      }
     131    }
     132
     133    private void ySecondaryTitleTextBox_Validated(object sender, System.EventArgs e) {
     134      if (!SuppressEvents && Content != null) {
     135        Content.SecondYAxisTitle = yAxisSecondaryTitleTextBox.Text;
     136      }
     137    }
     138
     139    private void xPrimaryTitleTextBox_Validated(object sender, System.EventArgs e) {
     140      if (!SuppressEvents && Content != null) {
     141        Content.XAxisTitle = xAxisPrimaryTitleTextBox.Text;
     142      }
     143    }
     144
     145    private void xSecondaryTitleTextBox_Validated(object sender, System.EventArgs e) {
     146      if (!SuppressEvents && Content != null) {
     147        Content.SecondXAxisTitle = xAxisSecondaryTitleTextBox.Text;
     148      }
     149    }
     150
     151    private void xAxisPrimaryMinimumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     152      if (!SuppressEvents && Content != null) {
     153        TextBox tb = (TextBox)sender;
     154        double val;
     155        if (double.TryParse(tb.Text, out val)) {
     156          Content.XAxisMinimumFixedValue = val;
     157          errorProvider.SetError(tb, string.Empty);
     158        } else {
     159          errorProvider.SetError(tb, "Not a valid number.");
     160          e.Cancel = true;
     161        }
     162      }
     163    }
     164
     165    private void xAxisPrimaryMaximumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     166      if (!SuppressEvents && Content != null) {
     167        TextBox tb = (TextBox)sender;
     168        double val;
     169        if (double.TryParse(tb.Text, out val)) {
     170          Content.XAxisMaximumFixedValue = val;
     171          errorProvider.SetError(tb, string.Empty);
     172        } else {
     173          errorProvider.SetError(tb, "Not a valid number.");
     174          e.Cancel = true;
     175        }
     176      }
     177    }
     178
     179    private void xAxisSecondaryMinimumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     180      if (!SuppressEvents && Content != null) {
     181        TextBox tb = (TextBox)sender;
     182        double val;
     183        if (double.TryParse(tb.Text, out val)) {
     184          Content.SecondXAxisMinimumFixedValue = val;
     185          errorProvider.SetError(tb, string.Empty);
     186        } else {
     187          errorProvider.SetError(tb, "Not a valid number.");
     188          e.Cancel = true;
     189        }
     190      }
     191    }
     192
     193    private void xAxisSecondaryMaximumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     194      if (!SuppressEvents && Content != null) {
     195        TextBox tb = (TextBox)sender;
     196        double val;
     197        if (double.TryParse(tb.Text, out val)) {
     198          Content.SecondXAxisMaximumFixedValue = val;
     199          errorProvider.SetError(tb, string.Empty);
     200        } else {
     201          errorProvider.SetError(tb, "Not a valid number.");
     202          e.Cancel = true;
     203        }
     204      }
     205    }
     206
     207    private void yAxisPrimaryMinimumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     208      if (!SuppressEvents && Content != null) {
     209        TextBox tb = (TextBox)sender;
     210        double val;
     211        if (double.TryParse(tb.Text, out val)) {
     212          Content.YAxisMinimumFixedValue = val;
     213          errorProvider.SetError(tb, string.Empty);
     214        } else {
     215          errorProvider.SetError(tb, "Not a valid number.");
     216          e.Cancel = true;
     217        }
     218      }
     219    }
     220
     221    private void yAxisPrimaryMaximumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     222      if (!SuppressEvents && Content != null) {
     223        TextBox tb = (TextBox)sender;
     224        double val;
     225        if (double.TryParse(tb.Text, out val)) {
     226          Content.YAxisMaximumFixedValue = val;
     227          errorProvider.SetError(tb, string.Empty);
     228        } else {
     229          errorProvider.SetError(tb, "Not a valid number.");
     230          e.Cancel = true;
     231        }
     232      }
     233    }
     234
     235    private void yAxisSecondaryMinimumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     236      if (!SuppressEvents && Content != null) {
     237        TextBox tb = (TextBox)sender;
     238        double val;
     239        if (double.TryParse(tb.Text, out val)) {
     240          Content.SecondYAxisMinimumFixedValue = val;
     241          errorProvider.SetError(tb, string.Empty);
     242        } else {
     243          errorProvider.SetError(tb, "Not a valid number.");
     244          e.Cancel = true;
     245        }
     246      }
     247    }
     248
     249    private void yAxisSecondaryMaximumFixedTextBox_Validating(object sender, System.ComponentModel.CancelEventArgs e) {
     250      if (!SuppressEvents && Content != null) {
     251        TextBox tb = (TextBox)sender;
     252        double val;
     253        if (double.TryParse(tb.Text, out val)) {
     254          Content.SecondYAxisMaximumFixedValue = val;
     255          errorProvider.SetError(tb, string.Empty);
     256        } else {
     257          errorProvider.SetError(tb, "Not a valid number.");
     258          e.Cancel = true;
     259        }
     260      }
     261    }
     262
     263    private void xAxisPrimaryMinimumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     264      if (!SuppressEvents && Content != null) {
     265        SuppressEvents = true;
     266        try {
     267          Content.XAxisMinimumAuto = xAxisPrimaryMinimumAutoRadioButton.Checked;
     268          if (Content.XAxisMinimumAuto) xAxisPrimaryMinimumFixedTextBox.Text = double.NaN.ToString();
     269        } finally { SuppressEvents = false; }
     270        SetEnabledStateOfControls();
     271      }
     272    }
     273
     274    private void xAxisPrimaryMaximumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     275      if (!SuppressEvents && Content != null) {
     276        SuppressEvents = true;
     277        try {
     278          Content.XAxisMaximumAuto = xAxisPrimaryMaximumAutoRadioButton.Checked;
     279          if (Content.XAxisMaximumAuto) xAxisPrimaryMaximumFixedTextBox.Text = double.NaN.ToString();
     280        } finally { SuppressEvents = false; }
     281        SetEnabledStateOfControls();
     282      }
     283    }
     284
     285    private void xAxisSecondaryMinimumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     286      if (!SuppressEvents && Content != null) {
     287        SuppressEvents = true;
     288        try {
     289          Content.SecondXAxisMinimumAuto = xAxisSecondaryMinimumAutoRadioButton.Checked;
     290          if (Content.SecondXAxisMinimumAuto) xAxisSecondaryMinimumFixedTextBox.Text = double.NaN.ToString();
     291        } finally { SuppressEvents = false; }
     292        SetEnabledStateOfControls();
     293      }
     294    }
     295
     296    private void xAxisSecondaryMaximumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     297      if (!SuppressEvents && Content != null) {
     298        SuppressEvents = true;
     299        try {
     300          Content.SecondXAxisMaximumAuto = xAxisSecondaryMaximumAutoRadioButton.Checked;
     301          if (Content.SecondXAxisMaximumAuto) xAxisSecondaryMaximumFixedTextBox.Text = double.NaN.ToString();
     302        } finally { SuppressEvents = false; }
     303        SetEnabledStateOfControls();
     304      }
     305    }
     306
     307    private void yAxisPrimaryMinimumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     308      if (!SuppressEvents && Content != null) {
     309        SuppressEvents = true;
     310        try {
     311          Content.YAxisMinimumAuto = yAxisPrimaryMinimumAutoRadioButton.Checked;
     312          if (Content.YAxisMinimumAuto) yAxisPrimaryMinimumFixedTextBox.Text = double.NaN.ToString();
     313        } finally { SuppressEvents = false; }
     314        SetEnabledStateOfControls();
     315      }
     316    }
     317
     318    private void yAxisPrimaryMaximumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     319      if (!SuppressEvents && Content != null) {
     320        SuppressEvents = true;
     321        try {
     322          Content.YAxisMaximumAuto = yAxisPrimaryMaximumAutoRadioButton.Checked;
     323          if (Content.YAxisMaximumAuto) yAxisPrimaryMaximumFixedTextBox.Text = double.NaN.ToString();
     324        } finally { SuppressEvents = false; }
     325        SetEnabledStateOfControls();
     326      }
     327    }
     328
     329    private void yAxisSecondaryMinimumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     330      if (!SuppressEvents && Content != null) {
     331        SuppressEvents = true;
     332        try {
     333          Content.SecondYAxisMinimumAuto = yAxisSecondaryMinimumAutoRadioButton.Checked;
     334          if (Content.SecondYAxisMinimumAuto) yAxisSecondaryMinimumFixedTextBox.Text = double.NaN.ToString();
     335        } finally { SuppressEvents = false; }
     336        SetEnabledStateOfControls();
     337      }
     338    }
     339
     340    private void yAxisSecondaryMaximumRadioButton_CheckedChanged(object sender, System.EventArgs e) {
     341      if (!SuppressEvents && Content != null) {
     342        SuppressEvents = true;
     343        try {
     344          Content.SecondYAxisMaximumAuto = yAxisSecondaryMaximumAutoRadioButton.Checked;
     345          if (Content.SecondYAxisMaximumAuto) yAxisSecondaryMaximumFixedTextBox.Text = double.NaN.ToString();
     346        } finally { SuppressEvents = false; }
     347        SetEnabledStateOfControls();
    89348      }
    90349    }
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.resx

    r6012 r6014  
    118118    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
    119119  </resheader>
     120  <metadata name="errorProvider.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     121    <value>17, 17</value>
     122  </metadata>
    120123</root>
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesDialog.Designer.cs

    r6012 r6014  
    6767      this.okButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
    6868      this.okButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    69       this.okButton.Location = new System.Drawing.Point(152, 324);
     69      this.okButton.Location = new System.Drawing.Point(152, 357);
    7070      this.okButton.Name = "okButton";
    7171      this.okButton.Size = new System.Drawing.Size(75, 23);
     
    7979      this.cancelButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
    8080      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    81       this.cancelButton.Location = new System.Drawing.Point(233, 324);
     81      this.cancelButton.Location = new System.Drawing.Point(233, 357);
    8282      this.cancelButton.Name = "cancelButton";
    8383      this.cancelButton.Size = new System.Drawing.Size(75, 23);
     
    9797      this.tabControl.Name = "tabControl";
    9898      this.tabControl.SelectedIndex = 0;
    99       this.tabControl.Size = new System.Drawing.Size(474, 317);
     99      this.tabControl.Size = new System.Drawing.Size(474, 350);
    100100      this.tabControl.TabIndex = 2;
    101101      //
     
    106106      this.seriesTabPage.Name = "seriesTabPage";
    107107      this.seriesTabPage.Padding = new System.Windows.Forms.Padding(3);
    108       this.seriesTabPage.Size = new System.Drawing.Size(466, 291);
     108      this.seriesTabPage.Size = new System.Drawing.Size(466, 324);
    109109      this.seriesTabPage.TabIndex = 0;
    110110      this.seriesTabPage.Text = "Series";
     
    127127      this.splitContainer.Panel2.Controls.Add(this.dataRowVisualPropertiesControl);
    128128      this.splitContainer.Panel2MinSize = 50;
    129       this.splitContainer.Size = new System.Drawing.Size(460, 285);
     129      this.splitContainer.Size = new System.Drawing.Size(460, 318);
    130130      this.splitContainer.SplitterDistance = 125;
    131131      this.splitContainer.TabIndex = 0;
     
    139139      this.seriesListView.Name = "seriesListView";
    140140      this.seriesListView.ShowGroups = false;
    141       this.seriesListView.Size = new System.Drawing.Size(125, 285);
     141      this.seriesListView.Size = new System.Drawing.Size(125, 318);
    142142      this.seriesListView.TabIndex = 0;
    143143      this.seriesListView.UseCompatibleStateImageBehavior = false;
     
    151151      this.chartTabPage.Name = "chartTabPage";
    152152      this.chartTabPage.Padding = new System.Windows.Forms.Padding(3);
    153       this.chartTabPage.Size = new System.Drawing.Size(466, 291);
     153      this.chartTabPage.Size = new System.Drawing.Size(466, 324);
    154154      this.chartTabPage.TabIndex = 1;
    155155      this.chartTabPage.Text = "Chart";
     
    162162      this.dataRowVisualPropertiesControl.Location = new System.Drawing.Point(0, 0);
    163163      this.dataRowVisualPropertiesControl.Name = "dataRowVisualPropertiesControl";
    164       this.dataRowVisualPropertiesControl.Size = new System.Drawing.Size(331, 285);
     164      this.dataRowVisualPropertiesControl.Size = new System.Drawing.Size(331, 318);
    165165      this.dataRowVisualPropertiesControl.TabIndex = 0;
    166166      //
    167167      // dataTableVisualPropertiesControl
    168168      //
     169      this.dataTableVisualPropertiesControl.Content = null;
    169170      this.dataTableVisualPropertiesControl.Dock = System.Windows.Forms.DockStyle.Fill;
    170171      this.dataTableVisualPropertiesControl.Location = new System.Drawing.Point(3, 3);
    171172      this.dataTableVisualPropertiesControl.Name = "dataTableVisualPropertiesControl";
    172       this.dataTableVisualPropertiesControl.Size = new System.Drawing.Size(460, 285);
     173      this.dataTableVisualPropertiesControl.Size = new System.Drawing.Size(460, 318);
    173174      this.dataTableVisualPropertiesControl.TabIndex = 0;
    174175      //
     
    179180      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    180181      this.CancelButton = this.cancelButton;
    181       this.ClientSize = new System.Drawing.Size(475, 359);
     182      this.ClientSize = new System.Drawing.Size(475, 392);
    182183      this.Controls.Add(this.tabControl);
    183184      this.Controls.Add(this.cancelButton);
  • branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs

    r6012 r6014  
    7878    }
    7979
     80    private bool xAxisMinimumAuto;
     81    public bool XAxisMinimumAuto {
     82      get { return xAxisMinimumAuto; }
     83      set {
     84        if (xAxisMinimumAuto != value) {
     85          xAxisMinimumAuto = value;
     86          if (value) xAxisMinimumFixedValue = double.NaN;
     87          OnPropertyChanged("XAxisMinimumAuto");
     88        }
     89      }
     90    }
     91
     92    private bool xAxisMaximumAuto;
     93    public bool XAxisMaximumAuto {
     94      get { return xAxisMaximumAuto; }
     95      set {
     96        if (xAxisMaximumAuto != value) {
     97          xAxisMaximumAuto = value;
     98          if (value) xAxisMaximumFixedValue = double.NaN;
     99          OnPropertyChanged("XAxisMaximumAuto");
     100        }
     101      }
     102    }
     103
     104    private double xAxisMinimumFixedValue;
     105    public double XAxisMinimumFixedValue {
     106      get { return xAxisMinimumFixedValue; }
     107      set {
     108        if (xAxisMinimumFixedValue != value) {
     109          xAxisMinimumFixedValue = value;
     110          OnPropertyChanged("XAxisMinimumFixedValue");
     111        }
     112      }
     113    }
     114
     115    private double xAxisMaximumFixedValue;
     116    public double XAxisMaximumFixedValue {
     117      get { return xAxisMaximumFixedValue; }
     118      set {
     119        if (xAxisMaximumFixedValue != value) {
     120          xAxisMaximumFixedValue = value;
     121          OnPropertyChanged("XAxisMaximumFixedValue");
     122        }
     123      }
     124    }
     125
     126    private bool secondXAxisMinimumAuto;
     127    public bool SecondXAxisMinimumAuto {
     128      get { return secondXAxisMinimumAuto; }
     129      set {
     130        if (secondXAxisMinimumAuto != value) {
     131          secondXAxisMinimumAuto = value;
     132          if (value) secondXAxisMinimumFixedValue = double.NaN;
     133          OnPropertyChanged("SecondXAxisMinimumAuto");
     134        }
     135      }
     136    }
     137
     138    private bool secondXAxisMaximumAuto;
     139    public bool SecondXAxisMaximumAuto {
     140      get { return secondXAxisMaximumAuto; }
     141      set {
     142        if (secondXAxisMaximumAuto != value) {
     143          secondXAxisMaximumAuto = value;
     144          if (value) secondXAxisMaximumFixedValue = double.NaN;
     145          OnPropertyChanged("SecondXAxisMaximumAuto");
     146        }
     147      }
     148    }
     149
     150    private double secondXAxisMinimumFixedValue;
     151    public double SecondXAxisMinimumFixedValue {
     152      get { return secondXAxisMinimumFixedValue; }
     153      set {
     154        if (secondXAxisMinimumFixedValue != value) {
     155          secondXAxisMinimumFixedValue = value;
     156          OnPropertyChanged("SecondXAxisMinimumFixedValue");
     157        }
     158      }
     159    }
     160
     161    private double secondXAxisMaximumFixedValue;
     162    public double SecondXAxisMaximumFixedValue {
     163      get { return secondXAxisMaximumFixedValue; }
     164      set {
     165        if (secondXAxisMaximumFixedValue != value) {
     166          secondXAxisMaximumFixedValue = value;
     167          OnPropertyChanged("SecondXAxisMaximumFixedValue");
     168        }
     169      }
     170    }
     171
     172    private bool yAxisMinimumAuto;
     173    public bool YAxisMinimumAuto {
     174      get { return yAxisMinimumAuto; }
     175      set {
     176        if (yAxisMinimumAuto != value) {
     177          yAxisMinimumAuto = value;
     178          if (value) yAxisMinimumFixedValue = double.NaN;
     179          OnPropertyChanged("YAxisMinimumAuto");
     180        }
     181      }
     182    }
     183
     184    private bool yAxisMaximumAuto;
     185    public bool YAxisMaximumAuto {
     186      get { return yAxisMaximumAuto; }
     187      set {
     188        if (yAxisMaximumAuto != value) {
     189          yAxisMaximumAuto = value;
     190          if (value) yAxisMaximumFixedValue = double.NaN;
     191          OnPropertyChanged("YAxisMaximumAuto");
     192        }
     193      }
     194    }
     195
     196    private double yAxisMinimumFixedValue;
     197    public double YAxisMinimumFixedValue {
     198      get { return yAxisMinimumFixedValue; }
     199      set {
     200        if (yAxisMinimumFixedValue != value) {
     201          yAxisMinimumFixedValue = value;
     202          OnPropertyChanged("YAxisMinimumFixedValue");
     203        }
     204      }
     205    }
     206
     207    private double yAxisMaximumFixedValue;
     208    public double YAxisMaximumFixedValue {
     209      get { return yAxisMaximumFixedValue; }
     210      set {
     211        if (yAxisMaximumFixedValue != value) {
     212          yAxisMaximumFixedValue = value;
     213          OnPropertyChanged("YAxisMaximumFixedValue");
     214        }
     215      }
     216    }
     217
     218    private bool secondYAxisMinimumAuto;
     219    public bool SecondYAxisMinimumAuto {
     220      get { return secondYAxisMinimumAuto; }
     221      set {
     222        if (secondYAxisMinimumAuto != value) {
     223          secondYAxisMinimumAuto = value;
     224          if (value) secondYAxisMinimumFixedValue = double.NaN;
     225          OnPropertyChanged("SecondYAxisMinimumAuto");
     226        }
     227      }
     228    }
     229
     230    private bool secondYAxisMaximumAuto;
     231    public bool SecondYAxisMaximumAuto {
     232      get { return secondYAxisMaximumAuto; }
     233      set {
     234        if (secondYAxisMaximumAuto != value) {
     235          secondYAxisMaximumAuto = value;
     236          if (value) secondYAxisMaximumFixedValue = double.NaN;
     237          OnPropertyChanged("SecondYAxisMaximumAuto");
     238        }
     239      }
     240    }
     241
     242    private double secondYAxisMinimumFixedValue;
     243    public double SecondYAxisMinimumFixedValue {
     244      get { return secondYAxisMinimumFixedValue; }
     245      set {
     246        if (secondYAxisMinimumFixedValue != value) {
     247          secondYAxisMinimumFixedValue = value;
     248          OnPropertyChanged("SecondYAxisMinimumFixedValue");
     249        }
     250      }
     251    }
     252
     253    private double secondYAxisMaximumFixedValue;
     254    public double SecondYAxisMaximumFixedValue {
     255      get { return secondYAxisMaximumFixedValue; }
     256      set {
     257        if (secondYAxisMaximumFixedValue != value) {
     258          secondYAxisMaximumFixedValue = value;
     259          OnPropertyChanged("SecondYAxisMaximumFixedValue");
     260        }
     261      }
     262    }
     263
    80264    #region Persistence Properties
    81265    [Storable(Name = "XAxisTitle")]
     
    98282      get { return secondYAxisTitle; }
    99283      set { secondYAxisTitle = value; }
     284    }
     285    [Storable(Name = "XAxisMinimumAuto")]
     286    private bool StorableXAxisMinimumAuto {
     287      get { return xAxisMinimumAuto; }
     288      set { xAxisMinimumAuto = value; }
     289    }
     290    [Storable(Name = "XAxisMaximumAuto")]
     291    private bool StorableXAxisMaximumAuto {
     292      get { return xAxisMaximumAuto; }
     293      set { xAxisMaximumAuto = value; }
     294    }
     295    [Storable(Name = "XAxisMinimumFixedValue")]
     296    private double StorableXAxisMinimumFixedValue {
     297      get { return xAxisMinimumFixedValue; }
     298      set { xAxisMinimumFixedValue = value; }
     299    }
     300    [Storable(Name = "XAxisMaximumFixedValue")]
     301    private double StorableXAxisMaximumFixedValue {
     302      get { return xAxisMaximumFixedValue; }
     303      set { xAxisMaximumFixedValue = value; }
     304    }
     305    [Storable(Name = "SecondXAxisMinimumAuto")]
     306    private bool StorableSecondXAxisMinimumAuto {
     307      get { return secondXAxisMinimumAuto; }
     308      set { secondXAxisMinimumAuto = value; }
     309    }
     310    [Storable(Name = "SecondXAxisMaximumAuto")]
     311    private bool StorableSecondXAxisMaximumAuto {
     312      get { return secondXAxisMaximumAuto; }
     313      set { secondXAxisMaximumAuto = value; }
     314    }
     315    [Storable(Name = "SecondXAxisMinimumFixedValue")]
     316    private double StorableSecondXAxisMinimumFixedValue {
     317      get { return secondXAxisMinimumFixedValue; }
     318      set { secondXAxisMinimumFixedValue = value; }
     319    }
     320    [Storable(Name = "SecondXAxisMaximumFixedValue")]
     321    private double StorableSecondXAxisMaximumFixedValue {
     322      get { return secondXAxisMaximumFixedValue; }
     323      set { secondXAxisMaximumFixedValue = value; }
     324    }
     325    [Storable(Name = "YAxisMinimumAuto")]
     326    private bool StorableYAxisMinimumAuto {
     327      get { return yAxisMinimumAuto; }
     328      set { yAxisMinimumAuto = value; }
     329    }
     330    [Storable(Name = "YAxisMaximumAuto")]
     331    private bool StorableYAxisMaximumAuto {
     332      get { return yAxisMaximumAuto; }
     333      set { yAxisMaximumAuto = value; }
     334    }
     335    [Storable(Name = "YAxisMinimumFixedValue")]
     336    private double StorableYAxisMinimumFixedValue {
     337      get { return yAxisMinimumFixedValue; }
     338      set { yAxisMinimumFixedValue = value; }
     339    }
     340    [Storable(Name = "YAxisMaximumFixedValue")]
     341    private double StorableYAxisMaximumFixedValue {
     342      get { return yAxisMaximumFixedValue; }
     343      set { yAxisMaximumFixedValue = value; }
     344    }
     345    [Storable(Name = "SecondYAxisMinimumAuto")]
     346    private bool StorableSecondYAxisMinimumAuto {
     347      get { return secondYAxisMinimumAuto; }
     348      set { secondYAxisMinimumAuto = value; }
     349    }
     350    [Storable(Name = "SecondYAxisMaximumAuto")]
     351    private bool StorableSecondYAxisMaximumAuto {
     352      get { return secondYAxisMaximumAuto; }
     353      set { secondYAxisMaximumAuto = value; }
     354    }
     355    [Storable(Name = "SecondYAxisMinimumFixedValue")]
     356    private double StorableSecondYAxisMinimumFixedValue {
     357      get { return secondYAxisMinimumFixedValue; }
     358      set { secondYAxisMinimumFixedValue = value; }
     359    }
     360    [Storable(Name = "SecondYAxisMaximumFixedValue")]
     361    private double StorableSecondYAxisMaximumFixedValue {
     362      get { return secondYAxisMaximumFixedValue; }
     363      set { secondYAxisMaximumFixedValue = value; }
    100364    }
    101365    #endregion
     
    109373      this.secondXAxisTitle = original.secondXAxisTitle;
    110374      this.secondYAxisTitle = original.secondYAxisTitle;
     375      this.xAxisMinimumAuto = original.xAxisMinimumAuto;
     376      this.xAxisMinimumFixedValue = original.xAxisMinimumFixedValue;
     377      this.xAxisMaximumAuto = original.xAxisMaximumAuto;
     378      this.xAxisMaximumFixedValue = original.xAxisMaximumFixedValue;
     379      this.secondXAxisMinimumAuto = original.secondXAxisMinimumAuto;
     380      this.secondXAxisMinimumFixedValue = original.secondXAxisMinimumFixedValue;
     381      this.secondXAxisMaximumAuto = original.secondXAxisMaximumAuto;
     382      this.secondXAxisMaximumFixedValue = original.secondXAxisMaximumFixedValue;
     383      this.yAxisMinimumAuto = original.yAxisMinimumAuto;
     384      this.yAxisMinimumFixedValue = original.yAxisMinimumFixedValue;
     385      this.yAxisMaximumAuto = original.yAxisMaximumAuto;
     386      this.yAxisMaximumFixedValue = original.yAxisMaximumFixedValue;
     387      this.secondYAxisMinimumAuto = original.secondYAxisMinimumAuto;
     388      this.secondYAxisMinimumFixedValue = original.secondYAxisMinimumFixedValue;
     389      this.secondYAxisMaximumAuto = original.secondYAxisMaximumAuto;
     390      this.secondYAxisMaximumFixedValue = original.secondYAxisMaximumFixedValue;
    111391    }
    112392    public DataTableVisualProperties() {
     
    115395      this.secondXAxisTitle = string.Empty;
    116396      this.secondYAxisTitle = string.Empty;
     397      this.xAxisMinimumAuto = true;
     398      this.xAxisMinimumFixedValue = double.NaN;
     399      this.xAxisMaximumAuto = true;
     400      this.xAxisMaximumFixedValue = double.NaN;
     401      this.secondXAxisMinimumAuto = true;
     402      this.secondXAxisMinimumFixedValue = double.NaN;
     403      this.secondXAxisMaximumAuto = true;
     404      this.secondXAxisMaximumFixedValue = double.NaN;
     405      this.yAxisMinimumAuto = true;
     406      this.yAxisMinimumFixedValue = double.NaN;
     407      this.yAxisMaximumAuto = true;
     408      this.yAxisMaximumFixedValue = double.NaN;
     409      this.secondYAxisMinimumAuto = true;
     410      this.secondYAxisMinimumFixedValue = double.NaN;
     411      this.secondYAxisMaximumAuto = true;
     412      this.secondYAxisMaximumFixedValue = double.NaN;
    117413    }
    118414
  • branches/histogram/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs

    r6010 r6014  
    2525using System.Windows.Forms;
    2626using System.Windows.Forms.DataVisualization.Charting;
     27using HeuristicLab.Common.Resources;
    2728
    2829namespace HeuristicLab.Visualization.ChartControlsExtensions {
     
    3132      : base() {
    3233      InitializeComponent();
     34      propertiesToolStripMenuItem.Image = VSImageLibrary.Properties;
    3335      EnableDoubleClickResetsZoom = true;
    3436      EnableMiddleClickPanning = true;
  • branches/histogram/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj

    r6010 r6014  
    136136  </ItemGroup>
    137137  <ItemGroup>
     138    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
     139      <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
     140      <Name>HeuristicLab.Common.Resources-3.3</Name>
     141    </ProjectReference>
    138142    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    139143      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
  • branches/histogram/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HeuristicLabVisualizationChartControlsExtensionsPlugin.cs.frame

    r5446 r6014  
    2828  [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3.3.$WCREV$")]
    2929  [PluginFile("HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll", PluginFileType.Assembly)]
     30  [PluginDependency("HeuristicLab.Common.Resources", "3.3")]
    3031  public class HeuristicLabVisualizationChartControlsExtensionsPlugin : PluginBase { }
    3132}
Note: See TracChangeset for help on using the changeset viewer.