Bart,
I went back and spent some time going over the examples provided in your demo application and have played around using ADO instead of WCF to bind the data to my chart.
I've had a lot of success with this method and the results are great. The one problem I've run into now is that one field in my database which contains the numeric data I need to chart is stored as a string (The database was created automatically by another vendors software platform for storing trended data).
I'm using the following to set up my chart:
private void ATOMRequestCompleted(IAsyncResult asyncResult)
{
DataServiceQuery<TRENDDATA> trendquery = (DataServiceQuery<TRENDDATA>)asyncResult.AsyncState;
SeriesMapping seriesMapping = new SeriesMapping();
seriesMapping.SeriesDefinition =
new LineSeriesDefinition();
ItemMapping itemMapping = new ItemMapping("DATA_VALUE_", DataPointMember.YValue);
seriesMapping.ItemMappings.Add(itemMapping);
chart1.SeriesMappings.Add(seriesMapping);
List<TRENDDATA> list = trendquery.EndExecute(asyncResult).ToList();
chart1.ItemsSource = list;
}
Is there a way to make the RadChart accept the returned numeric strings or am I going to need to add a routine to take the result of the query and convert each string into an integer?
Thanks!