RealTime Functions
Posted: Fri Mar 09, 2007 12:55 pm
I am using TChart in a RealTime financial chart that is updating the data constantly.
I am working on putting Moving Averages on the Chart. When I update the data, is there any built-in way to do it without recalculating the entire Moving Average. I am only modifying or adding to the last datapoint, and then I call CheckDataSource(). It recalculates the Moving Average of every data point in the series which is pretty expensive.
Thanks,
TMac
I am working on putting Moving Averages on the Chart. When I update the data, is there any built-in way to do it without recalculating the entire Moving Average. I am only modifying or adding to the last datapoint, and then I call CheckDataSource(). It recalculates the Moving Average of every data point in the series which is pretty expensive.
Thanks,
TMac