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

ChartView and Real time data

4 Answers 521 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Pongsathon
Top achievements
Rank 1
Pongsathon asked on 22 Jul 2015, 09:20 AM

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.

Questions:

- 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

Regards

4 Answers, 1 is accepted

Sort by
0
Pongsathon
Top achievements
Rank 1
answered on 22 Jul 2015, 09:31 AM

Please have a look on the video

https://drive.google.com/open?id=0B7UlIBH-5v73WkFCR01JVV9IQ28

0
Hristo
Telerik team
answered on 27 Jul 2015, 07:46 AM
Hello Pongsathon,

Thank you for writing.

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.

Regards,
Hristo Merdjanov
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
0
Kalpesh
Top achievements
Rank 1
answered on 25 Aug 2017, 09:21 AM

Thank you sir for your help.

But my Problem is DataTable which neeed to set to RadChartView wchi is come from web api at every second.

And chart view should be same as in Your given solution.

0
Hristo
Telerik team
answered on 25 Aug 2017, 11:51 AM
Hi Kalpesh,

Thank you for writing.

You can bind the chart to your DataTable which is updated from your web . Please check the following article showing how you can bind RadChartViewhttp://docs.telerik.com/devtools/winforms/chartview/populating-with-data/binding-to-datatable.

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

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ChartView
Asked by
Pongsathon
Top achievements
Rank 1
Answers by
Pongsathon
Top achievements
Rank 1
Hristo
Telerik team
Kalpesh
Top achievements
Rank 1
Share this question
or