ChartDirector Ver 3.1 (PHP Edition Edition)
DataSet.setDataSymbol
Usage
Description
| Constant | Value | Symbol at 15 pixels | Symbol at 5 pixels |
|---|---|---|---|
| SquareSymbol | 1 | ![]() | |
| DiamondSymbol | 2 | ![]() | |
| TriangleSymbol | 3 | ![]() | |
| RightTriangleSymbol | 4 | ![]() | |
| LeftTriangleSymbol | 5 | ![]() | |
| InvertedTriangleSymbol | 6 | ![]() | |
| CircleSymbol | 7 | ![]() | |
| CrossSymbol | 8 | ![]() | |
| Cross2Symbol | 9 | ![]() | |
Arguments
| Argument | Default | Description |
|---|---|---|
| symbol | (Mandatory) | One of the pre-defined symbol constants (see above) to specify the symbol to use. |
| size | 5 | The width and height of the symbol in pixels. |
| fillColor | -1 | The color used to fill the symbol. -1 means the color of the data set will be used. |
| edgeColor | -1 | The edge color used to draw the edge of the symbol. -1 means the edge color of the data set will be used. |
| lineWidth | 1 | The line width used for drawing the symbols. |
Return Value