Hello,
I'm experiencing an issue with using the mouse selection zooming (where you select a rectangle to zoom in on). After a few successful zooms, an error is thrown (ArgumentException: Width and Height must be non-negative.) when trying to zoom in to fine detail. I assume this has something to do with rendering the pan/zoom bar, but I'm not certain.
I can catch the previewMouseUp event, but I'm not sure how to correctly check/handle this issue.
Any help/guidance would be appreciated.
Also, the interesting bit of the stacktrace from the exception:
at System.Windows.Size..ctor(Double width, Double height)
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.UpdatePanAndZoom(Double startX, Double endX, Double startY, Double endY) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 278
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.AdornerLayerMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 252
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
I'm experiencing an issue with using the mouse selection zooming (where you select a rectangle to zoom in on). After a few successful zooms, an error is thrown (ArgumentException: Width and Height must be non-negative.) when trying to zoom in to fine detail. I assume this has something to do with rendering the pan/zoom bar, but I'm not certain.
I can catch the previewMouseUp event, but I'm not sure how to correctly check/handle this issue.
Any help/guidance would be appreciated.
Also, the interesting bit of the stacktrace from the exception:
at System.Windows.Size..ctor(Double width, Double height)
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.UpdatePanAndZoom(Double startX, Double endX, Double startY, Double endY) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 278
at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.AdornerLayerMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 252
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)