This project is read-only.

SeriesCollection Design-Time Issue

Jun 3, 2013 at 12:40 PM
Hi Vinoth,

using VS 2012 Professional I get an error during design time when using a seriescollection binding which is created during runtime of the application. Am I doing it wrong?

Thanks!

<chart:SparrowChart x:Name="DetailChart" Grid.Row="1" Grid.Column="4" Series="{Binding myBinding}" >
            <chart:SparrowChart.YAxis>
                <chart:LinearYAxis  MaxValue="2" MinValue="-2"></chart:LinearYAxis>
            </chart:SparrowChart.YAxis>
                <chart:SparrowChart.XAxis>
                <chart:DateTimeXAxis  StringFormat="hh:mm"
                                      Interval="0:15:0"
                                      MinorTicksCount="0"
                                      ShowCrossLines="True"                                        
                                     />                                     
            </chart:SparrowChart.XAxis>           
        </chart:SparrowChart> 
Exception Detail:

Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteException
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Sparrow.Chart.ContainerCollection.GenerateConatiners()
bei Sparrow.Chart.ContainerCollection.Refresh()
bei Sparrow.Chart.ContainerCollection.ContainerCollection_SizeChanged(Object sender, SizeChangedEventArgs e)
bei System.Windows.SizeChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
bei System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
bei System.Windows.ContextLayoutManager.fireSizeChangedEvents()
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.UIElement.UpdateLayout()
bei System.Windows.Interop.HwndSource.SetLayoutSize()
bei System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
bei System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteUIElement.<>c__DisplayClass12.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteUIElement.CreateContent>b__11()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass16`1.<MarshalIn>b__15()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.InvokeCall(Call call)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessQueue(CallQueue queue)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessInboundAsyncQueue(Int32 identity)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.ProcessMessage(Int32 msg, IntPtr wParam, Boolean elevatedQuery, Boolean& handled)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.OnWindowMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei Microsoft.Expression.DesignHost.Isolation.Remoting.MessageOnlyHwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.Run()
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei System.Windows.Application.Run(Window window)
bei System.Windows.Application.Run()
bei Microsoft.Expression.DesignHost.Isolation.IsolationProcess.RunApplication()
bei Microsoft.Expression.DesignHost.Isolation.IsolationProcess.<>c__DisplayClass2.<Main>b__0()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
Coordinator
Jun 3, 2013 at 1:18 PM
Hi Micheal,

I have fixed the above designer issue and Published the build (13.1.0.110) in Nuget. Please take an update.

Please let me know if you have any queries.

Thanks,
Vinoth Kumar J