Howto Map data?
Closed this issue · 2 comments
philipphagen87 commented
Hi! Is there a implemented Data mapper?
I have a ObservableCollection _actValue
and the ValueModel contains:
public DateTime _dateTime;
public double _value;
I add every 1ms one datapoint. is it possible to map the data?
thanks ### Philipp
royben commented
- It is unlikely that you are adding a data point every 1 millisecond. The runtime engine is just not that accurate.
- I don't think that DateTime even supports 1 millisecond resolution.
you should prepare your data in the form of two lists.
one of type TimeSpan and one of type double.
they need to be equal in length.
Then push them into the controller.
philipphagen87 commented
Thanks for the answer..