I have an ObservableCollection of a class object which has some properties such as: datetime, value, and category_id
I would line to create a multi series chart depending on category_id
products with category_id=1 one lineseries. X axis :datetime, Y axis: value
products with category_id=2 another lineseries in the same Chart. X axis :datetime, Y axis: value
Could you provide to me a solution for code behind and for MVVM? I think I have to use Data Triggers but I am facing some problems implementing them.
tnx in advance