TMS Charts for Firemonkey automatic scrolling

Hello,


Right now I am trying to accomplish the simple task of automatically scrolling the chart as I add new points.  I am using C++ Builder XE8 with the TMS Charts for Firemonkey addon.  I just have a basic area chart with one series that is adding a new point every second based off a database value.  This is successful as I can manually pan the chart and see the new points getting added.  However, I want the chart to automatically move position each time the new point is added.  Is there a simple way to do this using one of the built in procedures or functions?  I see a lot of Delphi examples but not a whole lot in C++.  Thank you for your help.

Sean Mackey

Also, I should mention that I got the TAdvChart growing with each point that is being added.  However, I can't get it to keep a range of say, 10 units, so the chart does not keep getting smaller and smaller each point that gets added.


Another good question would be, does this eat up a lot of memory to add say 60 new points a minute to the chart?  Do I need to clear out all of the points after a certain amount of time?  Thanks again.

Hi, 


When applying auto X-Axis scaling in the TMS FireMonkey chart, the chart should automatically "pan" when removing the first point when the 61th point is added.

Kind Regards, 
Pieter