Datasource of Silverlight Teechart
Posted: 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
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