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
290
Data Binding / Multiple series, axes
posted

Hi,

I use XamDataChart to display multiples axes / series with a common DateTime X-Axis.

I wrote a DataPoint class with Timestamp and Values as properties. Then, I created an array of BindingList<DataPoint> representing all the series (1 element of array = 1 serie). I set the ItemsSource property of each serie to the array element.

My question is: How should I set the DataContext property of the chart ?

I tried to set it to an array element, seems to work but I don't think that's the correct way to do that. I don't know how to do it in the right way...

Regards

Daniel