Whether the graph should be sized automatically to the display area.
Graph controls
PowerBuilder dot notation:
dw_control.Object.graphname.SizeToDisplay
Describe and Modify argument:
"graphname.SizeToDisplay { = ' value ' }"
Parameter |
Description |
---|---|
graphname |
The graph control in the DataWindow for which you want to get or set adjustability. |
value |
(exp) A boolean number specifying whether to adjust the size of the graph to the display. Values are:
Value can be a quoted DataWindow expression. |
Select the control and set the value in the Properties view, General tab, Size To Display option.
string setting
setting = dw1.Object.graph_1.SizeToDisplay
dw1.Object.graph_1.SizeToDisplay = 0
setting = dw1.Describe("graph_1.SizeToDisplay")
dw1.Modify("graph_1.SizeToDisplay=0")