Crash when resizing donut chart
Posted: Wed Nov 02, 2011 9:28 am
Resize a donut chart to size so small that the donut disapperars, causes the control to crash
Crash log...
System.ArgumentException: Width must be non-negative.
at System.Windows.Rect.set_Width(Double value)
at Steema.TeeChart.WPF.Styles.Circular.AdjustCircleMarks()
at Steema.TeeChart.WPF.Styles.Circular.ReCalcCircleRect()
at Steema.TeeChart.WPF.Styles.Circular.DoBeforeDrawValues()
at Steema.TeeChart.WPF.Styles.Pie.DoBeforeDrawValues()
at Steema.TeeChart.WPF.Styles.Series.DrawSeries()
at Steema.TeeChart.WPF.Chart.DrawAllSeries(Graphics3D g)
at Steema.TeeChart.WPF.Chart.InternalDraw(DrawingContext g, Boolean noTools)
at Steema.TeeChart.WPF.Chart.InternalDraw(DrawingContext g)
at Steema.TeeChart.WPF.TChart.Draw(DrawingContext g)
at Steema.TeeChart.WPF.TChart.OnRender(DrawingContext drawingContext)
at System.Windows.UIElement.Arrange(Rect finalRect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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)
Crash log...
System.ArgumentException: Width must be non-negative.
at System.Windows.Rect.set_Width(Double value)
at Steema.TeeChart.WPF.Styles.Circular.AdjustCircleMarks()
at Steema.TeeChart.WPF.Styles.Circular.ReCalcCircleRect()
at Steema.TeeChart.WPF.Styles.Circular.DoBeforeDrawValues()
at Steema.TeeChart.WPF.Styles.Pie.DoBeforeDrawValues()
at Steema.TeeChart.WPF.Styles.Series.DrawSeries()
at Steema.TeeChart.WPF.Chart.DrawAllSeries(Graphics3D g)
at Steema.TeeChart.WPF.Chart.InternalDraw(DrawingContext g, Boolean noTools)
at Steema.TeeChart.WPF.Chart.InternalDraw(DrawingContext g)
at Steema.TeeChart.WPF.TChart.Draw(DrawingContext g)
at Steema.TeeChart.WPF.TChart.OnRender(DrawingContext drawingContext)
at System.Windows.UIElement.Arrange(Rect finalRect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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)