This question is locked. New answers and comments are not allowed.
When I zoom the CartesianChart and go deep enough (it usually happens on second zooming attempt), the control throws the ArgumentException, crashing the application:
System.ArgumentException: Value does not fall within the expected range.
at System.Windows.Size..ctor(Double width, Double height)
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.UpdatePanAndZoom(Double startX, Double endX, Double startY, Double endY)
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.AdornerLayerMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}
We have switched from RadChart to ChartView because of the Chart's problems with the Zoom, but it seems that this one has issues with the zooming too.
Why does the control throw an exception? Where can I catch the exception before it crashes my whole app?
Thanks