Hi,
Thanks for quick reply.
I tried with your sugession but I am not able to get <cfxData:ListTransform > my code. I am using ChartFX WPF (V.0.8.3015.33879). I have added two assemblies 1. ChartFX.WPF.dll 2. ChartFX.WPF.Data.dll in my project. May be my Assemblies are not latest.
My Actual requirement is I want to Bind Collection of Observable Point Collection to the chart. If i have 10 Observable Point Collection and each point collection have 100 points. Now my requirement is Chart Should be able to create 10 series or n-series as per observable collection count(Main Collection) and each series assign with 100 or n-points (Sub Collection) which is given. e.g.
public ObservableCollection<Point> getObservableCollection() {
Random rnd = new Random(1000);
ObservableCollection<Point> obc = new ObservableCollection<Point>();for (int i=0;i<100;i++) obc.Add(
new Point(i,i));return obc; }
public ObservableCollection<ObservableCollection<Point>> getCollectionOfCollection() {
ObservableCollection<ObservableCollection<Point>> obc = new ObservableCollection<ObservableCollection<Point>>();for (int i = 0; i < 10; i++) obc.Add(getObservableCollection());
return obc; }
ObservableCollection<ObservableCollection<Point>> obcChart = new ObservableCollection<ObservableCollection<Point>>();
obcChart = getCollectionOfCollection();
Now i want to bind obcChart (Collection of Point Collection) to Chart. So as per this example Chart should be able to created 10 series and each series having 100 point. The number of series and number of point collection may vary as per the input.
If chart supports binding with other collection not with observable collection then it is ok for me.
Please Guide me how can i Bind this Collection of PointCollection with Chart. Please give me brief knowledge on the same.
Regards,
Rajesh Dhiman