[VB] | Public Sub setDataColor(dataColor As Integer [, edgeColor As Integer [, shadowColor As Integer [, shadowEdgeColor As Integer ]]]) |
[C#] | public void setDataColor(int dataColor [, int edgeColor [, int shadowColor [, int shadowEdgeColor ]]]); |
ChartDirector 5.1 (.NET Edition)
DataSet.setDataColor
Usage
[VB] | Public Sub setDataColor(dataColor As Integer [, edgeColor As Integer [, shadowColor As Integer [, shadowEdgeColor As Integer ]]]) |
[C#] | public void setDataColor(int dataColor [, int edgeColor [, int shadowColor [, int shadowEdgeColor ]]]); |
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