ChartDirector Ver 3.0 (C++ Edition)
PlotArea.setBackground
Usage
void setBackground(int color, int altBgColor = -1, int edgeColor = LineColor);
Description
Set the background colors and the border color of the plot area.
A plot area can have one or two background colors. If it has two background colors, they are drawn alternatively as horizontal bands on the background grid.
Arguments
Argument | Default | Description |
color | (Mandatory) | The background color. |
altBgColor | -1 | The second background color. -1 means there is no second background color. |
edgeColor | LineColor | The color used to draw the border of the plot area. |
Return Value
None
© 2003 Advanced Software Engineering Limited. All rights reserved.