Hi,
Let's say that I have two collections in my ViewModel layer:
where:
Now, I would like to bind both of these collections to just one RadChart as two Data Series declaratively with XAML.
I would like to avoid creating a third, composite collection called something like LoginsAndDeposits that would combine both data sources:
Is that possible, and if yes, how?
regards, Przemek
Let's say that I have two collections in my ViewModel layer:
ObservableCollection<DayEntry> Logins; |
ObservableCollection<DayEntry> Deposits; |
public class DayEntry { |
public DateTime day { get; set; } |
public int value { get; set; } |
} |
Now, I would like to bind both of these collections to just one RadChart as two Data Series declaratively with XAML.
I would like to avoid creating a third, composite collection called something like LoginsAndDeposits that would combine both data sources:
public class DayEntry { |
public DateTime day {get; set;} |
public int loginValue { get; set; } |
public int depositsValue { get; set; } |
} |
Is that possible, and if yes, how?
regards, Przemek