ChartDirector Ver 3.1 (PHP Edition Edition)
XYChart.addScatterLayer
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
xData | (Mandatory) | An array of numbers representing the x values of the data points. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareSymbol | One of the pre-defined symbol constants to specify the symbol to use. (See DataSet.setDataSymbol for a list of pre-defined symbols.) |
symbolSize | 5 | The width and height of the symbol in pixels. |
fillColor | -1 | The color used to fill the symbol. -1 means that the color is automatically selected from the palette. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. The default value of -1 means using LineColor as the edge color. |
Return Value