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
200
xamDataChart adding ColumnSeries dynamically with MVVM
posted

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.

Parents
No Data
Reply
  • 28190
    Offline posted

    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

Children