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

hiding the old plot and showing new one

2 Answers 78 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Supriya
Top achievements
Rank 1
Supriya asked on 07 May 2013, 09:14 AM
hi,
i have been plotting graph on the basis of data coming live and the data is in bulk. Now the problem am facing is that as the data enters the value on x-axis gets collapsed nothing can be seen unless zoomed. But i want 10 data to be shown at a time and again hide those data when new data comes for plotting. but when graph is maximized i should be able to see all hidden and  data points also. i am attaching u a screenshot of my graph for better understanding.

2 Answers, 1 is accepted

Sort by
0
Supriya
Top achievements
Rank 1
answered on 07 May 2013, 09:14 AM
Please can u get me  the solution as soon as possible.
0
Petar Kirov
Telerik team
answered on 10 May 2013, 12:10 PM
Hi Supriya,

There are several way you achieve this. For examlpe:
  • You can use several overlayed RadSparkLines inside a RadTimeBar with several RadVerticalAxes. That way you will rely on the TimeBar for the horizontal axis labels and you will not have the problem with overlapping labels that you have in your existing project.
  • You can have two charts - one showing an overview of the whole data and one showing a detailed view of the incoming data. Here is an example of the two charts idea. You can implement the live data chart with a RadCartesianChart which is bound to a collection which holds only the most recent data. Using a timer you update the Minimum and the Maximum of the axis and check your data source to see if there is new data to added. I have attached sample project demonstrating that.

I hope this was helpful.

Regards,
Petar Kirov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Supriya
Top achievements
Rank 1
Answers by
Supriya
Top achievements
Rank 1
Petar Kirov
Telerik team
Share this question
or