- Timestamp:
- 10/25/10 17:03:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs
r4638 r4646 127 127 double y = panning.ChartY(e.Location.Y, Height); 128 128 if (panning.ChartArea.CursorX.Interval > 0) { 129 x = Math.Round(x * panning.ChartArea.CursorX.Interval) /panning.ChartArea.CursorX.Interval;130 y = Math.Round(y * panning.ChartArea.CursorY.Interval) /panning.ChartArea.CursorY.Interval;129 x = Math.Round(x / panning.ChartArea.CursorX.Interval) * panning.ChartArea.CursorX.Interval; 130 y = Math.Round(y / panning.ChartArea.CursorY.Interval) * panning.ChartArea.CursorY.Interval; 131 131 } 132 132 panning.ChartArea.AxisX.ScaleView.Scroll(x);
Note: See TracChangeset
for help on using the changeset viewer.