The background color of a graph in a DataWindow.
Graph controls
PowerBuilder dot notation:
dw_control.Object.graphname.BackColor
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. |
Select the graph control and set the value in the Properties view, General tab.
dw1.Object.graph_1.BackColor = 250
setting = dw1.Describe("graph_1.BackColor")
dw1.Modify("graph_1.BackColor=250")