ChartDirector 7.0 (Java Edition)

PlotArea.setBackground2


Usage

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

Description

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

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 plot area. See Alignment Specification for supported alignment types.

Return Value

None