PlotNullData

Description

Whether a continuous line is drawn between tics in a line graph when there is no data on the X and Y axes.

Applies to

Graph controls, Graph DataWindow objects

Syntax

PowerBuilder dot notation:

dw_control.Object.graphname.PlotNullData

Describe and Modify argument:

"graphname.PlotNullData { = ' value ' }"

Parameter

Description

graphname

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

value

A boolean number indicating whether a continuous line is drawn between tics in a line graph when there is no data.

Values are:

  • 0 – (False) The line is broken when there is no data.

  • 1 – (True) The line is continuous.

Usage


In the painter

Set the value in the Properties view, General tab, PlotNullData check box (available when a line graph type is selected).

Examples

Example 1

string setting

setting = dw1.Object.graph_1.PlotNullData

Example 2

dw1.Object.graph_1.PlotNullData = 1

Example 3

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

Example 4

dw1.Modify("graph_1.PlotNullData=1")