RadCartesianChartView Live Update

4 posts, 1 answers
  1. Laron Walker
    Laron Walker avatar
    19 posts
    Member since:
    Feb 2006

    Posted 31 Aug 2015 Link to this post

    Hello,



    Kindly help on how to update RadCartesianChartView data/datasource every 100ms. I couldn't find any sample implementation in the downloaded package(UI for Xamarin Q2 2015\Examples\Android) that updates data.

    Also, I will like to see a sample implementation of ChartSeriesDataSource.


    Thanks
  2. Answer
    Victor
    Admin
    Victor avatar
    1351 posts

    Posted 31 Aug 2015 Link to this post

    Hello Laron,

    Thanks for writing.
    I answered your other thread with the same question.
    As for ChartSeriesDataSource, you never need to create an implementation it is used internally by all series and they manage its lifecycle. You have no use creating a custom ChartSeriesDataSource unless you are implementing an entirely new ChartSeries.

    Regards,
    Victor
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Matt
    Matt avatar
    11 posts
    Member since:
    Feb 2015

    Posted 05 Jul in reply to Victor Link to this post

    What other thread? I would love to see the answer to this. I tried searching but couldn't find it.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 06 Jul Link to this post

    Hi Matt,

    The other thread is a support ticket which isn't available on the forums.
    In short, you just need to use the ObservableCollection class. Create an instance of it and set it as the data for your series. Then whenever you add data points, the collection will notify the chart to update itself. If you add a point every 100 ms the chart will update accordingly.

    Regards,
    Victor
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner