How to prevent flickering when making many changes.
If you're making multiple changes to the chart, it's always a good idea to make those changes inside a BeginUpdate and EndUpdate block. This prevents the chart from updating the display after each separate change, and so 1) it's much quicker, and 2) the display doesn't flicker because it's not being updated multiple times.
RAC.BeginUpdate; try // make many changes to the chart finally RAC.EndUpdate; end;
Similarly if you're making multiple changes to a resource or allocation, use can either use the above, or buffer updates to a single resource or allocation at a time:
MyResource.BeginUpdate; try // make many changes to the "MyResource" resource finally MyResource.EndUpdate; end;