It would be nice to see an example of DataServiceDataSource with the chart control.
Best Regards,
Jaime
1 Answer, 1 is accepted
0
Rossen Hristov
Telerik team
answered on 05 Sep 2011, 09:42 AM
Hello Jaime Bula,
RadDataServiceDataSource is a control which "brings" data to the client. It does not "know" or "care" who is going to consume this data afterwards -- it could be a grid, a list box or a chart. Or any other items control as a matter of fact.
Here is an example of RadGridView consuming data from RadDataServiceDataSource. You should be able to easily replace RadGridView with a RadChart or something else that can show collections of data.
This online sample shows a chart bound to RadDataServiceDataSource's "first cousin" -- the RadDomainDataSource. They have similar API's, so the idea will be absolutely the same and you should be able to easily replace the DomainDataSource from the online example with a DataServiceDataSource.
To learn more about what the RadDataServiceControl actually is and how to use it, please take a look at my blog post, in case you've missed it.
Let us know if you have any particular questions regarding RadDataServiceDataSource.
Regards,
Ross
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>