Jump to content
Software FX Community

RajeshDhiman

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by RajeshDhiman

  1. 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
  2. Hi, I am working with WPF ChartFx Beta (v.0.8.3015.33879) I want to achieve the following: We can bind a series of WPF chart to an Observeable point collection (working fine). Now I have a Observeable collection of Observeable point collections. Please tell me that how to bind the chart to outer Observeable collection, so that chart itself could create number of series according to the number of Observeable point collections inside outer collection. Thanks Rajesh Dhiman.
  3. Hi, Please tell that how to add annotations to the WPF ChartFX and what are classes available. WPF ChartFX API reference does talks about the Annotation objects. But doesnot tell about how to add. Thanks in advance. Rajesh Dhiman
×
×
  • Create New...