Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/19/11 10:52:34 (13 years ago)
Author:
mkommend
Message:

#1413: Removed bug regarding the axis value change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs

    r5976 r6026  
    432432
    433433    #region Drag & drop and tooltip
    434     private void chart_DoubleClick(object sender, MouseEventArgs e) {
     434    private void chart_MouseDoubleClick(object sender, MouseEventArgs e) {
    435435      HitTestResult h = this.chart.HitTest(e.X, e.Y);
    436436      if (h.ChartElementType == ChartElementType.DataPoint) {
     
    441441          view.Locked = this.Locked;
    442442        }
    443         this.chart.ChartAreas[0].CursorX.SetSelectionPosition(double.NaN, double.NaN);
    444         this.chart.ChartAreas[0].CursorY.SetSelectionPosition(double.NaN, double.NaN);
     443
     444        this.chart.ChartAreas[0].CursorX.SelectionStart = this.chart.ChartAreas[0].CursorX.SelectionEnd;
     445        this.chart.ChartAreas[0].CursorY.SelectionStart = this.chart.ChartAreas[0].CursorY.SelectionEnd;
    445446      }
    446447    }
Note: See TracChangeset for help on using the changeset viewer.