My support subscription has temporarily expired, so I am writing this bug report here.
Several charts, contained in a vertical itemscontrol (and scroll viewer). I think that some of the charts were scrolled off screen.
Move the mouse over a chart and the exception is thrown.
May/may not be relevant, but the charts are in this order... A, B, A, B, A, B, A, B....
All the A charts are synchronised. All the B charts are synchronised. (different channels)
Only synchronising the horzontal zoom and cross hair.
-------------------------Stack trace------------------------- System.ArgumentException: 'NaN' is not a valid value for property 'X1'. ---------------------------------------------------------------------- at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal): ---------------------------------------------------------------------- at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewerView.UpdateVerticalCrosshair(Double x1, Double y1, Double x2, Double y2): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.RenderCrosshairs(): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue): ---------------------------------------------------------------------- at Infragistics.Controls.Charts.XamDataChart.PropertyUpdatedOverride(Object sender, String propertyName, Object oldValue, Object newValue): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.<.ctor>b__7f(Object o, PropertyUpdatedEventArgs e): ---------------------------------------------------------------------- at Infragistics.Controls.Charts.PropertyUpdatedEventHandler.Invoke(Object sender, PropertyUpdatedEventArgs e): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.RaisePropertyChanged(String name, Object oldValue, Object newValue): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.set_CrosshairPoint(Point value): ---------------------------------------------------------------------- at Infragistics.Controls.Charts.SyncLink.CrosshairNotify(SeriesViewer sender, Point crossHairPoint): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewer.CrosshairNotify(Point notificationPoint): ---------------------------------------------------------------------- at Infragistics.Controls.SeriesViewerView.PlotArea_MouseEnter(Object sender, MouseEventArgs e): ---------------------------------------------------------------------- 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.RaiseEvent(RoutedEventArgs e): ---------------------------------------------------------------------- at System.Windows.MouseOverProperty.FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, Boolean oldValue): ---------------------------------------------------------------------- at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction): ---------------------------------------------------------------------- at System.Windows.ReverseInheritProperty.OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, IList`1 otherOrigins, DeferredElementTreeState& oldTreeState, Action`2 originChangedAction): ---------------------------------------------------------------------- at System.Windows.Input.MouseDevice.ChangeMouseOver(IInputElement mouseOver, Int32 timestamp): ---------------------------------------------------------------------- at System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e): ---------------------------------------------------------------------- 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):
Version... WPF 2014 Vol. 1 (14.1.20141.2108)
Hello Michael,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.