BackColor

Description

The background color of a graph in a DataWindow.

Applies to

Graph controls

Syntax

Describe and Modify argument:

"graphname.BackColor { = long }"

Parameter

Description

graphname

The graph whose background color you want to get or set.

long

(exp) A long expression specifying the color (red, green, and blue values) to be used as the graph’s background color. Long can be a quoted DataWindow expression.

Usage


In the painter

Select the graph control and set the value in the Properties view, General tab.

Examples

Example 1

[Visual Basic]
Dim BColor As String
DW1.SetProperty("Graph1.BackColor", "250")
BColor = DW1.Describe("Graph1.BackColor")
DW1.Modify("Graph1.BackColor=250")

Example 2

[C#]
string BColor;
DW1.SetProperty("Graph1.BackColor", "250");
BColor = DW1.Describe("Graph1.BackColor");
DW1.Modify("Graph1.BackColor=250");