Changeset 6195 for branches/histogram/HeuristicLab.Optimization.Views
- Timestamp:
- 05/14/11 16:45:46 (13 years ago)
- Location:
- branches/histogram
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
-
branches/histogram/HeuristicLab.Optimization.Views/3.3/HeuristicLabOptimizationViewsPlugin.cs.frame
r5446 r6195 26 26 /// Plugin class for HeuristicLab.Optimization.Views plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Optimization.Views", "3.3. 3.$WCREV$")]28 [Plugin("HeuristicLab.Optimization.Views", "3.3.4.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Optimization.Views-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Collections", "3.3")] -
branches/histogram/HeuristicLab.Optimization.Views/3.3/Properties/AssemblyInfo.frame
r5446 r6195 54 54 // by using the '*' as shown below: 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3. 3.$WCREV$")]56 [assembly: AssemblyFileVersion("3.3.4.$WCREV$")] -
branches/histogram/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r6046 r6195 227 227 series.Points.Clear(); 228 228 runToDataPointMapping.Clear(); 229 230 chart.ChartAreas[0].AxisX.IsMarginVisible = xAxisValue != AxisDimension.Index.ToString(); 231 chart.ChartAreas[0].AxisY.IsMarginVisible = yAxisValue != AxisDimension.Index.ToString(); 232 229 233 if (Content != null) { 230 234 foreach (IRun run in this.Content) … … 433 437 #region Drag & drop and tooltip 434 438 private void chart_MouseDoubleClick(object sender, MouseEventArgs e) { 435 HitTestResult h = this.chart.HitTest(e.X, e.Y );439 HitTestResult h = this.chart.HitTest(e.X, e.Y, ChartElementType.DataPoint); 436 440 if (h.ChartElementType == ChartElementType.DataPoint) { 437 441 IRun run = (IRun)((DataPoint)h.Object).Tag; … … 445 449 this.chart.ChartAreas[0].CursorY.SelectionStart = this.chart.ChartAreas[0].CursorY.SelectionEnd; 446 450 } 451 UpdateAxisLabels(); 447 452 } 448 453 … … 557 562 colorXAxisButton.Enabled = colorYAxisButton.Enabled = axisSelected; 558 563 559 if (!xAxisComboBox.DroppedDown) 560 xAxisValue = (string)xAxisComboBox.SelectedItem; 561 if (!yAxisComboBox.DroppedDown) 562 yAxisValue = (string)yAxisComboBox.SelectedItem; 563 if (!sizeComboBox.DroppedDown) 564 sizeAxisValue = (string)sizeComboBox.SelectedItem; 564 xAxisValue = (string)xAxisComboBox.SelectedItem; 565 yAxisValue = (string)yAxisComboBox.SelectedItem; 566 sizeAxisValue = (string)sizeComboBox.SelectedItem; 565 567 566 568 UpdateDataPoints(); … … 602 604 for (double i = axis.Minimum; i <= axis.Maximum; i += axis.LabelStyle.Interval) { 603 605 TimeSpan time = TimeSpan.FromSeconds(i); 604 string x = string.Format("{0:00}:{1:00}:{2:00}", (int)time.Hours, time.Minutes, time.Seconds);606 string x = string.Format("{0:00}:{1:00}:{2:00}", time.Hours, time.Minutes, time.Seconds); 605 607 axis.CustomLabels.Add(i - axis.LabelStyle.Interval / 2, i + axis.LabelStyle.Interval / 2, x); 606 608 }
Note: See TracChangeset
for help on using the changeset viewer.