Page 1 of 1

Datasource of Silverlight Teechart

Posted: Tue Feb 10, 2009 7:02 am
by 13046610
Hi,
I am evaluating TeeChart v4 Silverlight. I am using Beta version of it.
The API documentation is not available.

What can be the Chartseries Datasource?

I tried to bind Chart Series to ObservableCollection<>, but it doesn't work.


ObservableCollection<Customer> coll = new ObservableCollection<Customer>();
//code to fill the collection.....

Line lineSeries1 = new Line();
tChart1.Series.Add(lineSeries1);
lineSeries1.Title = "line1";
lineSeries1.XValues.DataMember = "Age";
lineSeries1.YValues.DataMember = "Salary";
lineSeries1.DataSource = coll;


Regards,
Priya

Posted: Tue Feb 10, 2009 2:06 pm
by narcis
Hi Priya,

Please see my reply here.

Thanks in advance.