GraphType

Description

The type of graph, such as bar, pie, column, and so on.

Applies to

Graph controls

Syntax

Describe and Modify argument:

"graphname.GraphType { = ' typeinteger ' }"

Parameter

Description

graphname

The graph control for which you want to get or change the type.

typeinteger

(exp) An integer identifying the type of graph in the DataWindow object. Typeinteger can be a quoted DataWindow expression.

Values are:

  • 1 – Area

  • 2 – Bar

  • 3 – Bar3D

  • 4 – Bar3DObj

  • 5 – BarStacked

  • 6 – BarStacked3DObj

  • 7 – Col

  • 8 – Col3D

  • 9 – Col3DObj

  • 10 – ColStacked

  • 11 – ColStacked3DObj

  • 12 – Line

  • 13 – Pie

  • 14 – Scatter

  • 15 – Area3D

  • 16 – Line3D

  • 17 – Pie3D

For graphs in PowerBuilder .NET only, values are:

  • 18 – Cylinder

  • 19 – CylinderBar

  • 20 – Bubble

  • 21 – Radar

  • 22 – Cone

  • 23 – Donut

  • 24 – Donut3D

  • 25 – Candlestick

Usage


In the painter

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

Examples

Example 1

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

dw1.Modify("graph_1.GraphType=17")