Graph - GraphType Property

GraphType sets the type of graph

Member of Graph (PRIM_GRPH)

Data Type - Enumeration


The GraphType property specifies the kind of grpah to be drawn.
Each graph type has its own specific settings. For an area graph use the AreaStyle property. For a bar graph, use use the BarStyle and so on.

Allowed Values

Enum ValueDescription
Area Area charts display the sum of plotted values as well as the relationship of the parts to the whole. The data points are joined by a line and the area between the line and the axes is filled in. The area can be divided into into smaller areas that show the proportional size of the items that make up the area. As an example, an area chart could be used to view the progress of sales figures over time together with the relative contributions of different departments to the overall figure.
Bar Bar charts show data as bars. They are used to illustrate comparisons among individual items. Bar charts can display one label column and multiple data columns.
Line Line graphs show data points joined by a line. Functionally they are similar to bar charts.
Pie Pie charts display the data from a single column as slices of a pie. The slices show the proportional size of the items to the whole. It is the only graph type that can show only a single data field. A pie chart could be used, for example, to show the percentage of total sales earned by individual departments.
Scatter Surface charts show the result of combining two data columns as a three dimensional surface. These charts are used to find optimum combinations of two sets of data.
Surface Scatter graphs display relationships between pairs of data columns. Columns with an odd numbered DisplayPosition is plotted on the X axis and columns with even numbered DisplayPosition are plotted on the Y axis as clusters of data. Scatter graphs are commonly used for scientific data, for example to compare predicted and actual values.


See also

All Component Classes

Technical Reference

Febuary 18 V14SP2