SizeToDisplay

Description

Whether the graph should be sized automatically to the display area.

Applies to

Graph controls

Syntax

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:

  • 0 – False, do not adjust the size of the graph.

  • 1 – True, adjust the size of the graph.

Value can be a quoted DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties window, Appearance category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("graph_1.SizeToDisplay")

dw1.Modify("graph_1.SizeToDisplay=0")