ChartDirector 7.0 (Java Edition)

BaseChart.setBgImage


Usage

public void setBgImage(String filename [, int align ])

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