The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



RemoveFirstItem


Unit:SDL_rchart
Class:TRChart
Declaration:procedure RemoveFirstItem;

The method RemoveFirstItem deletes the first graphics element from the data container. This is equal to removing the first element from the drawing. Note that you have to call the method ShowGraf in order to see any effect.

Hint: RemoveFirstItem can be used to create running graphs by repeatedly removing the first element and draw a new one at the end of the graph.

Example: RCHFIFO.DPR
  This example program shows how to implement a running graph.

Example: This method is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): processc, rchfifo



Last Update: 2023-Dec-13