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



AssignAnotherDataTable


Unit:SDL_boxplot
Class: TBoxPlot
Declaration: procedure AssignAnotherDataTable (DTab: TDataTable);

The method AssignAnotherDataTable allows an external data table DTab to be assigned to the data table of TBoxPlot. Applying this method destroys the internal data table and assigns DTab instead of it. The other parameters of TBoxPlot (row and column names, column decimal point vector, state array, and class information vector) are adjusted accordingly. The contents of the table can be accessed by using the identifier Data.

Note 1: The OnChange event of the data table DTab is redirected to be used by TBoxPlot.

Note 2: An assigned external data table is not destroyed if the box plot is destroyed (in contrast to the original internal matrix, which is removed in this case).

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


Last Update: 2012-Oct-20