This is a migrated thread and some comments may be shown as answers.

how to do LIVE chart with Entity Framework 4.0 and RIA service

2 Answers 125 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Tai
Top achievements
Rank 1
Tai asked on 16 Dec 2010, 07:17 PM
hi

i checked on your online demo for the live section and still have no idea how to do  a LIVE chart by using RIA service and Entity Framework.

Currently, My project will have different screens to let user input data and save it back into the database. Right now, i am trying to implement a screen which will have a LIVE chart(value on chart will change automatically when the data in the database has been changed) to show LIVE data in the database. So if someone manually changes the data in the database through sql server during the screen opened, then the updated data should be reflected on the screen too
I am using the latest Telerik version and RIA service + Entity Framework 4.0

Can you tell me where i can look at for the example? or if possible, can you provide a sample demonstration for that by using RIA service and Entity Framework 4.0. There is no need for MVVM if you want to 

thank you

2 Answers, 1 is accepted

Sort by
0
Tai
Top achievements
Rank 1
answered on 20 Dec 2010, 07:25 PM
any help or advise on how to do the Live chart with the RadChart?
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 22 Dec 2010, 10:50 AM
Hello Tai,

Generally there should be nothing control-specific about this scenario (i.e. the data service should work in the same way as if you were binding it to standard Silverlight GridView control).

As far as I know RadChart works with any IEnumerable object (http://www.telerik.com/help/silverlight/radchart-populating-with-data-data-binding-support-overview.html) so you should be able to combine the live data approach (http://demos.telerik.com/silverlight/#Chart/LiveData) with the RIA approach described in this blog post here http://blogs.telerik.com/vladimirmilev/posts/10-07-15/silverlight_radchart_codeless_binding_to_ria_services_domaindatasource.aspx.


Greetings,
Bart.
Tags
Chart
Asked by
Tai
Top achievements
Rank 1
Answers by
Tai
Top achievements
Rank 1
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or