Plotting Large Data Sets in TeeChart
Posted: Wed Jun 03, 2009 3:26 pm
Hi,
I have an application that uses TeeChart to plot some field data. The field data could have a maximum of 500 series each with up to 1.4Million samples.
When I tried using Teechart to plot 300 series (using the fastline series) with 200,000 samples in each I get an out of memory exception. I had the following questions
(1) Does Teechart have a separate series/mode to handle large data sets? I use the Fastline since its supposedly optimized to plot data quickly. However I am not sure whether this is the best choice for large data series.
(2) Does Teechart have a special mode wherein the user can point Teechart to a data member to be used for plotting and then Teechart plots only a subset of those points as necessary (since the screen has only some many pixels and plotting just a subset of the samples would be sufficient). For instance if I had an array called RSSI(100,000), Teechart would use only 5000 of the points and if the user zooms in, it would access more data from RSSI() to update the chart.
(3) If it turns out that (1) , (2) don't include anything special for large datasets, how do you handle large data sets? I know TeeChart has a downsampling class but even if I use downsampling to scale down the data I get an exception when I add the data to the series using the series.add() function.
Thanks in Advance.
Regards,
Vivek
I have an application that uses TeeChart to plot some field data. The field data could have a maximum of 500 series each with up to 1.4Million samples.
When I tried using Teechart to plot 300 series (using the fastline series) with 200,000 samples in each I get an out of memory exception. I had the following questions
(1) Does Teechart have a separate series/mode to handle large data sets? I use the Fastline since its supposedly optimized to plot data quickly. However I am not sure whether this is the best choice for large data series.
(2) Does Teechart have a special mode wherein the user can point Teechart to a data member to be used for plotting and then Teechart plots only a subset of those points as necessary (since the screen has only some many pixels and plotting just a subset of the samples would be sufficient). For instance if I had an array called RSSI(100,000), Teechart would use only 5000 of the points and if the user zooms in, it would access more data from RSSI() to update the chart.
(3) If it turns out that (1) , (2) don't include anything special for large datasets, how do you handle large data sets? I know TeeChart has a downsampling class but even if I use downsampling to scale down the data I get an exception when I add the data to the series using the series.add() function.
Thanks in Advance.
Regards,
Vivek