BoxPlot.SetBoxOutlineColor

Prototypes

void SetBoxOutlineColor( int nColor )

void SetBoxOutlineColor( int nRed, int nGreen, int nBlue )

Parameters

int nColor
A predefined constant specifying the desired color. The valid values are BLACK, BLUE, BROWN, CHARCOAL, CREAM, CYAN, GOLD, GRAY, GREY, GREEN, LILAC, LIME, MAGENTA, MAROON, OLIVE, ORANGE, PINK, PURPLE, RED, ROSE, SALMON, STEEL, TAN, VIOLET, WHITE, and YELLOW.

int nRed, nGreen, nBlue
An RGB specification of the desired color. Each parameter must be an integer in the range [0, 255]. Examples: the triplet (0, 0, 0) represents black; the triplet (255, 255, 255) represents white.

Remarks

This method sets the color used to outline the boxes in the plot.

Example
gender = { M  M  M  M  M  M  M  M  M  M  F  F  F  F  F  F  F  F  F  F };
height = { 58 59 60 52 54 56 59 64 57 58 63 62 59 61 59 58 54 58 53 56 };
declare DataObject dobj = DataObject.Create( "Student Height" );
dobj.AddVar( "Gender", "Gender", gender );
dobj.AddVar( "Height", "Height", height );
declare BoxPlot plot;
plot = BoxPlot.Create( dobj, "Gender", "Height" );
plot.SetBoxOutlineColor( BLUE );
See Also

SetBoxFillColor