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

How do I just show the data (like RadSparkline)?

1 Answer 61 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 22 Mar 2012, 09:48 PM
I would like to show data in WinForms in a fashion that's similar to the RadSparkline control for WPF.

I would like to hide everything from the chart except the actual data being shown.

I will also be updating the data in real-time, about every second with multiple charts on the same screen.

Does the WinForms RadChart have some way to hide all the extraneous information such as legend, axis, labels and to make the chart's data area fill the whole control?

Also, is RadChart up to the task in terms of performance for real-time data display or should I be using some other Telerik control for this?

Thank you,

1 Answer, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 27 Mar 2012, 12:37 PM
Hi Alex,

In order to show a data-only chart, you will need to hide the title, the legend and the axes:

radChart1.ChartTitle.Visible = false;
radChart1.Legend.Visible = false;
radChart1.PlotArea.XAxis.Visible = ChartAxisVisibility.False;
radChart1.PlotArea.YAxis.Visible = ChartAxisVisibility.False;

Then you can adjust the PlotArea Margins as per your requirements.

As for the performance, you should be fine with a single chart with a few hundred points. Still, the product was designed to be easily customizable and feature rich and it does not cope well with extremely busy charts or lots of charts in a window. It is targeted for casual situations which do not require a high performance solution. That said, whether you will be satisfied by the performance will depend on the number of charts and items. Please, make sure intelligent labels are switched off, as they bring a heavy performance penalty when the number of items increase. Actually, you may consider switching the labels off altogether for any chart exceeding 15-20 items (depending on the size).

Best regards,
Ves
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Chart (obsolete as of Q1 2013)
Asked by
Alex
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or