Line Graphs

A line graph is a graph in which data is represented as a line, as a series of data points, or as data points that are connected by a line.

Standard use of a line graph

Use line graphs to show the following aspects of data:

Available varieties of line graphs

The following types of line graphs are available:

These types can also have the following axis arrangements:

The following table shows which of the axis arrangements are available for the different line graph types.

Single Y-Axis

Dual Y-Axis

Split Dual Y-Axis

Absolute: LINE_VERT_ABS

Absolute: LINE_VERT_ABS_2Y

Absolute: LINE_VERT_ABS_SPLIT2Y

Stacked: LINE_VERT_STACK

Stacked: LINE_VERT_STACK_2Y

Stacked: LINE_VERT_STACK_SPLIT2Y

Percentage: LINE_VERT_PERCENT

NA

NA

Graph properties for line graphs

The following properties of the Graph object affect line graphs:

Note: Do not set both MakerDisplayed and LineDataLineDisplayed to false. If you do, then the graph does not have any way to display data.

Data structure of a line graph

The following figure shows the data structure of an absolute line graph.

Sample line graph

The data structure for line graphs is as follows:

Data guidelines for line graphs

Line graph data has the following guidelines:

Handling Problems in Graph Data
Specifying Data for a Graph
Example: Setting JDBC Data on a Simple Graph
Example: Setting Data from a File on a Simple Graph