Spacing

Description

The gap between categories in a graph.

Applies to

Graph controls

Syntax

PowerBuilder dot notation:

dw_control.Object.graphname.Spacing

Describe and Modify argument:

"graphname.Spacing { = ' integer ' }"

Parameter

Description

graphname

The name of the graph control in the DataWindow for which you want to get or set the spacing.

integer

(exp) An integer specifying the gap between categories in the graph. You specify the value as a percentage of the width of the data marker. For example, in a bar graph, 100 is the width of one bar, 50 is half a bar, and so on. Integer can be a DataWindow expression.

Usage


In the painter

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

Examples

Example 1

string setting

setting = dw1.Object.graph_1.Spacing

dw1.Object.graph_1.Spacing = 120

Example 2

setting = dw1.Describe("graph_1.Spacing")

dw1.Modify("graph_1.Spacing=120")