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



OnBeforeBoxDraw


Unit:SDL_boxplot
Class: TBoxPlot
Declaration: property OnBeforeBoxDraw: TOnBeforeBoxDrawEvent;
{TOnBeforeBoxDrawEvent = procedure (Sender: TObject; Column: integer; var ColorLines, ColorBody, ColorMinMax, Color90Perc, ColorMean, ColorMedian: TColor) of object;}

The event OnBeforeBoxDraw occurs before each single box of a boxplot chart is drawn. It is intended to give the user the opportunity to adjust the colors of individual boxes. See TOnBeforeBoxDrawEvent for a detailed description of the event.

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


Last Update: 2023-Dec-13