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

3 posts, 0 answers
  1. Tai
    Tai avatar
    73 posts
    Member since:
    Jun 2010

    Posted 16 Dec 2010 Link to this post

    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. Tai
    Tai avatar
    73 posts
    Member since:
    Jun 2010

    Posted 20 Dec 2010 Link to this post

    any help or advise on how to do the Live chart with the RadChart?
  3. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 22 Dec 2010 Link to this post

    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.
Back to Top