- Timestamp:
- 11/16/11 15:07:36 (12 years ago)
- Location:
- branches/Benchmarking
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Benchmarking
- Property svn:mergeinfo changed
/trunk (added) merged: 6918-6919,6921-6923,6928-6930,6933,6935,6938-6939,6942,6944,6949-6954,6959,6961-6964,6974-6983,6985-6986,6993-6995,6997-6999
- Property svn:mergeinfo changed
-
branches/Benchmarking/sources
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 6918-6919,6921-6923,6928-6930,6935,6938-6939,6942,6944,6949-6954,6959,6961-6964,6974-6983,6986,6993-6995,6997-6999
- Property svn:mergeinfo changed
-
branches/Benchmarking/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r6676 r7000 576 576 } 577 577 578 double current = minValue, intervalCenter = intervalWidth / 2.0; 578 var area = chart.ChartAreas[0]; 579 double current = 0.0; 580 if (!Double.IsNaN(Content.VisualProperties.XAxisMinimumFixedValue) && !Content.VisualProperties.XAxisMinimumAuto) 581 current = Content.VisualProperties.XAxisMinimumFixedValue; 582 else current = minValue; 583 584 area.AxisX.Interval = intervalWidth / row.VisualProperties.ScaleFactor; 585 area.AxisX.IntervalOffset = intervalWidth / row.VisualProperties.ScaleFactor; 586 587 series.SetCustomProperty("PointWidth", intervalWidth.ToString()); 588 579 589 int frequency = 0; 580 series.Points.AddXY(current - intervalCenter, 0); // so that the first column is not visually truncated581 590 foreach (double v in row.Values.Where(x => !IsInvalidValue(x)).OrderBy(x => x)) { 582 591 while (v > current + intervalWidth) { 583 series.Points.AddXY(current + interval Center, frequency);592 series.Points.AddXY(current + intervalWidth, frequency); 584 593 current += intervalWidth; 585 594 frequency = 0; … … 587 596 frequency++; 588 597 } 589 series.Points.AddXY(current + intervalCenter, frequency); 590 series.Points.AddXY(current + 3 * intervalCenter, 0); // so that the last column is not visually truncated 598 series.Points.AddXY(current + intervalWidth, frequency); 591 599 } 592 600
Note: See TracChangeset
for help on using the changeset viewer.