Jump to content
Software FX Community

changing between chart types VS2008


graeme.mclean

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...