ChartDirector 7.1 (C++ Edition)
BoxWhiskerLayer.setBoxColors
Usage
void setBoxColors(IntArray colors, StringArray names = StringArray());
Description
Sets the colors for all boxes.
The method will set the BoxWhiskerLayer into multi-color mode. The colors of each box will be obtained from the given colors array. If there are insufficient colors in the array, the remaining boxes will be auto-colored.
If the names argument is given, the names will appear in the legend box if one is configured for the chart.
Arguments
Argument | Default | Description |
colors | (Mandatory) | An array of colors to be used as the color of the boxes. |
names | [Empty_Array] | An array of names to be used in the legend box, if one is configured for the chart. |
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.