GraphType

Applies to

Graph controls

Description

The GraphType property specifies the kind of graph: Area, Bar, Column, Line, Pie, or Scatter.

Usage

In a painter

To select the graph type:

  • Select the type of graph desired from the Graph Type drop-down list on the General page of the graph's Properties view.

The graph displayed in the control changes to show an example of the selected type.

The type of graph you select affects what properties are available on other tabs.

In scripts

The GraphType property takes a value of the grGraphType enumerated datatype. The following example defines the Graph gr_1 as a 3D pie chart:

gr_1.GraphType=Pie3D!