- Timestamp:
- 05/02/11 14:59:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs
r6094 r6096 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) … … 445 449 this.chart.ChartAreas[0].CursorY.SelectionStart = this.chart.ChartAreas[0].CursorY.SelectionEnd; 446 450 } 451 UpdateAxisLabels(); 447 452 } 448 453 … … 560 565 yAxisValue = (string)yAxisComboBox.SelectedItem; 561 566 sizeAxisValue = (string)sizeComboBox.SelectedItem; 562 563 chart.ChartAreas[0].AxisX.IsMarginVisible = xAxisValue != AxisDimension.Index.ToString() ;564 chart.ChartAreas[0].AxisY.IsMarginVisible = yAxisValue != AxisDimension.Index.ToString();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.