Smoothing without duplication?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Russ
Newbie
Newbie
Posts: 7
Joined: Tue Nov 13, 2007 12:00 am

Smoothing without duplication?

Post by Russ » Fri May 01, 2009 10:48 pm

I've seen the smoothing samples and other posts here. I have the graph looking about the way I would like, though it seems that I have very little control over the smoothing behavior when using Area series.

But on to my main question, is there any way to smooth the data without duplicating the Series? I already have a huge overhead in extracting the initial data. I then have to iterate over the data to Add each point to the series (including filling in zeros for gaps in sparse data so stack area works correctly). Now, to get a "smooth" curve, I have to create yet another series populated from the first, and this may contain MANY data points.

So, what are my alternatives? The initial data is in a strongly typed "List" of sub-ranges, not a DataTable or even a single contiguous array/list. It could be converted to an array/list, but that seems little better than the intermediate TeeChart "Series".

Any suggestions?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 04, 2009 9:00 am

Hi Russ,

The only alternative I can think of right now is that you set the source series as non-active (Active=false) so that it doesn't have to be plotted in the chart.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Russ
Newbie
Newbie
Posts: 7
Joined: Tue Nov 13, 2007 12:00 am

Post by Russ » Tue May 05, 2009 4:31 pm

Hmmm, this may be a deal breaker.

Because of the requirement for 100% match in data points (for stacked area series), we will have 100s of thousands of data points (perhaps millions) in each of several series (up to 20 or so). Over 90% are just Y==0. We already have our data, then it's expanded (dramatically) into your series. Now, take that dramatically expanded representation and double it again just to get some "smoothing". Ouch...

With the combination of forced inclusion of zero values AND doubling everything just to get smoothing, maybe this product is not for us. I have a meeting later today. I guess they will either have to ease requirements (eliminate smoothing or reduce the allowed viewable range) or let me start reviewing other charts.

Anyway, thanks for the help...

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed May 06, 2009 11:24 am

Hi Russ,

I forgot that TeeChart for .NET 2009 has a new feature for smoothing series without having to create an additional series as you can see here:

Image

Full example can be found at What's New?\Welcome !\New in Series\Custom\Smoothed in the features demo available at TeeChart's program group.

You can download TeeChart for .NET 2009 fully functional evaluation version here:

http://www.steema.com/downloads/form_tch_net.html
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply