Changeset 4635 for trunk/sources/HeuristicLab.Optimization.Views
- Timestamp:
- 10/21/10 11:37:51 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj
r4104 r4635 289 289 <Name>HeuristicLab.PluginInfrastructure-3.3</Name> 290 290 </ProjectReference> 291 <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj"> 292 <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project> 293 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name> 294 </ProjectReference> 291 295 </ItemGroup> 292 296 <ItemGroup> -
trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLabOptimizationViewsPlugin.cs.frame
r4633 r4635 38 38 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 39 39 [PluginDependency("HeuristicLab.Optimization", "3.3")] 40 [PluginDependency("HeuristicLab.Visualization.ChartControlsExtensions","3.3")] 40 41 public class HeuristicLabOptimizationViewsPlugin : PluginBase { 41 42 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.Designer.cs
r4094 r4635 58 58 this.sizeComboBox = new System.Windows.Forms.ComboBox(); 59 59 this.sizeLabel = new System.Windows.Forms.Label(); 60 this.chart = new System.Windows.Forms.DataVisualization.Charting.Chart();60 this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart(); 61 61 this.zoomButton = new System.Windows.Forms.RadioButton(); 62 62 this.selectButton = new System.Windows.Forms.RadioButton(); … … 309 309 private System.Windows.Forms.ComboBox sizeComboBox; 310 310 private System.Windows.Forms.Label sizeLabel; 311 private System.Windows.Forms.DataVisualization.Charting.Chart chart;311 private HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart chart; 312 312 private System.Windows.Forms.RadioButton zoomButton; 313 313 private System.Windows.Forms.RadioButton selectButton; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r4212 r4635 54 54 InitializeComponent(); 55 55 56 this.categoricalMapping = new Dictionary<int, Dictionary<object, double>>(); 57 this.xJitter = new Dictionary<IRun, double>(); 58 this.yJitter = new Dictionary<IRun, double>(); 59 this.random = new Random(); 60 this.colorDialog.Color = Color.Black; 61 this.colorButton.Image = this.GenerateImage(16, 16, this.colorDialog.Color); 62 this.isSelecting = false; 63 64 this.chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 65 this.chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 66 this.chart.ChartAreas[0].CursorX.Interval = 1; 67 this.chart.ChartAreas[0].CursorY.Interval = 1; 68 this.chart.ChartAreas[0].AxisX.ScaleView.Zoomable = !this.isSelecting; 69 this.chart.ChartAreas[0].AxisY.ScaleView.Zoomable = !this.isSelecting; 56 categoricalMapping = new Dictionary<int, Dictionary<object, double>>(); 57 xJitter = new Dictionary<IRun, double>(); 58 yJitter = new Dictionary<IRun, double>(); 59 random = new Random(); 60 colorDialog.Color = Color.Black; 61 colorButton.Image = this.GenerateImage(16, 16, this.colorDialog.Color); 62 isSelecting = false; 63 64 chart.CustomizeChartAreas(); 65 chart.EnableMiddleClickPanning = false; 66 chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; 67 chart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; 68 chart.ChartAreas[0].CursorX.Interval = 1; 69 chart.ChartAreas[0].CursorY.Interval = 1; 70 chart.ChartAreas[0].AxisX.ScaleView.Zoomable = !this.isSelecting; 71 chart.ChartAreas[0].AxisY.ScaleView.Zoomable = !this.isSelecting; 70 72 } 71 73 … … 506 508 SetCustomAxisLabels(xAxis, xAxisComboBox.SelectedIndex - axisDimensionCount); 507 509 SetCustomAxisLabels(yAxis, yAxisComboBox.SelectedIndex - axisDimensionCount); 510 if (xAxisComboBox.SelectedItem != null) 511 xAxis.Title = xAxisComboBox.SelectedItem.ToString(); 512 if (yAxisComboBox.SelectedItem != null) 513 yAxis.Title = yAxisComboBox.SelectedItem.ToString(); 508 514 } 509 515
Note: See TracChangeset
for help on using the changeset viewer.