SetBackgroundColor

SetBackgroundColor — Sets the overall background color.

Synopsis

$plot->SetBackgroundColor($color)
    

Description

SetBackgroundcolor sets the overall background color. This is the color of the background of the whole image.

Parameters

$color

Color value to use. See Section 3.5, “Colors” for more on color values.

Notes

The default background color is white. Background image overrides background color; background color is ignored if a background image was set with SetBgImage.