Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
Serialization of xamDataChart ViewModel Not Possible
posted

I am using the xamDataChart in an application where I serialize the viewmodel so I can persist the settings to the graph control. This is necessary because the series created are unknown at compile time and the data is unknown until runtime. I add series to the chart by binding to the graph SeriesCollection and adding series to this collection per user interaction.

All of my graph operation works fine, however since this SeriesCollection is read only, when I try to deserialize my viewmodel, I can't as I have no reference in my viewmodel to the graph control. Why is the graph SeriesCollection read only? This leads me to believe that this graph is not truly MVVM compliant...