ChartDirector Ver 3.1 (PHP Edition Edition)

PolarLayer.setDataSymbol


Usage

setDataSymbol(symbol[, size[, fillColor[, edgeColor[, lineWidth ]]]])

Description

Use one of the built-in symbols as the graphics symbol to plot the data points.

The built-in symbols are specified by using the following pre-defined constants as the symbol argument.

ConstantValueSymbol at 15 pixelsSymbol at 5 pixels
SquareSymbol1
DiamondSymbol2
TriangleSymbol3
RightTriangleSymbol4
LeftTriangleSymbol5
InvertedTriangleSymbol6
CircleSymbol7
CrossSymbol8
Cross2Symbol9

Arguments

ArgumentDefaultDescription
symbol(Mandatory)One of the pre-defined symbol constants (see above) to specify the symbol to use.
size7The width and height of the symbol in pixels.
fillColor-1The color used to fill the symbol. -1 means the color of the data set will be used.
edgeColor-1The edge color used to draw the edge of the symbol. -1 means the edge color of the data set will be used.
lineWidth1The line width used for drawing the symbols.

Return Value

None