I know if I have ObservableCollection<ChartData> chartdata,
and chartData is { DateTime time; float value1; float value2; float value3;}, the binding from your example works.
but now I am have class ChartData { ObservableCollection<DateTime> Times, ObservableCollection<float> Value1List;
ObservableCollection<float> Value2List; ObservableCollection<float> Value3List; }
I am using
<ig:CategoryDateTimeXAxis x:Name="xAxis" Label="{}{Date:hh:mm:ss}" ItemsSource="{Binding ChartData.Times}" />
it doesn't work, I don't kow what should I put for DateTimeMemberPath.
Same for the Value1List, VAlue2List, Value3List, don't know what to put for ValueMemberPath.
Thanks,
Hello Joan,
Thank you for your email. I have been looking into it and I can suggest setting ‘.’ as ValueMemberPath and for DateTimeMemberPath, since this points can be used, when you wish to not specify a property for the binding. I have created a sample application for you, based on the data that you have provided, that shows, how you can implement the approach I have suggested.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support