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

Populate RadChart with real time data

4 Answers 196 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Zik
Top achievements
Rank 1
Zik asked on 25 May 2015, 12:27 PM

I have RadChart that populated with real time data.

private Random random;
private DataSeries series;

This is my RadChart configuration:

rcStatistics.Background = Brushes.Transparent;
rcStatistics.BorderBrush = Brushes.Transparent;
rcStatistics.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed;
rcStatistics.DefaultView.ChartArea.AxisX.Visibility = System.Windows.Visibility.Hidden;
rcStatistics.DefaultView.ChartArea.AxisY.Visibility = System.Windows.Visibility.Hidden;

My chart is populated with real time data via timer, this is my timer tick event:

int val = random.Next(0, 100);
series.Add(new DataPoint(val));
rcStatistics.DefaultView.ChartArea.DataSeries.Add(series);

Please see my attach screenshot:

1. How can i remove value label ?

2. How can i remove the upper and the lower 2 stripes that i have on my chart ?

3. As you can see my chart series line is fill only half of my chart and this is how it is all the time and in additional after adding few points into my chart my application is stuck and become more slow, why this is happening and how can i fix it ? 

 

 

4 Answers, 1 is accepted

Sort by
0
Zik
Top achievements
Rank 1
answered on 25 May 2015, 02:21 PM
All i want to achieve is looking like the attach file. 
0
Petar Marchev
Telerik team
answered on 27 May 2015, 07:22 AM
Hi,

We have two charting solutions at this time - the old RadChart and the new RadChartView. The old RadChart does not have a very good performance and has many limitations and this is why we suggest you do not use it at all for new development. I suggest you completely remove the Charting.dll reference. We suggest you use the new RadChartView, which is a set of controls - RadCartesianChart, RadPieChart, RadPolarChart, ChartDataSource. It is much faster, very flexible and easy to set up. References below:
online qsf examples
online documentation
sdk samples

Regards,
Petar Marchev
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
Zik
Top achievements
Rank 1
answered on 27 May 2015, 02:54 PM

Any place where i can download the Live date solution for start learning ?

http://demos.telerik.com/silverlight/#ChartView/LiveData

0
Petar Marchev
Telerik team
answered on 28 May 2015, 08:35 AM
Hi,

If you have installed our controls you may already have the QSF installed on your PC. You can install the demos from this link.

Regards,
Petar Marchev
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
Tags
Chart
Asked by
Zik
Top achievements
Rank 1
Answers by
Zik
Top achievements
Rank 1
Petar Marchev
Telerik team
Share this question
or