Good People,
I am experiencing serious problems getting my XamCharts to work. When I try to use Expression Blend to create series and data point then perform bindings, it generates an error message stating that: the enumerator is not valid because the collection has changed. Then, if I persist, expression blend crashes. Overall, I am finding it very difficult to work with the xamChart control in expression blend, and even in visual studio in the xaml editor. It makes expression blend very unstable. Furthermore, it's as if any attempt to set bindings on the charts renders them inoperable.
Essentially, my strategy is to set the XamChart's datacontext and then bind the datapoints in a series, or map a series to the relevant property. Unfortunately, while this has worked for one chart, it won't work for others.
Any help would be greatly appreciated. We are nearing a production deadline and the charts are the only outstanding tasks.
I am using Expressoin Blend 2008 sp1, Visual Studio 2008 and .Net 3.5 sp1. I am using the Net Advantage for WPF 2009 volume 1.
Thanks in advance and I look forward to hearing from you.
Particularly for an exception like this, I would normally recommend that you submit a support request so that Developer Support can look into this issue and aid you in finding a resolution. I see that you've already submitted such a request.
I am having the same issue - getting the "enumerator is not valid because the collection changed" exception in Blend.
I have a XamChart with two of series of ChartType = "stackedColumn" hosted inside a user control. Whenever I add the user control to a window, Blend stops rendering the window and shows the error above.
The funny thing is that I have another XamChart with one series of ChartType = "bar" hosted inside another user control - and there are no problems with that one.
I will open a ticket with support, but it would be great if the workarounds were posted here - it's a lot faster to get the information.