[VB] | Public Sub setAltBgColor(horizontal As Boolean, color1 As Integer, color2 As Integer [, edgeColor As Integer ]) |
[C#] | public void setAltBgColor(bool horizontal, int color1, int color2 [, int edgeColor ]); |
ChartDirector 5.1 (.NET Edition)
PlotArea.setAltBgColor
Usage
[VB] | Public Sub setAltBgColor(horizontal As Boolean, color1 As Integer, color2 As Integer [, edgeColor As Integer ]) |
[C#] | public void setAltBgColor(bool horizontal, int color1, int color2 [, int edgeColor ]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
horizontal | (Mandatory) | true means to use horizontal bands. false means to use vertical bands. |
color1 | (Mandatory) | The first color to be used as the alternating background color. |
color2 | (Mandatory) | The second color to be used as the alternating background color. |
edgeColor | -1 | The border color of the plot area. -1 means to use the default, which is LineColor. However, if the axes are configured in 4 quadrant mode (see XYChart.setAxisAtOrigin), the default will change to Transparent. |
Return Value