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

How to make line chart scroll to latest data live?

1 Answer 88 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Maxwell
Top achievements
Rank 1
Maxwell asked on 14 Nov 2019, 07:08 PM

     My chart currently plots a new data point once per second. Currently the chart will just scrunch and get smaller as it fills with data.

I would like to show a specific number of data points at any given time say 50 for example, And allow users to scroll back through older data points.

The first thing is how do I configure the RadCartesianChart to only show say the 50 latest samples in view?

Then allow user to scroll backwards to view older data?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 18 Nov 2019, 10:23 AM

Hello Maxwell,

To achieve your requirement, you can zoom-in the chart and manually scroll whenever needed. For example, when a new data point is added or when the user needs to go back to the older data. I've attached a sample project showing such approach. I hope it helps.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Chart
Asked by
Maxwell
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or