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....



TypeOfLastItem


Unit:SDL_rchart
Class:TRChart
Declaration:property TypeOfLastItem: TrcItem;

The read-only property TypeOfLastItem returns the type of the last drawing item in the data container. This property can be used to remove certain types of graphics elements from the end of the data container.

Example: The following statement removes all elements from the end of the data container which are not marks:

 
while (RChart1.TypeofLastItem <> tkMarkAt) and 
      (RChart1.TypeofLastItem <> tkNone) do 
  RChart1.RemoveLastItem;

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): curvefit



Last Update: 2023-Dec-13