S# 4.2.3.7 ошибка при отрисовке данных

S# 4.2.3.7 ошибка при отрисовке данных
Atom
5/29/2014
devruss


S# 4.2.3.7 + Transaq + history (из Гидры). Стартуем стратегию, она подгружает исторические данные и свежие данные из транзака - сразу же вылетает с ошибкой
Code
FindIndex() in not implemented for searchMode Nearest


Code

  at A.c19dd4d74f6373c95c517d29624d76e4b.c32cc6191f96f2b9bc8a50e90f763a9ff(IList ce461ed959a3170de5a3fc58c6ebd1010, Boolean c1444a12ddc521b102b6422d68da618ba, IComparable cfb56fc48a9b17f677c353b5dc6449ee1, SearchMode c8eca9a43bb6ab4cc23a40abaff49c28b)
   at A.c549cb0430271f494fa6b7961f4318f2f.cb5020a608308c87230e6627cba3235be(IComparable cd9eb4abc8062a13034d7e1a95015cf34, SearchMode cddc77026af962cffbb74c22169dff582)
   at A.c382b1def4e089dae4966a5fab641e4d4.TransformDataToIndex(DateTime dataValue, SearchMode mode)
   at A.c382b1def4e089dae4966a5fab641e4d4.TransformDataToIndex(DateTime dataValue)
   at A.c382b1def4e089dae4966a5fab641e4d4.TransformDataToIndex(IComparable dataValue)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.GetCoordinateForDataPoint(Double xDataValue, Double yDataValue)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.IsHitTest(Point rawPoint, HitTestInfo nearestHitResult, Double hitTestRadius, IList yValues, Point previousDataPoint, Point nextDataPoint)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.InterpolatePoint(Point rawPoint, HitTestInfo nearestHitResult, Double hitTestRadius, IList yValues, IList y1Values)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.InterpolatePoint(Point rawPoint, HitTestInfo nearestHitResult, Double hitTestRadius)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.HitTestInternal(Point rawPoint, Double hitTestRadius, Boolean interpolate)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.HitTest(Point rawPoint, Double hitTestRadius, Boolean interpolate)
   at Abt.Controls.SciChart.Visuals.RenderableSeries.BaseRenderableSeries.HitTest(Point rawPoint, Boolean interpolate)
   at Abt.Controls.SciChart.ChartModifiers.InspectSeriesModifierBase.c6e7269fc05c2e533d255843d485b354d.c0d0d9651a11734c8b03277c7800288fe(IRenderableSeries c3ed74374fee4316737eeee3cff6be2ad)
   at Abt.Controls.SciChart.ChartModifiers.InspectSeriesModifierBase.c7e55a9279e01d9502f181db39af02328.MoveNext()
   at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at Abt.Controls.SciChart.ChartModifiers.CursorModifier.c3bfceb3512975c53ace35e5560fe1eba(Point c9fb04a4a0826429a55d599c809a4f6e6)
   at Abt.Controls.SciChart.ChartModifiers.CursorModifier.HandleMasterMouseEvent(Point mousePoint)
   at Abt.Controls.SciChart.ChartModifiers.InspectSeriesModifierBase.cba82b1b73d4311482f26641776634b3c(Point cfe7da3d2fb2c1ba75ba1814199d02354)
   at Abt.Controls.SciChart.ChartModifiers.InspectSeriesModifierBase.HandleMouseEvent(ModifierMouseArgs e)
   at Abt.Controls.SciChart.ChartModifiers.InspectSeriesModifierBase.OnModifierMouseMove(ModifierMouseArgs e)
   at Abt.Controls.SciChart.ChartModifiers.ModifierGroup.c07d1dcb1c7ba461bbcbf5a1dd47c58a5(IChartModifier c6b1effd112e5355cd5f051dd91cd4f67, ModifierEventArgsBase cbb39038dde40bfc3fdcfa70f4bbf8778)
   at Abt.Controls.SciChart.ChartModifiers.ModifierGroup.c9e8960a6a8527c20ac9e46e162c72b22(Action`2 c4bd4ab823835cf92d221476b6fb65a17, ModifierEventArgsBase c4c23d80d4d060e409c3479ef17d6c65e)
   at Abt.Controls.SciChart.ChartModifiers.ModifierGroup.OnModifierMouseMove(ModifierMouseArgs e)
   at Abt.Controls.SciChart.Utility.Mouse.MouseManager.ca5839647cb861fa726b3261de72c52c0(ModifierMouseArgs cbb39038dde40bfc3fdcfa70f4bbf8778, IReceiveMouseEvents c18509698be3f9366c690e7d2b107b62c, Boolean c3791a1b71c1577bde30b55c12b2a5583)
   at Abt.Controls.SciChart.Utility.Mouse.MouseManager.c105a7cf9d4174e3cd8ac6692b1c8bb6a.c0010b345f0095806418d417ea1a206fd.c1673a74160880c3f0f152d760b9a12f8(IReceiveMouseEvents c133657388cc0f6f6615e21e129ac4b3a)
   at A.c19dd4d74f6373c95c517d29624d76e4b.cacf72b657252e3e73860afb89d70cb9f[c13c28af86f0b14202b9c7ef43b1bd11a](IEnumerable`1 c40a30a1bb6416cd164565919fdef15a9, Action`1 c885aac61bc9832561b7ff07903c88d5e)
   at Abt.Controls.SciChart.Utility.Mouse.MouseManager.c105a7cf9d4174e3cd8ac6692b1c8bb6a.cdc6dd0b1b34439c6e93339dd3929be9f(Object cae49ecc8585f35e8dd5ce624f7fb7ab5, MouseEventArgs c4c23d80d4d060e409c3479ef17d6c65e)
   at A.cd43732d305fa7b65b611005fdcef35d8.c769264f2530d8b47196e47cbbe58cb89(MouseEventArgs cbb39038dde40bfc3fdcfa70f4bbf8778)
   at A.cd43732d305fa7b65b611005fdcef35d8.cbe8969038b3b47585f72b9c703cd47da(Object c5e18ac7ef25e3e9c51dc36756b25ed1e, MouseEventArgs c4c23d80d4d060e409c3479ef17d6c65e)
   at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at ...\obj\Debug\App.g.cs:line 0
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  


Если тестировать только на исторических данных, то все ок



Thanks:




Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy