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
590
XamDataChart Dynamic Series
posted

I am using xamDataChart 11.1.  I have a model that has properties of Date, Category, and Value.  The XAxis is the Date, the YAxis is the Value.  But what I want to acheive is a line series for each category.  I bind the DataContext of the xamDataChart to this model (MVVM), but not sure how I can add the series.  I was thinking that grouping the data using a LINQ statement and create a series this way, but not sure this would work.

Date   Category    Value
10/1    A                  5
10/1    B                  6
10/1    C                  7
10/2    A                  1
10/2    B                  2
10/2    C                 3