- Timestamp:
- 04/19/19 10:07:53 (6 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/branches/2947_ConfigurableIndexedDataTable (added) merged: 16148-16150,16156,16520,16524 /trunk merged: 16527
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Analysis.Views/3.3/ScatterPlotView.cs
r15584 r16838 40 40 protected Dictionary<Series, Series> seriesToRegressionSeriesTable; 41 41 private double xMin, xMax, yMin, yMax; 42 protected bool showChartOnly = false; 42 43 43 44 public new ScatterPlot Content { … … 46 47 } 47 48 48 public bool Show Name{49 get { return nameTextBox.Visible; }49 public bool ShowChartOnly { 50 get { return showChartOnly; } 50 51 set { 51 if (nameTextBox.Visible != value) { 52 foreach (Control c in Controls) { 53 if (c == chart) continue; 54 c.Visible = value; 55 } 56 chart.Dock = value ? DockStyle.None : DockStyle.Fill; 52 if (showChartOnly != value) { 53 showChartOnly = value; 54 UpdateControlsVisibility(); 57 55 } 58 56 } … … 137 135 } 138 136 } else MessageBox.Show("Nothing to configure."); 137 } 138 139 protected void UpdateControlsVisibility() { 140 if (InvokeRequired) 141 Invoke(new Action(UpdateControlsVisibility)); 142 else { 143 foreach (Control c in Controls) { 144 if (c == chart) continue; 145 c.Visible = !showChartOnly; 146 } 147 chart.Dock = showChartOnly ? DockStyle.Fill : DockStyle.None; 148 } 139 149 } 140 150
Note: See TracChangeset
for help on using the changeset viewer.