ChartDirector 5.1 (PHP Edition)
XYChart.addScatterLayer
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
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 | SquareShape | One of the predefined symbol constants to specify the symbol to use. (See Shape Specification for available built-in shapes.) |
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. -1 means using LineColor as the edge color. |
Return Value