Smoothing without duplication?
Posted: 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?
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?