private void OnNearestPointUpdated(double[] yPositions = null)
 {
     lock (_updateLock)
     {
         _lastYPositionsInData = yPositions ?? _lastYPositionsInData;
         NearestPointUpdated?.Invoke(this, new NearestPointSearchInterpolatedArgs(_lastMousePosInData, _lastYPositionsInData));
     }
 }
コード例 #2
0
 private void OnNearestPointUpdated(Point nearestPoint, bool hasLock = false, string nearestLine = null)
 {
     NearestPointUpdated?.Invoke(this, new NearestPointSearchArgs(_lastMousePosInData, nearestPoint, hasLock, nearestLine));
 }