graeme.mclean Posted January 24, 2008 Report Share Posted January 24, 2008 when changing between the types of charts in VS2008 I get the following error in the designer window:- Object reference not set to an instance of an object. at by.a(Brush A_0, Double A_1, Double A_2) at by.a(LogicalItemCollection A_0, Double A_1, Double A_2, Boolean A_3, ab A_4) at b5.a(Double A_0, Double A_1, Boolean A_2) at by.b(Object A_0, EventArgs A_1) at by.b.OnRender(DrawingContext drawingContext) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Border.ArrangeOverride(Size finalSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at ChartFX.WPF.Controls.SpacingDockPanel.ArrangeOverride(Size finalSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) 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, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) Any ideas? I've just downloaded the Beta today (24th Jan 08) Cheers, Graeme Quote Link to comment Share on other sites More sharing options...
JuanC Posted January 25, 2008 Report Share Posted January 25, 2008 Can you specify between which types are you switching? Some of the gallery types need a specific number of series and we might not be handling these correctly. If you also send us the XAML for your chart it might allows us to duplicate the issue. Also note that we have not focused on Design-Time support yet. Regards, JuanC 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.