ChartDirector Ver 3.0 (C++ Edition)

BaseChart.setWallpaper


Usage

void setWallpaper(const char *img);

Description

Use the image from the specified file as the wallpaper to repetitively fill the background of the chart.

ChartDirector will automatically detect the image file format using the file extension, which must either png, jpg, jpeg, gif, wbmp or wmp (case insensitive).

Arguments

ArgumentDefaultDescription
img(Mandatory)The image file that is used as the background wallpaper of the chart.

Return Value

None