MMCCPaulEden Posted June 29, 2010 Report Share Posted June 29, 2010 Hi Be have found a condition that will generate a crashing exception in ChartFX. If you set Chart.AxisY.LogBase = 10 Chart.Zoom.Mode = ZoomMode.Selection; Chart.Zoom.Style = ZoomStyle.Map; Chart.Zoom.ViewStyle = ZoomViewStyle.Blur; and then attempt to use the Map Zoom function when the User selects the area to zoom to, the following exception occurrs with the ChartFX dlls and is not trappable: 'NaN' is not a valid value for property 'Maximum'. at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at System.Windows.Controls.Primitives.RangeBase.set_Maximum(Double value) at ChartFX.WPF.Axis.f() at ChartFX.WPF.Axis.b(ScaleInfoBase A_0, Double A_1) at ChartFX.WPF.Axis.a(ScaleInfoBase A_0, Double A_1, Boolean A_2) at ChartFX.WPF.Axis.a(ScaleInfoBase A_0, Double A_1, Boolean A_2, Boolean A_3, Boolean A_4, Double A_5) at ChartFX.WPF.Axis.b(ScaleInfoBase A_0, Double A_1, Boolean A_2, Boolean A_3, Boolean A_4, Double A_5) Thanks Paul Eden Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.