ChartDirector 7.0 (Python Edition)

DataSet.setDataSymbol2


Usage

setDataSymbol2(filename)

Description

Uses the image from the specified file or resource as the graphics symbol to plot the data points.

In the current version of ChartDirector, data symbols are supported only in LineLayer, SplineLayer, StepLineLayer and ScatterLayer. To use data symbols in other layer types, add a ScatterLayer on top of that layer.

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.

Return Value

None