ChartDirector 7.1 (C++ Edition)

BaseChart.setBgImage


Usage

void setBgImage(const char *filename, int align = Center);

Description

Uses the image from the specified file or resource as the background image of the chart.

Arguments

ArgumentDefaultDescription
filename(Mandatory)The pathname of the image file or resource, which must be of PNG, JPG or GIF format. Please refer to Path Specification on how ChartDirector interprets pathnames.
alignCenterThe alignment of the background image relative to the chart. See Alignment Specification for supported alignment types.

Return Value

None