ChartView and Real time data

3 posts, 0 answers
  1. Pongsathon
    Pongsathon avatar
    2 posts
    Member since:
    Jul 2015

    Posted 22 Jul 2015 Link to this post

    I would like create Finical chart to update real time data, let say every 1 second. I have create a small application with CandlestickSeries type and timer to add data point to chart. i also attached my code to this post.


    - please look at video, chart keep re-render and keep refreshing. Is that a way that to prevent hold chart refreshed? (I think that Vertical Axis no need to render).

    - I would like to build a chart to let use scroll back to see last hour data but on current screen i would liek to show only last 2 mins data. Is that a sample to resolve the requirements?


    Please help


  2. Pongsathon
    Pongsathon avatar
    2 posts
    Member since:
    Jul 2015

    Posted 22 Jul 2015 Link to this post

    Please have a look on the video

  3. DevCraft R3 2016 release webinar banner
  4. Hristo Merdjanov
    Hristo Merdjanov avatar
    664 posts

    Posted 27 Jul 2015 Link to this post

    Hello Pongsathon,

    Thank you for writing.

    Indeed the vertical axis should not flicker, however, I am not sure of your implementation of the live data chart and what actually is causing the problem.

    That is why I am sending you a sample project demonstrating an approach which I think is suitable also for your scenario.

    Considering your other request, I think that for the purpose you could use a second chart in which you could display additional information. We also have an example (ChartView > LiveData) in our demo application covering this type of scenario, the source code of the examples is located in the installation folder of the suite: C:\Program Files (x86)\Telerik\UI for WinForms Q2 2015\Examples. I am also sending you a gif file showing the result of my sample app.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    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