Hello!
I am using xamdataChart ColumnSeries with MVVM. I would like to dynamically add column series to the chart via MVVM. I am having a multiselection combobox, each item in the combobox will add/remove a ColumnSeries to the chart when the user checks on the checkbox.
I saw a solution for this but it is quite old, from 8 years ago.
Can someone please upload a solution to achieve this?
Thank you!
Cristina.
Hello Christina,
I noticed your post on another forum thread in which you had requested that the above-mentioned sample be re-uploaded. I have very recently uploaded it to the other forum thread, and for consistency, I will also attach it here. I believe in using it, you should be able to bind to the collection containing your series objects and add or remove them from the chart as you see necessary.
Please let me know if you have any other questions or concerns on this matter.
2783.XamDataChartColumnSeriesBinderCase.zip
Hi Andrew. Thank you for this. I know it has been a while since this was posted, but I am trying to use your solution and it works great. However, could you expand it to include multiple series as well?
Hello Andrew!
Thank you very much for uploading this. I appreciate the prompt reply. It is very helpful.