- Timestamp:
- 05/23/11 15:47:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionLineChartView.cs
r6238 r6252 195 195 stripLine.Text = title; 196 196 stripLine.Font = new Font("Times New Roman", 12, FontStyle.Bold); 197 stripLine.StripWidth = end - start - 1; // strip range is [start .. end] inclusive, but we evaluate [start..end[ (end is exclusive) 198 stripLine.IntervalOffset = start; 197 // strip range is [start .. end] inclusive, but we evaluate [start..end[ (end is exclusive) 198 // the strip should be by one longer (starting at start - 0.5 and ending at end + 0.5) 199 stripLine.StripWidth = end - start; 200 stripLine.IntervalOffset = start - 0.5; // start slightly to the left of the first point to clearly indicate the first point in the partition 199 201 this.chart.ChartAreas[0].AxisX.StripLines.Add(stripLine); 200 202 }
Note: See TracChangeset
for help on using the changeset viewer.