Datasource of Silverlight Teechart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Anil Kumar
Newbie
Newbie
Posts: 18
Joined: Tue Sep 04, 2007 12:00 am

Datasource of Silverlight Teechart

Post by Anil Kumar » Tue Feb 10, 2009 7:02 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 10, 2009 2:06 pm

Hi Priya,

Please see my reply here.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply