ChartDirector 5.1 (PHP Edition)
DataSet.setDataColor
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
dataColor | (Mandatory) | The main color used to draw the data set. |
edgeColor | -1 | The color used to draw the edges or borders of the data set, if any. -1 means that the edges are drawn using the default border color of the layer (defined using Layer.setBorderColor). |
shadowColor | -1 | The color to use to draw 3D shadows of the data set, if any. -1 means the shadow color will be a "darker" version of the dataColor, created by reducing the RGB intensities of the dataColor in half. |
shadowEdgeColor | -1 | The color to use to draw edges of the 3D shadows of the data set, if any. -1 means the shadow color will be a "darker" version of the edgeColor, created by by reducing the RGB intensities of the edgeColor in half. |
Return Value